All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aniruddha <mailing_list@orange.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Is it possble to use /dev/disk/by-id/ in grub.conf?
Date: Wed, 30 Jul 2008 22:16:42 +0200	[thread overview]
Message-ID: <1217449002.13339.7.camel@localhost> (raw)
In-Reply-To: <bda1cfca0807301100h160559acyd8b14111076a06f3@mail.gmail.com>


On Wed, 2008-07-30 at 20:00 +0200, Javier Martín wrote:

> If your problem is what device name to pass to the kernel command
> line, you can use a line like:
>     linux /vmlinuz root=UUID=diskuuidhere
> and the same with LABEL= 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.
> 

If I understand you correctly I have to add the following line to my
grub.conf:

> title=Gentoo Linux (2.6.25-gentoo-r6)
> root (hd0,1)
> kernel /boot/kernel-genkernel-x86-2.6.25-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=LABEL=my_label udev
> genkernel --install --bootloader=grub --menuconfig --disklabel all

Furthermore I have to build genkernel with the "--disklabel" option to make it work right?

> genkernel --install --bootloader=grub --menuconfig --disklabel all


Thanks,

Aniruddha





  reply	other threads:[~2008-07-30 18:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30 18:29 Is it possble to use /dev/disk/by-id/ in grub.conf? Aniruddha
2008-07-30 16:35 ` Pavel Roskin
2008-07-30 19:36   ` Aniruddha
2008-07-30 18:00     ` Javier Martín
2008-07-30 20:16       ` Aniruddha [this message]
2008-07-30 18:25         ` Javier Martín
2008-07-30 20:36           ` Aniruddha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1217449002.13339.7.camel@localhost \
    --to=mailing_list@orange.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.