Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N35Fm-0006xL-PN for mharc-grub-devel@gnu.org; Wed, 28 Oct 2009 05:55:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N35Fk-0006wk-2r for grub-devel@gnu.org; Wed, 28 Oct 2009 05:55:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N35Fe-0006wG-F7 for grub-devel@gnu.org; Wed, 28 Oct 2009 05:55:38 -0400 Received: from [199.232.76.173] (port=46886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N35Fe-0006wD-B2 for grub-devel@gnu.org; Wed, 28 Oct 2009 05:55:34 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:64899) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N35Fd-0003lS-Kp for grub-devel@gnu.org; Wed, 28 Oct 2009 05:55:34 -0400 Received: from [85.180.49.145] (e180049145.adsl.alicedsl.de [85.180.49.145]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MMHYT-1N6e1H1HG1-008c39; Wed, 28 Oct 2009 10:55:30 +0100 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <20091028032308.GC24128@turki.gavron.org> References: <20091028032308.GC24128@turki.gavron.org> Content-Type: text/plain; charset="UTF-8" Date: Wed, 28 Oct 2009 10:55:29 +0100 Message-ID: <1256723729.3273.1.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/O8oxw5d1d4FNKnyf23rdI0x/wUi7qL2KNmJM GI1yyHpxy5/kcLvllvuRh4u0XlbYZdpZZs1P14QUhn21jDyWY/ v4Ms7+yIH3XkRy9jukni1G+TZaKd8W/ X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: 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 09:55:40 -0000 Am Dienstag, den 27.10.2009, 23:23 -0400 schrieb Chris Jones: > 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. > os-prober is a seperate package. It has nothing to do with us, except that we call it to generate menuentries, if it's avaible. It takes the root= value for the Linux kernel out of lilo.conf, menu.lst or grub.cfg depending what you have on that partition installed. So you have to change the bootloader configuration of your Debian etch. -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer