Dual-boot does not work with GRUB

Jaroslaw Nozderko jarek at eko.net.pl
Tue Dec 23 11:26:38 PST 2003


Hi Jud, Tillman, Bill,

> On Mon, 22 Dec 2003 18:58:16 -0600, Tillman Hodgson  
> <tillman at 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




More information about the freebsd-questions mailing list