Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo + FreeBSD + Grub2 [MBR]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
krax
n00b
n00b


Joined: 29 May 2011
Posts: 67
Location: Troy, MI

PostPosted: Tue Jan 14, 2014 5:54 am    Post subject: Gentoo + FreeBSD + Grub2 [MBR] Reply with quote

Hello;
I recently installed freebsd along side gentoo and I did the os-prober part of grub2 installation procedure but grub2 doesn't find freebsd.
the freebsd nested partition is setting at /dev/sda1 and contains freebsd-ufs and freebsd-swap partitions.
How could I tweak the grub2 on gentoo to add freebsd to the grub menu list.
Thanks
Back to top
View user's profile Send private message
nlsa8z6zoz7lyih3ap
Apprentice
Apprentice


Joined: 25 Sep 2007
Posts: 287
Location: Canada

PostPosted: Tue Jan 14, 2014 5:11 pm    Post subject: Reply with quote

I haven't used FreeBSD in years, but when I did, I installed my bootloader from BSD. At that time, my linux bootloader couldn't read FreeBSD partitions.
Perhaps this still is the case.
Back to top
View user's profile Send private message
krax
n00b
n00b


Joined: 29 May 2011
Posts: 67
Location: Troy, MI

PostPosted: Sat Jan 18, 2014 8:31 pm    Post subject: Reply with quote

So how should I do dual boot; the linux grub can't read the UFS partition slice correctly and BSD have no support for ext4
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Sat Jan 18, 2014 9:23 pm    Post subject: Reply with quote

http://en.wikipedia.org/wiki/LILO_%28boot_loader%29#lilo.conf

though i may be a bit biased about how absurdly sexy lilo is. wiki.gentoo.org lilo article doesn't cover this, could you please document on that if / when you test....

heh troy, im like 80 miles from you. /me waves @ neighbor
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
realnerd
n00b
n00b


Joined: 05 Jul 2013
Posts: 1

PostPosted: Sun Jan 19, 2014 9:46 am    Post subject: Reply with quote

This is what I have in my gentoo grub.cfg:

menuentry "FreeBSD 9.2" {
set root=(hd0,3)
chainloader +1
}

You should just adapt the partition number.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum