Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-23-2011, 09:40 AM
|
#1
|
LQ Newbie
Registered: Jun 2009
Location: Texas
Posts: 11
Rep:
|
If I dd copy a bootable usb drive to an iso will the iso be bootable?
So, heres my question...
If I dd copy a bootable usb drive to an iso will the iso be bootable?
I haven't tried it yet, but i'm going to. Heres the situation and tell me if I'm crazy.
I have several bootable CDs I use at work to do different things, so I went ahead and made a multi-boot usb stick with the isos on them and everything is golden. When i need something else, I am able to slap the ISO on the usb stick, edit the menu.lst and I'm good to go.
The problem is, for some of our equipment I have a bootable USB stick that I have to use. I tried copying the files on the bootable USB to my multi-boot usb and setup grub to boot it (which admittedly I'm no expert at), but have had no luck.
So now I'm thinking, I'll use dd to copy the bootable USB stick to an iso (using bs=2048) and then do my normal setup with an ISO and maybe it will work.
Please let me know if I'm crazy, I'm gonna try it this afternoon I think, so I will let you know what I find. Or, if anyone has tried this, are there any pitfalls I should know about?
Thanks for your insight.
|
|
|
03-23-2011, 09:57 AM
|
#2
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
My question is: Do you have a HOWTO available for what you did? That sounds like a great idea. Being able to have one bootable drive with Fedora, Ubuntu, Centos, RHEL, Suse, Kubuntu, et al would be wicked.
What is your process?
|
|
|
03-23-2011, 10:07 AM
|
#3
|
LQ Newbie
Registered: Jun 2009
Location: Texas
Posts: 11
Original Poster
Rep:
|
I used this guide... didn't use all of it, mostly the stuff about making the USB bootable, and putting the Ultimate Boot ISO on it (although I dont use that ISO, the same process seems to work for other bootable ISOs) Yeah, I think its either OSX or Windows Slanted, but I use windows for my desktop at work.
http://florian.freundt.org/blog/?p=161
|
|
1 members found this post helpful.
|
03-23-2011, 10:13 AM
|
#4
|
LQ Newbie
Registered: Mar 2011
Location: Italy
Distribution: Archlinux
Posts: 11
Rep:
|
if you dd a disk to an image, and the disk is bootable, then the image will be bootable (obviously, if you dd a cdrom do not try to burn the image onto a hard drive..)
EDIT: same thing with USB sticks, the image is bootable if the stick is bootable, maybe your grub commands are wrong.
Last edited by anon121; 03-23-2011 at 10:16 AM.
|
|
|
03-23-2011, 03:42 PM
|
#5
|
LQ Newbie
Registered: Jun 2009
Location: Texas
Posts: 11
Original Poster
Rep:
|
Okay so, just making a bootable ISO didn't exactly work in my case, but I did finally get it to work. Also I found that the instructions at http://florian.freundt.org/blog/?p=161 work great for some ISOs, not so great for others. For my bootable USB image to work on my multi-boot usb, I had to have both a plain copy of the bootable USB files, and the whole ISO. I also used the memdisk file from syslinux and my grub entry looked like this:
Code:
title BootableUSB
kernel /memdisk
initrd /BootableUSB.iso
boot
Yeah, it seems very hacky to have 2 copies of the bootable USB stick on the multi-boot USB stick, but its a funny USB stick to begin with so it doesn't surprise me. Its like it uses the image to boot, then reads the regular files off the USB stick. It does take a long time to load (i think its the time it takes to copy the 500MB iso to memory). This may not help anybody, but I thought I'd tell ya'll how I finally got it to work, cause I hate it when someone replies with "I got it working" and no details.
I tried to boot an Xubuntu Live CD iso the same way other isos are booted in the freundt.org instructions, but it didn't work (i got into a busybox shell). If you're interested in putting a "liveCD" version of Ubuntu (or Xubuntu or Kubuntu or etc...) on a USB stick, I found the section titled "Create Bootable USB Manually" at this link: https://help.ubuntu.com/community/In...n/FromUSBStick had all the info I needed to create a bootable Xubuntu part of my multiboot stick. (Amazingly fast boot times btw, I was shocked how quick it loaded the first time).
Anyways, I'm gonna mark this thread as solved, if anyone has any more insight into a better way of doing this, let me know.
|
|
|
03-23-2011, 04:46 PM
|
#6
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
|
|
|
All times are GMT -5. The time now is 04:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|