Dual-boot does not work with GRUB

Jud judmarc at fastmail.fm
Wed Dec 24 18:06:10 PST 2003


On 23 Dec 2003 20:24:34 +0100, Jaroslaw Nozderko <jarek at eko.net.pl> wrote:

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

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


More information about the freebsd-questions mailing list