Ultimate Boot CD
http://www.ultimatebootcd.com/forums/

Update chain.c32: Possible Windows booting bug solved
http://www.ultimatebootcd.com/forums/viewtopic.php?f=10&t=2506
Page 1 of 1

Author:  Icecube [ Sat Jun 19, 2010 9:51 am ]
Post subject:  Update chain.c32: Possible Windows booting bug solved

Chain.c32 has a bug that might affect Windows booting:
Quote:
chain.c32 sethidden option fix

Hidden sectors value was applied at the wrong offset.

http://git.kernel.org/?p=boot/syslinux/ ... e0c15ead03

I compiled chain.c32 with this patch:
http://ubcd.stopspazzing.com/downloads/ ... /chain.c32

Author:  naebeth [ Sun Jun 20, 2010 2:46 pm ]
Post subject:  Re: Update chain.c32: Possible Windows booting bug solved

So what sort of error does this get you around? To be perfectly honest with you I have no idea what chain.c32 (or any .c32 file) does =/

The only problems I've had with booting Windows "live" CDs is a corrupt NTLDR which I fixed by using the one from my XP rather than the extracted install disc when I built the ISO, and the current one I can't get around:
- UBCD4Win built with XP SP3
- ISO boots fine, all tools and the PE work fine
- I put UBCD4Win inside UBCD, add the correct boot code and build
- boot to UBCD4Win through UBCD, menu and all tools load fine but Windows won't
[EDIT]
when putting UBCD4Win inside UBCD, I do so in ISO format. I don't mind extracting it, but you have to do so to UBCD's root and I do mind that. Either it goes in the custom folder or I don't include it.
[/EDIT]

It gets to the loader bar and then BSoDs after that instead of doing the login process. I can't remember the error code but I've seen it loads in the forums so it must be a common problem. The only solution I can find is to put UBCD inside UBCD4Win, but all the tools I want/use are in UBCD rather than its Windows-based companion. In reality I'm only using it because it'll build from my SP3 disc when WinBuilder (title of window also says [080] if that is the version number) but I want a LiveCD version of XP in my UBCD so I have to use UBCD4Win.

Author:  Icecube [ Mon Jun 21, 2010 8:33 am ]
Post subject:  Re: Update chain.c32: Possible Windows booting bug solved

You can use chain.c32 to boot boot sectors (hard disk boot sectors), a MBR of a drive, a partition boot sector.
You can also use chain.c32 to boot the freedos kernel(kernel.sys), msdos kernel (io.sys), Windows (NTLDR, SETUPLDR.BIN and BOOTMGR), grub4dos (GRLDR). The later usage of booting those files is that you don't need the correct boot sector code to boot those tools. You can just boot those files directly, instead of letting the boot sector code of for example Windows, load NTLDR.

If you want to boot Windows based ISO's directly (grub4dos or MEMDISK mapping), you need to include a driver (WinVBlock or Firadisk), else you probably will get the "Stop 0x0000007B" error:
http://www.boot-land.net/forums/index.php?showforum=94

Author:  naebeth [ Mon Jun 21, 2010 8:39 am ]
Post subject:  Re: Update chain.c32: Possible Windows booting bug solved

Ah, okay. So when I tell Grub4Dos something like this:
Code:
map /ubcd/custom/AVGRescue.iso (hd32)
map --hook
chainloader (hd32)

It invokes chain.c32, which contains info on how to find, determine and call the boot sector of the particular image?

Icecube wrote:
If you want to boot Windows based ISO's directly (grub4dos or MEMDISK mapping), you need to include a driver (WinVBlock or Firadisk), else you probably will get the "Stop 0x0000007B" error:
http://www.boot-land.net/forums/index.php?showforum=94

Yeah, that's the error I get. I'll go look at that thread and have a go at including one of those drivers. Cheers!

Author:  Icecube [ Mon Jun 21, 2010 10:07 am ]
Post subject:  Re: Update chain.c32: Possible Windows booting bug solved

naebeth wrote:
Ah, okay. So when I tell Grub4Dos something like this:
Code:
map /ubcd/custom/AVGRescue.iso (hd32)
map --hook
chainloader (hd32)

It invokes chain.c32, which contains info on how to find, determine and call the boot sector of the particular image?

No.

See http://syslinux.zytor.com/wiki/index.ph ... /chain.c32 for some examples of using chain.c32.

Booting grldr, NTLDR, SETUPLDR.BIN and BOOTMGR via chain.c32
http://www.boot-land.net/forums/index.p ... entry72457
Booting the recovery console (2000/XP/2003) via chain.c32 (hard disk only):
http://www.boot-land.net/forums/index.p ... opic=10100

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/