From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Jk5N4-0002Vo-Vs for mharc-grub-devel@gnu.org; Thu, 10 Apr 2008 18:35:55 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jk5N1-0002TM-PH for grub-devel@gnu.org; Thu, 10 Apr 2008 18:35:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jk5My-0002Q1-Qj for grub-devel@gnu.org; Thu, 10 Apr 2008 18:35:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jk5My-0002PJ-2V; Thu, 10 Apr 2008 18:35:48 -0400 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1Jk5Mx-0002RJ-HG; Thu, 10 Apr 2008 18:35:47 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 10 Apr 2008 18:35:46 -0400 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id E442F619058; Thu, 10 Apr 2008 18:35:45 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <47FCCB45.5090702@gmail.com> References: <20080321163500.GA25127@thorin> <47FA64AF.1010501@gmail.com> <87skxwkppr.fsf@ossau.uklinux.net> <47FCCB45.5090702@gmail.com> Content-Type: text/plain Date: Thu, 10 Apr 2008 18:35:45 -0400 Message-Id: <1207866945.5378.7.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: summer-of-code@gnu.org, Neil Jerram Subject: Re: Some GRUB ideas X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 22:35:53 -0000 On Wed, 2008-04-09 at 09:57 -0400, komputes wrote: > You're probably right, although the focus of my question/feature request > is on the (hd0,0) syntax and not on the device file. I was thinking it > could prompt devices.map for the drive names. Grub can't use /dev/sda1 > style syntax, you are correct, and I can't think of a logical workaround > other than that. > > That being said, it would still be useful for the user to be able to see > what drive a grub has access to. Going back to the basic concept of the > request which was to simplify grub for the new user by displaying which > hard drives/partitions are available for grub to boot from (in (hd0,0) > syntax). This could help the user easily create a menu.lst from the grub > prompt/shell/menu. If we are would to do things easy for users, I'd go for labels. The "search" command can set variables to partitions with the given labels. And perhaps GRUB could be enhanced to support direct references to partitions by labels, e.g. (:fedora) Please note that (hd0) is BIOS specific. It's won't be available if the ata module is loaded. It won't be available on non-PC systems. Even on the same PC, when loading from a different device, the device numbers can shift, yet it would be desirable that a configuration file on the hard drive can still be used by GRUB loaded from a CD or a flash drive. -- Regards, Pavel Roskin