Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2003 21:05:58 -0500
From:      Jud <judmarc@fastmail.fm>
To:        "Jaroslaw Nozderko" <jarek@eko.net.pl>, freebsd-questions@freebsd.org
Subject:   Re: Dual-boot does not work with GRUB
Message-ID:  <opr0pr38ib0cf2rk@mail.messagingengine.com>
In-Reply-To: <1072207474.1041.15.camel@skorpion>
References:  <1072140766.1057.20.camel@skorpion> <20031223005816.GA74913@seekingfire.com> <opr0l44bv30cf2rk@mail.messagingengine.com> <1072207474.1041.15.camel@skorpion>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Dec 2003 20:24:34 +0100, Jaroslaw Nozderko <jarek@eko.net.pl> wrote:

> 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.

Because (hd0,1) is only an example.  For your setup on ad0s3, (hd0,2) is  
correct (I think, or should it be (hd0,3)?).

Jud



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