[syslinux] extlinux: usb for multiples machines

H. Peter Anvin hpa at zytor.com
Wed Dec 10 13:38:09 PST 2008


Eriberto wrote:
> Hi!
> 
> I installed Debian in a pendrive and I used extlinux. I need a boot
> for multiples machines. When I use the config file below, my pendrive
> works fine:
> 
> DEFAULT linux
> LABEL linux
> KERNEL ../vmlinuz
> APPEND ro root=/dev/sda1 initrd=../initrd
> 
> But I need a boot for any machine. Then, I tried it:
> 
> APPEND ro initrd=../initrd
> 
> but the boot stops after discover the correct location of the root
> filesystem (/dev/sdc1 etc...).
> 
> What is the solution?
> 

The solution is to mount the filesystem by UUID or LABEL instead of by
device name.  Most (although not all) distribution initrds support this
out of the box.

The initrd can also do custom searching, but that depends on the initrd.

	-hpa




More information about the Syslinux mailing list