How To Repair The FreeBSD 7.0 Boot Loader← Back
I decided to install FreeBSD 7.0-RELEASE in a VMware VM tonight since it was just released, and while the installation went smoothly I soon discovered that leaving the MBR of a fresh VM untouched was the wrong thing to do. Obviously it needs something to kick it into action, so I had to download the FreeBSD 7.0 LiveFS CD, boot up, and run:
fdisk -B -b /mnt/boot/boot0 ad0
This assumes your primary boot drive and partition (ad0 and the root filesystem ‘/’ in my case) were mounted under /mnt.
Reboot and you should have a functioning FreeBSD system.