How to boot FreeBSD and linux from FreeBSD MBR?

matt sendtomatt at gmail.com
Sat Oct 27 09:42:44 UTC 2012


On 10/26/12 22:14, Yuri wrote:
> When I installed ubuntu on another partition, it overwrote BSD MBR
> with grub one.
> Now grub boots ubuntu without even asking what to boot.
> When I tried to restore BSD MBR, BSD boots but linux doesn't. This is
> because there is no bootable PBR in linux partition.
> When I tried to install grub into PBR on its own partition, like
> someone online suggested, it refused with the message that this is
> dangerous, etc.
>
> So is there a way to boot both linux and BSD from BSD MBR (by pressing
> F2 or whatever)?
> Are there quick instructions anywhere?
> I just don't want grub to take over the boot process.
>
> Yuri
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at freebsd.org"
>
This means you have grub2. It is slow as molasses and has to be the mbr.
You could chainload freebsd's partition under a separate entry, like
Windows The partition bootcode for FreeBSD will boot it from there. You
can also boot loader or kernel directly from grub, your choice.

Matt


More information about the freebsd-hackers mailing list