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
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel