Problem with booting FreeBSD

Hi people, I'm new on this system. I installed FreeBSD on my SATA disk very well. I have all configured,but I added an IDE disk with Windows 7 no a partition, other hard disk. I ran boot0cfg -B ada0 and it shows two options:

Code:
F1 = ?
F5 = Win
F6 = PXE

Windows boots normally but FreeBSD does not. :( How can I make it boot again?

When I ran boot0cfg -B ada0, only one disk was connected, the SATA disk that contains FreeBSD.

Sorry for my bad English!
 
FreeBSD uses GPT partitioning by default. boot0 only works with MBR. Which did you choose when installing FreeBSD?

If it was the default GPT, it can be fixed by restoring the PMBR: gpart bootcode -b /boot/pmbr -i 1 ada0.

To multiboot, use your BIOS boot menu to choose a drive.
 
Really I don't remember what I chose. I think that I used the default, because I have reinstalled a lot of times to learn other things! I try gpart bootcode -b /boot/pmbr -i 1 ada0 and it tells me gpart -i is only valid with -p now?
 
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 and it tells me bootcode have written , but still:

Code:
F1 = ?
F5 = Drive 1
F6 = PXE
and when I press F1 only
Code:
 ##
appears.
 
If that menu is still appearing, the boot0 code has not been overwritten. Boot from the FreeBSD install disk, go into Shell mode, and do it again. After giving that command, type shutdown -r now and remove the install disk.
 
Thanks works! Now how I can make for dual boot with FreeBSD and Windows 7? If I have FreeBSD in SATA disk, and Windows 7 in the IDE disk, only can use the BIOS?
 
Back
Top