It is currently Wed Jul 30, 2014 9:13 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Update chain.c32: Possible Windows booting bug solved
PostPosted: Sat Jun 19, 2010 9:51 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
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

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject: Re: Update chain.c32: Possible Windows booting bug solved
PostPosted: Sun Jun 20, 2010 2:46 pm 
Offline

Joined: Mon May 31, 2010 4:35 pm
Posts: 7
Location: Lincolnshire, UK
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.

_________________
Some of my stuff - http://naebeth.atbhost.net/
The UBCD Wiki - http://wiki.ultimatebootcd.com/


Top
 Profile  
 
 Post subject: Re: Update chain.c32: Possible Windows booting bug solved
PostPosted: Mon Jun 21, 2010 8:33 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
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

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject: Re: Update chain.c32: Possible Windows booting bug solved
PostPosted: Mon Jun 21, 2010 8:39 am 
Offline

Joined: Mon May 31, 2010 4:35 pm
Posts: 7
Location: Lincolnshire, UK
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!

_________________
Some of my stuff - http://naebeth.atbhost.net/
The UBCD Wiki - http://wiki.ultimatebootcd.com/


Top
 Profile  
 
 Post subject: Re: Update chain.c32: Possible Windows booting bug solved
PostPosted: Mon Jun 21, 2010 10:07 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
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

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group