[syslinux] Determine from which device syslinux booted from

Alexey Orishko alexey.orishko at gmail.com
Fri Sep 26 11:42:09 PDT 2014


On Fri, Sep 26, 2014 at 6:16 PM, Renato <renatoriolino at gmail.com> wrote:
>
> The problem is that sometimes I have another USB stick on the same computer
> wich has too a valid root device, but I don't want to boot from it, I want
> to boot from the root device of the USB stick used to boot.

Use GPT partition on USB stick and your problem is solved without need
to know the name of boot device.
All this comes to stating partuuid in linux kernel boot parameters in
syslinux config file.
By the way, you can get rid of initrd as well. All works fine on my
custom linux build.

Cheers,
Alexey


More information about the Syslinux mailing list