[syslinux] [PATCH] mboot: set boot device

Sebastian Herbszt herbszt at gmx.de
Sat Jul 10 03:29:55 PDT 2010


Miller, Shao wrote:
> Speaking of mbinfo.boot_device (some time ago, but it's relationship
> with "legacy GRUB"'s stage2's install_partition structure):
> 
> I see Sebastian's patch wasn't merged.  H. Peter had a concern over
> precision.
> 
> If some of chain.c32 gets librarized (such as the start in my
> com32lib_disk branch), we could potentially do the right thing for this
> assignment in mboot.c32, as Gert H. and Paul B. gave consideration to in
> chain.c32.

I think some testing is needed on how grub behaves depending on the boot medium.
Especially booting from cdrom and network are interesting. My patch assumed if it's
not a network boot the drive number without partition should be good enough.
Neither floppies nor cds support partitions AFAIK.

Sebastian




More information about the Syslinux mailing list