From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KOGEA-0003P3-9h for mharc-grub-devel@gnu.org; Wed, 30 Jul 2008 14:16:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOGE8-0003Ny-Iv for grub-devel@gnu.org; Wed, 30 Jul 2008 14:16:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOGE7-0003Mm-1l for grub-devel@gnu.org; Wed, 30 Jul 2008 14:16:44 -0400 Received: from [199.232.76.173] (port=59715 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOGE6-0003Mb-Tv for grub-devel@gnu.org; Wed, 30 Jul 2008 14:16:42 -0400 Received: from smtp-3.orange.nl ([193.252.22.243]:35749) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOGE6-0003Dg-Q4 for grub-devel@gnu.org; Wed, 30 Jul 2008 14:16:42 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6204.online.nl (SMTP Server) with ESMTP id C94FB1C00090 for ; Wed, 30 Jul 2008 20:16:41 +0200 (CEST) Received: from [192.168.2.173] (s5590cf7b.adsl.wanadoo.nl [85.144.207.123]) by mwinf6204.online.nl (SMTP Server) with ESMTP id 9BA6D1C0008F for ; Wed, 30 Jul 2008 20:16:41 +0200 (CEST) X-ME-UUID: 20080730181641637.9BA6D1C0008F@mwinf6204.online.nl From: Aniruddha To: The development of GRUB 2 In-Reply-To: References: <1217442556.13410.7.camel@localhost> <1217435737.27405.9.camel@dv> <1217446618.13410.22.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1 Date: Wed, 30 Jul 2008 22:16:42 +0200 Message-Id: <1217449002.13339.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Subject: Re: Is it possble to use /dev/disk/by-id/ in grub.conf? 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, 30 Jul 2008 18:16:44 -0000 On Wed, 2008-07-30 at 20:00 +0200, Javier Mart=EDn wrote: > If your problem is what device name to pass to the kernel command > line, you can use a line like: > linux /vmlinuz root=3DUUID=3Ddiskuuidhere > and the same with LABEL=3D if your initrd supports them (like Ubuntu's > default initrd or Gentoo's `genkernel' initrd). > If, on the other hand, your problem is what device to use in GRUB, I > think there is a `search' command you can investigate. >=20 If I understand you correctly I have to add the following line to my grub.conf: > title=3DGentoo Linux (2.6.25-gentoo-r6) > root (hd0,1) > kernel /boot/kernel-genkernel-x86-2.6.25-gentoo-r6 root=3D/dev/ram0 ini= t=3D/linuxrc ramdisk=3D8192 real_root=3DLABEL=3Dmy_label udev > genkernel --install --bootloader=3Dgrub --menuconfig --disklabel all Furthermore I have to build genkernel with the "--disklabel" option to ma= ke it work right? > genkernel --install --bootloader=3Dgrub --menuconfig --disklabel all Thanks, Aniruddha