From: Aniruddha <mailing_list@orange.nl>
To: grub-devel@gnu.org
Subject: Re: Is it possble to use /dev/disk/by-id/ in grub.conf?
Date: Wed, 30 Jul 2008 21:36:58 +0200 [thread overview]
Message-ID: <1217446618.13410.22.camel@localhost> (raw)
In-Reply-To: <1217435737.27405.9.camel@dv>
On Wed, 2008-07-30 at 12:35 -0400, Pavel Roskin wrote:
> I believe disk IDs are not supported yet. If you describe your problem
> in more details, it may motivate somebody to add disk ID support. Or
> perhaps you are missing a simple solution possible with the current
> code.
Thanks for your quick response. The problem is that udev keeps changing my harddrive names
at each boot. Normally my root partition resides on /dev/sdc2. However with each reboot
this name changes (the last three boots it changed from /dev/sdb2 to /dev/sdf2 to /dev/sdc2).
I solved this partially by changing the /dev/sdc2 entry in fstab with a /dev/disk/by-id/my_device_id
entry. Unfortunately grub has still /dev/sdc2 configured as root partition. This means I have to guess every
boot which partition-name the root partition resides. I do this by entering devices names (after
the error message that grub couldn't find my root partition). I start with /dev/sda2 trying each letter
(sdb2, sdc2, sdd2) until I find the root partition.
In order to solve this problem I would like to set the /dev/disk/by-id/ parameter in my grub.conf.
I hope that explains the problem clearly. Thanks in advance!
Regards,
Aniruddha
next prev parent reply other threads:[~2008-07-30 17:37 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 [this message]
2008-07-30 18:00 ` Javier Martín
2008-07-30 20:16 ` Aniruddha
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=1217446618.13410.22.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.