From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 27 00:54:03 2010 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33DD01065697 for ; Fri, 27 Aug 2010 00:54:03 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id B54EB8FC1D for ; Fri, 27 Aug 2010 00:54:02 +0000 (UTC) Received: (qmail 836 invoked by uid 399); 27 Aug 2010 00:54:01 -0000 Received: from localhost (HELO ?192.168.0.142?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Aug 2010 00:54:01 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C770CA9.6040408@FreeBSD.org> Date: Thu, 26 Aug 2010 17:54:01 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Alex Goncharov References: <4C76FD1B.50804@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.2a1pre OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: Is there a boot manager that can handle this? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 00:54:03 -0000 On 8/26/2010 5:13 PM, Alex Goncharov wrote: > ,--- You/Doug (Thu, 26 Aug 2010 16:47:39 -0700) ----* > | Windows and the *1st* FreeBSD partition just fine, but if I try to boot > | the 2nd FreeBSD partition grub just boots the first one again. > > Are you using a chainloader? What you posted below seems like grub 1 syntax. The latest Ubuntu comes with grub 2. Here is what I have in /etc/grub.d/40_custom (after the required bits): menuentry "FreeBSD 9-Current amd64" { set root=(hd0,3) chainloader +1 } menuentry "FreeBSD 7-Stable i386" { set root=(hd0,3) chainloader +1 } > You should, in my experience; something like that in grub's menu.lst > or grub.cfg: > > ---------------------------------------- > title fbsd-b64 -- chainloader (hd0,2,a) > root (hd0,2,a) > makeactive > chainloader +1 > > title fbsd-b32 -- chainloader (hd0,3,a) > root (hd0,3,a) > makeactive > chainloader +1 > ---------------------------------------- > > -- Alex -- alex-goncharov@comcast.net -- >