LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Booting Multiple Linux LiveCD's From USB (https://www.linuxquestions.org/questions/linux-newbie-8/booting-multiple-linux-livecds-from-usb-901291/)

A Future Pilot 09-05-2011 04:05 PM

Booting Multiple Linux LiveCD's From USB
 
OK, here's the problem:

I'm using the Ultimate Boot CD, and I've added a bunch of customized .iso's to it. Now the problem is I can boot into those .iso files fine, but most of them are mini-versions of linux that are designed to run off of a CD. The issue is, when they try to boot, they try to run off of the CD (Which obviously isn't there since they're on a USB drive) and then either freeze, or give an error, or don't work in some other way.

Is there any way to edit the .iso files to tell them they're booting off of a USB drive? I'm assuming there'd be something somewhere in the boot configuration files inside the .iso files to do this. Where would that be? I would think it'd be different for different ones, but are there some places that are standard for LiveCD's? And what would I have to change?

Thanks!!


EDIT: Just to make exactly what I'm asking clear...I know there's stuff all over the place on how to boot a .iso from USB. That's not the problem, I can already do that. What I'm wondering is how to make the OS stored in the .iso realize that it's booting from USB and not CD?

AwesomeMachine 09-05-2011 04:38 PM

After the image is loaded, the USB drive should be mounted as /mnt/sdax, where x is a small number.

Try:

Code:

ls /dev/sd*
look at the exact designation of the USB drive, say sdb4. Check where it's mounted
Code:

mount | grep sdb4
if it isn't mounted, mount it and mount rw:
Code:

mkdir /mnt/sdb4 && mount /dev/sdb4 /mnt/sdb4 && mount -remount,rw /mnt/sdb4
Now you should be able to write.

A Future Pilot 09-06-2011 11:00 AM

The problem is I'm booting from the USB drive. So the actual LiveCD is expecting to be booted off of a CD. I can't even get to a terminal, because the OS can't fully boot, because it's trying to read off of the CD. What tells the LiveCD that it's on a CD and how could I change it to tell it it's on a USB?

I've heard stuff about isolinux.cfg...is that it?

yancek 09-06-2011 04:13 PM

Are you using a USB hard drive or a flash drive?
Do you have just the iso files of each system on the drive?
Did you loop mount the iso image and then copy its files to the USB?
Which bootloader are you using to try to boot them and how are you doing it?
Which operating systems are you using?


All times are GMT -5. The time now is 10:42 PM.