Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L1ejP-0004sR-4e for mharc-grub-devel@gnu.org; Sun, 16 Nov 2008 05:19:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1ejM-0004rt-P2 for grub-devel@gnu.org; Sun, 16 Nov 2008 05:19:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1ejK-0004qa-Qw for grub-devel@gnu.org; Sun, 16 Nov 2008 05:19:48 -0500 Received: from [199.232.76.173] (port=45428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1ejK-0004qP-GS for grub-devel@gnu.org; Sun, 16 Nov 2008 05:19:46 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:57474) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1ejK-0001u4-9y for grub-devel@gnu.org; Sun, 16 Nov 2008 05:19:46 -0500 Received: from [85.180.5.43] (e180005043.adsl.alicedsl.de [85.180.5.43]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1L1ej83nO2-0001dx; Sun, 16 Nov 2008 11:19:35 +0100 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: References: Content-Type: text/plain Date: Sun, 16 Nov 2008 11:19:18 +0100 Message-Id: <1226830759.3644.0.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/9ac/utLjqvJh8Qn2RCE9dB3na1ArnHRJnA+V ydpYWgLXJrI+m3Ov8lcwaKFs5dh0hL3ELgXQ7DJQU52Rh8hSL2 sj7T8XuI49LC/exd2Betqx56hFCtEsC X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Use of root LABEL=mylabel in menu.lst 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: Sun, 16 Nov 2008 10:19:49 -0000 Am Sonntag, den 16.11.2008, 07:16 +0000 schrieb Jonathan Ellis: > groot=LABEL=mylabel > root LABEL=mylabel > > and at boot grub gives > Error 11: Unrecognized device string > > This is rather odd because the following statements (from menu.lst) > work correctly > kopt=root=LABEL=ubuntu8-04 ro > kernel /boot/vmlinuz-2.6.24-20-generic > root=LABEL=ubuntu8-04 ro quiet splash Well groot () and root () are for grub itself whereas the root= is for the linux kernel > so I have had to change these to > groot=(hd0,3) > root (hd0,3) > > Is there any way I can make these work with labels instead of numbers? > I have attached an extract from menu.lst below and fstab below. Switch to grub2, it uses UUIDs for root () setting. -- Felix Zielcke