boot0 screen output with dual-boot of FreeBSD / WinXP
Daniel O'Connor
doconnor at gsoft.com.au
Thu Oct 16 20:55:25 PDT 2003
On Thursday 16 October 2003 23:41, John Reynolds wrote:
> After rebooting from there I see:
>
> F1 ??
> F2 FreeBSD
>
> at the prompt once the machine boots. My fuzzy memory seems to recall from
> years back that seeing ??'s was "bad" as it meant the boot mgr couldn't
> find out something it wanted. I chose both F1 and F2 in multiple boots and
> each OS boots fine and acts normal.
...
> So, it appears that partition type "7" just isn't a "known" type. Other
> partition types seem to just "map" to print "DOS" (or whatever else). I
> couldn't see where the "os_misc" string would be printed in the case of an
> error of any sort, so can I assume that all is well with this partition and
> dual boot combo and just ignore the '??'? Is it possible to add in another
> table entry for type 0x7? Is it advisable?
Basically, no. There is no room left in boot0 :(
I think you could do it by squeezing down some text strings, and removing
other [less common] entries though.
The attached diff is a quick and dirty change which should do it..
I booted my laptop with it so it shouldn't be _that_ broken, but please keep a
backup :)
to apply..
cd /usr/src/sys/
patch <~/winxp.diff
cd boot/i386/boot0
make
sudo make install
sudo boot0cfg -Bv /dev/xxxx
--
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 - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winxp.diff
Type: text/x-diff
Size: 639 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20031017/d3c90bc5/winxp.bin
More information about the freebsd-hackers
mailing list