boot0 vs XP
Daniel O'Connor
doconnor at gsoft.com.au
Thu May 31 04:34:32 UTC 2007
I recently reinstalled Windows XP on my laptop (I barely use it but
occasionally it comes in handy :) and when I did the install it made
the base drive E (no idea why, and I couldn't see how to change it).
Everything proceeds as usual and then I boot a CD to then jump start my
system and run boot0cfg to re-write the boot loader.
Alas the next time I boot Windows it logs me out straight after logging
in. I do some googling and find that it is most likely that the
signature bytes Windows uses to determine which drive is what have
changed and it has now made the drive C:. Hence the swapfile location
is now incorrect :(
I was wondering if it would be possible to modify boot0cfg (and boot0 I
guess) so that it avoids touching these bytes.
I found some details here ->
http://www.goodells.net/multiboot/partsigs.htm
Basically it would appear to be the 4 bytes just before the partition
table. I'm not sure how big boot0 is though :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070531/e3d6f798/attachment.pgp
More information about the freebsd-hackers
mailing list