How-to boot FreeBSD with Grub2 under Ubuntu 10.10

I recently upgrade to Ubuntu 10.10. Which also caused grub to be updated to version 1.98 (to be exactly {1.98+201000804-5ubuntu3), which used a different syntax to define partitions instead of numbers which where off by one, they now use msdosX style formatting.

My FreeBSD is located at /dev/sda3 on a good old MBR partition table and I want to use the good old FreeBSD boot loader as well (so chainloading is required). To activate within Ubuntu. Put the following contents in /etc/grub.d/40_custom:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "FreeBSD (on /dev/sda3)" {
        savedefault
        insmod chain
        set root='(hd0,msdos3)'
        chainloader +1
}

Note: My hd0 is /dev/sda under Linux and got named /dev/ad6 under FreeBSD
If you want to boot of a GPT partion use the following syntax

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "FreeBSD (on /dev/ad6p3)" {
        savedefault
        insmod ufs2
        set root='(hd0,gpt3)'
        kfreebsd /boot/loader
}

Update your grub and use should be done:
rick-eee$ sudo update-grub

Comments

1. anonymous -- 5 months ago

It’s not a coincidence that you are, once again, involved with someone that makes you feel perpetually suspicious. Either the [url=https://www.loveawake.com/free-online-dating/Germany/Brandenburg/city-of-Berlin.html]Berlin[/url] guy is doing something that warrants that suspicion or you’re so insecure that your boyfriend doesn’t tell you anything because he knows you’ll accuse him of being up to no good.

2. anonymous -- 5 months ago

To be perfectly honest, it sounds like once the adoration stopped, you went back to worrying. https://www.loveawake.com/free-online-dating/Germany/Brandenburg/city-of-Berlin.html

3. Hilary Brown -- 4 months ago

have you also tried | download tictactoe bsd version? Also will this still be compatible?

4. anonymous -- 3 months ago

Please guide me to boot Free BSD easily by the individuals and all students. All the steps have been taught and https://bestwritingsclues.com/reviews/rushmyessay-review/ is visited for the turns. All the engagements are filled for the flow of the BSD for the Free and all such forms or the installation of the programs.

5. anonymous -- 3 months ago

Thank you i like this website its so cool دانلود آهنگ آهنگ سامان جلیلی جنون

Add New Comment