Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N2z80-0002la-LM for mharc-grub-devel@gnu.org; Tue, 27 Oct 2009 23:23:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2z7y-0002l3-Vi for grub-devel@gnu.org; Tue, 27 Oct 2009 23:23:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2z7u-0002jw-1f for grub-devel@gnu.org; Tue, 27 Oct 2009 23:23:14 -0400 Received: from [199.232.76.173] (port=35148 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2z7t-0002jf-M9 for grub-devel@gnu.org; Tue, 27 Oct 2009 23:23:09 -0400 Received: from mta1.srv.hcvlny.cv.net ([167.206.4.196]:47742) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2z7t-0006q6-Cp for grub-devel@gnu.org; Tue, 27 Oct 2009 23:23:09 -0400 Received: from turki.gavron.org (ool-45704694.dyn.optonline.net [69.112.70.148]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KS700MK1G2K7AH0@mta1.srv.hcvlny.cv.net> for grub-devel@gnu.org; Tue, 27 Oct 2009 23:23:09 -0400 (EDT) Received: from gavron by turki.gavron.org with local (Exim 4.69) (envelope-from ) id 1N2z7s-0007vG-P8 for grub-devel@gnu.org; Tue, 27 Oct 2009 23:23:08 -0400 Date: Tue, 27 Oct 2009 23:23:08 -0400 From: Chris Jones To: grub-devel@gnu.org Mail-followup-to: grub-devel@gnu.org Message-id: <20091028032308.GC24128@turki.gavron.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Subject: os-prober incorrectly generates stanza - wrong root= device. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 03:23:15 -0000 While detecting other kernels, update-grub generates the following: menuentry "Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (on /dev/sda12)" { insmod ext2 set root=(hd0,12) search --no-floppy --fs-uuid --set 042b6b67-5464-426e-a60a-21b71dfbcb74 linux /boot/vmlinuz-2.6.24-etchnhalf.1-686 root=/dev/hda5 ro initrd /boot/initrd.img-2.6.24-etchnhalf.1-686 } menuentry "Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (single-user mode) (on /dev/sda12)" { insmod ext2 set root=(hd0,12) search --no-floppy --fs-uuid --set 042b6b67-5464-426e-a60a-21b71dfbcb74 linux /boot/vmlinuz-2.6.24-etchnhalf.1-686 root=/dev/hda5 ro single initrd /boot/initrd.img-2.6.24-etchnhalf.1-686 } /dev/sda12 is the correct partition, which is correctly reported in the menuentry and set root= statements, but not on the linux statement. The result, when trying to boot these entries, is that another system which has its /root & /root/boot on /dev/sda5 is booted instead. This happens with grub 1.97 as shipped by ubuntu 9.10. Not sure this qualifies as a bug, or just incorrect setup my end. Thanks, CJ