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 -- 9 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 -- 9 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 -- 7 months ago

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

4. anonymous -- 6 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 -- 6 months ago

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

6. anonymous -- 3 months ago

I really enjoy reading and also appreciate your work. PLease check link https://www.webstagramsite.com/ to look for instagram.

7. anonymous -- 2 months ago

Thank you i like this website its so cool... https://www.myeasymusic.ir/

8. Jose Saunders -- 6 weeks ago

I also wrote an article on a similar subject will find it at write what you think. stump grinding

9. pie charting nursing -- 5 weeks ago

A nursing capstone paper is a common assignment for students pursuing nursing programs at different levels. charting nursing

10. anonymous -- 5 weeks ago

Normally while I search the internet I try to look for web sites which provide good information and therefore I found this website. Often times that I have been to this particular web site I've took pleasure in the good content here. A great site and i'll be back once more for more good content… Franchise consultant

11. anonymous -- 4 weeks ago

Good morning! What type of music do you like to listen!? What about me, I like classic music, but my best friend like to listen heavy metal music and I am going to write an article about the impact of metal music on the human psyche by using this super online [url=https://www.masterpapers.com/]essay writing servicesurl. So, fellas, if you are interested, simply click on the weblink and buy papers.

12. anonymous -- 2 weeks ago

I invite you to the page where you can read with interesting information on similar topics. подаръци

13. anonymous -- 2 weeks ago

For many people this is important, so check out my pro боядисване на апартаменти софия

14. anonymous -- 2 weeks ago

This is very useful, although it will be important to help simply click that web page link: имоти банско

15. anonymous -- 2 weeks ago

So lot to occur over your amazing blog. Your blog procures me a fantastic transaction of enjoyable.. Salubrious lot beside the scene. чаши

16. anonymous -- 2 weeks ago

It is rather very good, nevertheless glance at the data with this handle. мебели софия

17. anonymous -- 2 weeks ago

On this subject internet page, you'll see my best information, be sure to look over this level of detail. хотели поморие

18. anonymous -- 2 weeks ago

The most interesting text on this interesting topic that can be found on the net ... принтери

19. anonymous -- 2 weeks ago

Find the best essays on is my friend's profile page. кола маска търговище

20. anonymous -- 2 weeks ago

I should say only that its awesome! The blog is informational and always produce amazing things. курсове по английски език варна

21. anonymous -- 2 weeks ago

I simply want to tell you that I am new to weblog and definitely liked this blog site. Very likely I’m going to bookmark your blog . You absolutely have wonderful stories. Cheers for sharing with us your blog. микропигментация София

22. anonymous -- 2 weeks ago

On this subject internet page, you'll see my best information, be sure to look over this level of detail. Жанина Борисова

23. anonymous -- 2 weeks ago

Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing. 온라인카지노

Add New Comment