[syslinux] [PATCH] chain.c32: add support for loading GRUB stage2

Thomas Bächler thomas at archlinux.org
Tue Jun 8 15:30:06 PDT 2010


Am 09.06.2010 00:13, schrieb H. Peter Anvin:
>>> Without menu.lst, grub will just show a prompt. If I am right, it would
>>> be very useful to be able to APPEND a "root" so that a chainloaded grub
>>> can load a configuration file without user intervention.
>>
>> GRUB's stage2 doesn't have a command line itself, does it? That implies
>> APPEND is not the most obvious way to supply GRUB's stage2 with
>> additional parameters.
>>
> 
> No, the right way is to pass in the disk coordinates via the Multiboot
> field.  It requires partition-scanning code in mboot.c32 which I so far
> have avoided putting in, but I guess it's time.

We are talking about 2 different things here:

1) Paul was talking about the chain.c32 code to load grub-legacy's
stage2 (grub-legacy is not a multiboot image).
2) You are talking about mboot.c32, which one can use to load grub2.

In case 1), there is no multiboot field.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20100609/897df046/attachment.sig>


More information about the Syslinux mailing list