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

Shao Miller Shao.Miller at yrdsb.edu.on.ca
Thu Mar 11 10:41:57 PST 2010


Gert Hulselmans wrote:
>
> ...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
>

Ok.  How about this patch[1]?  (Also attached.)  The option is "fs", 
meaning the "current" Syslinux booted-from disk and partition (if 
applicable).

boot: chain -?
...
boot: chain fs cmldr=/cmldr
-----
LABEL cmdcons
  COM32 chain.c32
  APPEND fs cmldr=/cmldr

- Shao Miller

[1] 
http://git.etherboot.org/?p=people/sha0/syslinux.git;a=commitdiff;h=bf3b87fac3978d82dba27319ac3650c442959168
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-chain.c32-Allow-chaining-the-current-Syslinux-parti.patch
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20100311/e1af464b/attachment.ksh>


More information about the Syslinux mailing list