[syslinux] Recovery console doesn't work in chain.c32 3.85 or3.86-pre1

Gert Hulselmans gerth at zytor.com
Thu Mar 11 03:05:25 PST 2010


Shao Miller wrote:
> Gert Hulselmans wrote:
>>
>> The Windows recovery console doesn't work with chain.c32 3.85 or
>> 3.86-pre1.
>>
>> COM32 chain.c32
>> APPEND cmldr=/cmldr
>>
>> ...
>>
>
> The patch is:
>
> LABEL cmdcons
>   COM32 chain.c32
>   APPEND hd0 1 cmldr=/cmldr
>
> If you don't specify a partition (which are counted from 1 onwards), you
> are somehow hoping to patch "cmdcons" into the MBR, versus the
> partition's boot-sector.
>
> - Shao Miller

Thanks.

I still think chain.c32 should be able to do a reverse partition lookup,
to determine from which partition it was booted.
This would be useful to boot ntldr, setupldr.bin, bootmgr, grldr, ... when
you want to boot it from the same partition as from which SYSLINUX is
booted, without specifying the partition explicitly to chain.c32.

Eventually only when a parameter is added like "bootpartition":
LABEL grub4dos
   COM32 chain.c32
   APPEND bootpartition file=/grldr

- Gert Hulselmans




More information about the Syslinux mailing list