From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 18:06:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5420616A4CE for ; Wed, 24 Dec 2003 18:06:10 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51A6A43D2F for ; Wed, 24 Dec 2003 18:06:07 -0800 (PST) (envelope-from judmarc@fastmail.fm) X-Sasl-enc: 3Q70D5xduqhqcVRIP3j2Ag 1072317963 Received: from mail.messagingengine.com (dialup-67.74.72.109.Dial1.Philadelphia1.Level3.net [67.74.72.109]) by mail.messagingengine.com (Postfix) with ESMTP id 461E848C82B; Wed, 24 Dec 2003 21:05:58 -0500 (EST) Date: Wed, 24 Dec 2003 21:05:58 -0500 To: "Jaroslaw Nozderko" , freebsd-questions@freebsd.org References: <1072140766.1057.20.camel@skorpion> <20031223005816.GA74913@seekingfire.com> <1072207474.1041.15.camel@skorpion> From: Jud Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1072207474.1041.15.camel@skorpion> User-Agent: Opera M2/7.50 (Win32, build 3501) Subject: Re: Dual-boot does not work with GRUB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2003 02:06:10 -0000 On 23 Dec 2003 20:24:34 +0100, Jaroslaw Nozderko wrote: > Hi Jud, Tillman, Bill, > >> On Mon, 22 Dec 2003 18:58:16 -0600, Tillman Hodgson >> 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