abc4 boot FreeBSD using Linux Grub - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old June 26th, 2012, 10:56
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 548
Thanks: 201
Thanked 4 Times in 4 Posts
Default boot FreeBSD using Linux Grub

Hi,

How to boot FreeBSD using Linux Grub2?

Last edited by DutchDaemon; June 26th, 2012 at 12:13.
Reply With Quote
  #2  
Old June 28th, 2012, 23:57
francis's Avatar
francis francis is offline
Junior Member
 
Join Date: Nov 2010
Posts: 90
Thanks: 6
Thanked 35 Times in 30 Posts
Default

Hi ccc! Problem of booting FreeBSD using GRUB is widely described on the internet. One of the interesting thread you can find here; Linux + FreeBSD + GRUB2 - it is a topic, which could help you with GRUB configuration. The most important thing is the fact, that this problem is Solved. Next - this is a FreeBSD mailing list containing the question about booting FreeBSD from GRUB - quite old, but as you can see, at the end of a post written by Olivier there is an interesting, example entry. And the second thread; Dual Booting Linux with FreeBSD 9.0 - Grub in MBR which also seems to be solved.

See also quite helpful thing, called Frequently Asked Questions for FreeBSD 7.X, 8.X, and 9.X with 9.12. How do I boot FreeBSD and Linux using GRUB?. There you will find many questions and answers on various interesting topics like e.g. mount a multi-session CD, File Systems and so on.

Configure Ubuntu Linux GRUB to load FreeBSD is a interesting text, where author wrote, that It is not that hard to configure grub to boot FreeBSD. General information about the booting process, boot sequence etc. - Dual and Multi Booting FreeBSD, Linux, and OpenBSD. Of course you can not forget about GNU GRUB Manual and eventually do some research on possible problems e.g. via Google etc. There are several possibilities.

Best regards!

Oh, one more thing ccc: I'm sorry that I have given only links to webpages, but since about one - one and a half - year FreeBSD is the only one system on a couple of my computers and - honestly - I did not use or configure GRUB through this period of time (opposed to Linux use, but also not very often) and I forgot many things.
__________________
Obscurity as the foundation of Security = Bad
Obscurity in addition to Security = Good
Reply With Quote
The Following User Says Thank You to francis For This Useful Post:
ccc (June 29th, 2012)
  #3  
Old June 30th, 2012, 18:40
chigurh chigurh is offline
Junior Member
 
Join Date: Sep 2011
Posts: 49
Thanks: 5
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by ccc View Post
Hi,

How to boot FreeBSD using Linux Grub2?
In your Linux distribution open /etc/grub.d/40_custom and add -

Code:
menuentry 'FreeBSD X.X {
    set root='(hdX,X)'
    chainloader +1
}
Run # update-grub It wont show you it detected UFS2/ZFS but in your grub2 menu you will find FreeBSD boot option.

You can install grub-legacy as well and make life easy. Grub2 is ugly.
Reply With Quote
The Following User Says Thank You to chigurh For This Useful Post:
ccc (July 1st, 2012)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[PC-BSD] dualboot configuration with linux (centOS)/grub legacy casualX Installing & Upgrading 1 April 19th, 2012 11:19
[Solved] Unable to add boot entry to Grub kuze Installing & Upgrading 2 August 21st, 2011 11:05
DUAL BOOTING LINUX & FreeBSD - How to restore grub if Bootmgr wipes it out gr1ml0ck Howtos & FAQs 7 July 17th, 2011 08:44
[Solved] grub, linux, xp, freebsd - multiboot problem alys Installing & Upgrading 12 June 11th, 2010 19:20
[Solved] Need entry to boot FreeBSD from grub dav Installing & Upgrading 2 March 31st, 2010 17:46


All times are GMT +1. The time now is 12:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0