From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 27 01:25:43 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 39C5A10656A6 for ; Fri, 27 Aug 2010 01:25:43 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id D87CB8FC16 for ; Fri, 27 Aug 2010 01:25:42 +0000 (UTC) Received: from omta08.westchester.pa.mail.comcast.net ([76.96.62.12]) by qmta09.westchester.pa.mail.comcast.net with comcast id zBTa1e0030Fqzac59DRjaS; Fri, 27 Aug 2010 01:25:43 +0000 Received: from hanssachs.home ([24.61.85.144]) by omta08.westchester.pa.mail.comcast.net with comcast id zDRi1e00536qgMk3UDRiEF; Fri, 27 Aug 2010 01:25:43 +0000 Received: from algo by hanssachs.home with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OonhN-0005kD-Be; Thu, 26 Aug 2010 21:25:41 -0400 Date: Thu, 26 Aug 2010 21:25:41 -0400 Message-Id: From: Alex Goncharov To: Doug Barton In-reply-to: <4C770F19.6090500@FreeBSD.org> (message from Doug Barton on Thu, 26 Aug 2010 18:04:25 -0700) References: <4C76FD1B.50804@FreeBSD.org> <4C770CA9.6040408@FreeBSD.org> <4C770F19.6090500@FreeBSD.org> Sender: Alex Goncharov Cc: freebsd-hackers@FreeBSD.org, alex-goncharov@comcast.net 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 Reply-To: Alex Goncharov 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 01:25:43 -0000 ,--- I/Alex (Thu, 26 Aug 2010 20:59:59 -0400) ----* | Aren't you pointing GRUB to the same location (the third partition on | hd0), in both entries? ,--- You/Doug (Thu, 26 Aug 2010 18:04:25 -0700) ----* | Ah, right, sorry. The bit I pasted was not the bit I actually used. :-) | I had changed the second one to hd0,4 in the running version but I didn't | back up that version of the file. I also forgot to mention that I had | found the ,a syntax while searching but that didn't help either. I just (a week ago) set up a dual-bootable laptop for my daughter (Debian 5.5 and FreeBSD 8.1), so my experience with GRUB 2 is very fresh and very positive. But that laptop is now 1000 miles away from me, at the college, and I can't take a look at the grub.cfg entries, so I am speaking from memory. I certainly didn't use the ,a syntax -- just the plain (hd0,3). I seem to remember though that I did use the "makeactive" in the menu entry for FreeBSD, like in my original reply (although that was taken from a GRUB 1 menu.lst elsewhere -- it is the "chainloader +1" that has been always critical): ,--- I/Alex (Thu, 26 Aug 2010 20:13:18 -0400) ----* | | title fbsd-b64 -- chainloader (hd0,2,a) | root (hd0,2,a) | makeactive | chainloader +1 I don't see "makeactive" in yours: ,--- You/Doug (Thu, 26 Aug 2010 17:54:01 -0700) ----* | | menuentry "FreeBSD 9-Current amd64" { | set root=(hd0,3) | chainloader +1 | } | menuentry "FreeBSD 7-Stable i386" { | set root=(hd0,3) | chainloader +1 | } | `---------------------------------------------------* And BTW, are you sure that you didn't forget to run update-grub2 and are looking at /boot/grub/grub.cfg, not at the /etc/grub entries? -- Alex -- alex-goncharov@comcast.net --