Am Donnerstag, den 07.01.2010, 23:27 -0600 schrieb Bruce Dubbs: > 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?
set root only supports plain GRUB devices. search --set sets $root (for GRUB, not for Linux) to the first device found with that UUID, LABEL or file. Depending on the other argument to search command. > Should 'set root' be renamed to 'set grubroot'? I think something > like > that would prevent some confusion. > > -- Bruce I don't get why there's a confusion at all. It should be clear that the value specified with the linux command is for it and not for GRUB. -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel