From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NTBgO-0007GM-K9 for mharc-grub-devel@gnu.org; Fri, 08 Jan 2010 05:03:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTBgJ-0007Eg-Th for grub-devel@gnu.org; Fri, 08 Jan 2010 05:02:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTBgE-0007CH-47 for grub-devel@gnu.org; Fri, 08 Jan 2010 05:02:58 -0500 Received: from [199.232.76.173] (port=58784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTBgD-0007C9-QI for grub-devel@gnu.org; Fri, 08 Jan 2010 05:02:53 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:56459) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NTBgC-0002uL-Us for grub-devel@gnu.org; Fri, 08 Jan 2010 05:02:53 -0500 Received: from [85.180.28.17] (e180028017.adsl.alicedsl.de [85.180.28.17]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MCMWT-1NbkOu1mcr-0098aj; Fri, 08 Jan 2010 11:02:49 +0100 From: Felix Zielcke To: The development of GNU GRUB In-Reply-To: <4B46C234.2010506@gmail.com> References: <20091207172522.GA31361@riva.ucam.org> <20091209214915.GF7093@thorin> <20091209230443.GH6439@riva.ucam.org> <20091210005527.GB15546@thorin> <20091210081252.GI6439@riva.ucam.org> <20091224211827.GH12122@thorin> <20091226132551.GA20730@thorin> <20100106160023.GS5847@riva.ucam.org> <20100107213010.GE26340@thorin> <4B465DBD.6010400@gmail.com> <20100107223309.GD5847@riva.ucam.org> <4B46C234.2010506@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 08 Jan 2010 11:02:48 +0100 Message-ID: <1262944968.2685.4.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.29.3.2 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19pRX65r741BmKV/ucYsxW1AUIRINWOgD2y19g Yr/9brLZWv1tRcuAwERrmQTnvKmw8GufvyboSvxqWdSIYbFuR0 n3NwO6Y+yRm66lJkylE3w== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [RFC] Dynamic device.map X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 10:03:00 -0000 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