From owner-freebsd-stable@FreeBSD.ORG Sat Jul 21 18:59:19 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E22B2106566C; Sat, 21 Jul 2012 18:59:19 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 99FF98FC12; Sat, 21 Jul 2012 18:59:19 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 550C91E0010C; Sat, 21 Jul 2012 20:59:13 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q6LIwEF1004970; Sat, 21 Jul 2012 20:58:14 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q6LIwENs004969; Sat, 21 Jul 2012 20:58:14 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 21 Jul 2012 20:58:13 +0200 To: freebsd-stable@FreeBSD.org, freebsd-current@FreeBSD.org Message-ID: <20120721185813.GA4457@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: rick@lgarchitecture.com Subject: Fix for grub 2.00/bzr kfreebsd to boot 9.1 kernels X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 18:59:20 -0000 Hi! I'm in the process of testing 9.1 on the laptop where I use grub2 because I had to put bsd in an `extended' slice, and I found out grub2 won't boot the 9.1 kernel. Asked on #grub where phcoder found the fix after I made him a test iso using grub-mkrescue: http://paste.debian.net/180121/ Applied that to grub 2.00 from here: http://ftp.gnu.org/gnu/grub/grub-2.00.tar.xz (built on a Linux debian slice with checkinstall), and that got the 9.1 kernel booting. So maybe the sysutils/grub2 maintainer (Cc'd) wants to update the port to 2.00 and add the patch in files/? :) (It's still at 1.98 currently where the patch doesn't apply.) The kfreebsd way to boot this affects is the same as in this earlier post: http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-March/011828.html (i.e. this is not chainloading bsd's loader but grub loading the kernel and klds itself. I think this way to boot was originally added by the debian kfreebsd guys, hence the command kfreebsd...) HTH, Juergen