Skip site navigation (1)Skip section navigation (2)
Date:      23 Dec 2003 20:24:34 +0100
From:      Jaroslaw Nozderko <jarek@eko.net.pl>
To:        freebsd-questions@freebsd.org
Subject:   Re: Dual-boot does not work with GRUB
Message-ID:  <1072207474.1041.15.camel@skorpion>
In-Reply-To: <opr0l44bv30cf2rk@mail.messagingengine.com>
References:  <1072140766.1057.20.camel@skorpion> <20031223005816.GA74913@seekingfire.com> <opr0l44bv30cf2rk@mail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jud, Tillman, Bill,

> On Mon, 22 Dec 2003 18:58:16 -0600, Tillman Hodgson  
> <tillman@seekingfire.com> wrote:
> 
> > On Tue, Dec 23, 2003 at 01:52:46AM +0100, Jaroslaw Nozderko wrote:
> >> I've got the following error:
> >>
> >> Filesystem type unknown, partition type 0xa5
> >> Error 17: Cannot mount selected partition
> >>
> >> Does GRUB have some problems with FreeBSD partition ?
> >
> > I recently ran into the same problem - I found the solution in an
> > archived posting to the bug-grub@ mailing list (from Sergey Matveychuk
> > on Sep 25 2003, if you're interested).
> >
> > Try this:
> >
> >  rootnoverify (hd0,1)
> >  chainloader +1
> 
> Is your root partition UFS2?  GRUB does not understand UFS2 yet as far as  
> I know, so you may need to chainload as in the above example.
> 
> Jud

Yes, it's UFS2, so probably that was a reason.
rootnoverify (hd0,1) fails:

Error 13: Invalid or unsupported executable format

Fortunately,

rootnoverify (hd0,2)
chainloader +1

finally works ! Slices are:

swap     1 GB    ad0s3b
/home1   1 GB    ad0s3d
/       28 GB    ad0s3a

Why 2, not 1 ? I'm a little bit confused.

Anyway, thanks a lot for your help.

Regards,
Jarek




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