1

Topic: Alternate booting directory

Hello!

I'm installing 3 different live distros on my USB stick.

I'd like to have the distro's files in 3 different dirs - one for distro - and the boot files (for syslinux) in a fourth dir named boot.

While I have no problems doing this with the first two distros, I can't make GParted live boot properly, probably because it fails to load the filesystem.squashfs file.

In the other's distros syslinux.cfg files I used the subdir parameter in the APPEND section of the config file, but this seems not to work with GParted Live.

Any tips?
Thanks

2

Re: Alternate booting directory

This depends on the boot loader you use. For syslinux, you can refer to the file /syslinux/syslinux.cfg in the gparted-live-0.3.7-7.zip file. They are:
-----------------------------------
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    noswap noprompt vga=788
ip=frommedia
-----------------------------------

3

Re: Alternate booting directory

My /syslinux/syslinux.cfg file has the following main entry:

KERNEL /gparted/vmlinuz1
APPEND initrd=/gparted/initrd1.img boot=live union=aufs noswap noprompt vga=788 ip=frommedia subdir=gparted

Notice the subdir=gparted parameter indicating that the live distro files are in the /gparted subdirectory of the usb stick.

While a similar syntax works for other live distros, it doesn't for gparted live; maybe its initrd doesn't consider it.
I get these errors:
http://img508.imageshack.us/img508/4096/immag001hb8.th.jpg
http://img88.imageshack.us/img88/3375/immag000ta4.th.jpg

4

Re: Alternate booting directory

Hi,
you use folder "gparted" to store kernel, initrd and squashfile. The default name for this folder is defined as "live".  From newer distros of "GParted" I know, that there is a parameter "live-media-path".
Try "live-media-path=gparted" as parameter in the syslinux.cfg "APPEND"-Line.

Good luck
cmdr

5

Re: Alternate booting directory

cmdr wrote:

you use folder "gparted" to store kernel, initrd and squashfile. The default name for this folder is defined as "live".  From newer distros of "GParted" I know, that there is a parameter "live-media-path".
Try "live-media-path=gparted" as parameter in the syslinux.cfg "APPEND"-Line.

Great, it works!!!

Thank you very much for your help smile

Alex