[syslinux] [PATCH] chain.c32: add support for booting the Recovery Console of Windows NT/2K/XP
H. Peter Anvin
hpa at zytor.com
Mon Dec 28 15:04:11 PST 2009
On 12/28/2009 01:42 PM, Kim Mik wrote:
> The following patch for chain.c32 adds support to boot the Recovery Console of Windows NT/2K/XP.
> Normally when you want to boot the recovery console, you need to patch "cmdcons\0" into the
> bootsectorof the partition (8 bytes starting at 0x3 (4th byte)).
>
> We can do this patching in memory:
> strcpy((char *) 0x7c03, "cmdcons");
>
> To boot the recovery console with chain.c32:
> chain.c32 cmldr=/cmldr
>
> - Gert Hulselmans
Hi Gert,
Could you do me a favor and make the following changes to your patch
submissions:
a) please do the diff from one level above the build root, and don't
change the name of the target file, so you end up with something looking
like:
--- syslinux/com32/modules/chain.c.textmode 2009-12-28
21:32:17.658783777 +0100
+++ syslinux/com32/modules/chain.c 2009-12-28 22:23:15.118787984 +0100
b) Please add a line to the text:
Signed-off-by: Gert Hulselmans <kimmik999999 at yahoo.co.uk>
Both of these will make my life a little easier.
Thanks,
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Syslinux
mailing list