Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 22:48:36 +0100
From:      Mike Clarke <jmc-freebsd@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD, Ubuntu and Win XP on one system
Message-ID:  <200808112248.36999.jmc-freebsd@milibyte.co.uk>
In-Reply-To: <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com>
References:  <35F6662A46BD4D189F961D48D051FDDC@jarasoft.net> <18da510b0808111258p3192a1b6i5720bfa8ad25d9ba@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 11 August 2008, Bruno Schmitt wrote:

> Ubuntu uses GRUB boot manager and as far as I remember it won't
> recognize FreeBSD partition out of the box, so you will have to add
> some lines to /boot/grub/menu.lst
>
> # For booting FreeBSD
> title =A0FreeBSD 5.2
> root =A0 (hd0,a)
> chainloader +1
>
> where "(hd0,a)" reflects the position of the FreeBSD primary
> partition.

Grub does recognise FreeBSD partitions so you can use either the=20
chainloader command or point grub directly to /boot/loader, though I=20
can't speak for the Ubuntu version. Here's the menu file for my box=20
with FreeBSD 6.3, FreeBSD 7.0 and Windoze:

default		0
timeout		3
hiddenmenu
color white/blue yellow/blue

title  FreeBSD 6.3
root   (hd0,0,a)
kernel /boot/loader

title  FreeBSD 7.0
root   (hd0,1,a)
kernel /boot/loader

title		MS Windows
root		(hd0,3)
makeactive
chainloader	+1

title Floppy
root (fd0)
chainloader +1


=2D-=20
Mike Clarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808112248.36999.jmc-freebsd>