grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Dynamic device.map


From: Bruce Dubbs
Subject: Re: [RFC] Dynamic device.map
Date: Thu, 07 Jan 2010 23:27:16 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11

Colin Watson wrote:
On Thu, Jan 07, 2010 at 04:18:37PM -0600, Bruce Dubbs wrote:
Robert Millan wrote:
On Wed, Jan 06, 2010 at 04:00:23PM +0000, Colin Watson wrote:
Just leave it with (/dev/foo).
You mean literally with the parentheses? I don't understand, since /dev/
names will be unintelligible to GRUB when running outside an operating
system.
Yes.  This just means we'd have "set root=(/dev/foo)" statements in grub.cfg,
but those are just meant as a backward compatibility hack for pre-UUID GRUB
installs.
Are you are implying that UUID will be the only way? I don't use initrd's on my systems so I need root=(hd0,x) or root=(/dev/foo).
AFAIK initrd is the only way to load with UUIDs.

I think you're mixing up two different things. There are two 'root'
variables involved:

  1) GRUB's 'root' variable, its base for filesystem operations
  2) The root= parameter passed to the Linux kernel, which identifies
     the desired root filesystem

Robert is talking about 1), but whether you use an initrd/initramfs is
only relevant to 2).

OK, I didn't realize set root was capable of using UUIDs. I did know that the two root entries were different. I got that mixed up with the search command combined with the root=UUID=... which I think needs initrd.

Do I have it right now?

Should 'set root' be renamed to 'set grubroot'? I think something like that would prevent some confusion.

  -- Bruce







reply via email to

[Prev in Thread] Current Thread [Next in Thread]