[syslinux] [PATCH] mboot: set boot device

H. Peter Anvin hpa at zytor.com
Sat Jul 10 11:53:55 PDT 2010


On 07/10/2010 03:29 AM, Sebastian Herbszt wrote:
> 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.
>

In practice they don't, that's right, but the hard disk case is 
important, of course.

	-hpa




More information about the Syslinux mailing list