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
Index: boot/i386/boot0/boot0.s
===================================================================
RCS file: /usr/CVS-Repository/src/sys/boot/i386/boot0/boot0.s,v
retrieving revision 1.14.2.6
diff -u -r1.14.2.6 boot0.s
--- boot/i386/boot0/boot0.s	19 Dec 2000 00:32:19 -0000	1.14.2.6
+++ boot/i386/boot0/boot0.s	17 Oct 2003 03:46:19 -0000
@@ -364,7 +364,7 @@
 #
 # These values indicate bootable types we know the names of
 #
-		.byte 0x1, 0x4, 0x6, 0xb, 0xc, 0xe, 0x63, 0x83
+		.byte 0x1, 0x6, 0x7, 0xb, 0xc, 0xe, 0x63, 0x83
 		.byte 0x9f, 0xa5, 0xa6, 0xa9
 #
 # These are offsets that match the known names above and point to the strings
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to