Bootloader/Replace GRUB

Jeff Tipton jeff.t at
Mon May 13 17:00:26 UTC 2013

On 05/13/2013 19:41, Louis Ciotti wrote:
> Hello,
> I replaced a Linux partition on my laptop with FreeBSD.  Now it will not
> but giving me an GRUB error.  I assume I have to remove/replace GRUB, as I
> will want to dual boot this with a windows partition.
> So being the FreeBSD newbie that I am I am stumped on what to do to correct
> this.
> Thanks,
> Lou
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

If it's an MBR partition, you can boot from a live CD (or installation 
CD and choose "Live CD"), log in as root and:

/sbin/gpart bootcode -b /boot/boot0 ada0

where ada0 is the HDD device. (Check gpart man page for more examples 
and parameters)

This will create a simple boot selector where you can choose between 
Windows/FreeBSD. There's also grub and grub2 in the ports but I've not 


More information about the freebsd-questions mailing list