Beautiful! It all worked perfectly! Now I have bootmgr offering to boot Windows or FreeBSD with the F keys and defaulting on FreeBSD after 40 ticks (a little more than 2 seconds)
Here's what I did:
First, if you left your MBR untouched during FreeBSD install and now have a simple MBR booting into FreeBSD, you need to get the GParted Live CD, make one, and boot it. Then, find your Windows Vista slice, right click it, click "Manage Flags" or similar, and select the checkbox "boot". Click OK and it should be good. Reboot, and Windows Vista should come up nice and happy. Log in as the administrator and run cmd.exe as Administrator (by searching cmd in the start menu, then right clicking it and clicking "Run as Administrator").
Run the following commands:
Code:
bcdedit/set {bootmgr} device boot
bcdedit/set {default} device boot
bcdedit/set {default} osdevice boot
Notice that I changed blstuart's "osdev" to "osdevice". This is how it worked on my system.
Then, reboot with the GParted Live CD again, and mark the FreeBSD slice with the boot flag. Reboot (the disc will come out), and you should boot into FreeBSD. Now, log in as root and run the command to install boot0. This is the command I ran, but please check the boot0cfg man page to set the options to your liking.
[cmd=]boot0cfg -Bv -s 3 -t 40 -m 6 ad4[/cmd]
boot0cfg -Bv installs the bootloader. I wanted slice 3 (my FreeBSD slice) to boot as the default, so I put -s 3. -t 40 sets the delay to 40 ticks (one second is about 18.2 ticks), and -m 6 only makes slices 2 and 3 active (I had to do some googling on how this worked. See
http://www.mail-archive.com/freebsd-questions@freebsd.org/msg223349.html). ad4 is
my disk's name, so substitute that with your disk.
That should complete in about a tenth of a second.
Reboot. You should now have a very plain menu that looks something (maybe not exactly) like:
Code:
F2: Win
F3: FreeBSD
F6: PX6 [i]or something like that[/i]
Enjoy!
Should I post something like this in the HOWTO/FAQ section of the forums? I've been searching for this answer for a while and it may help someone else.