From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Jjanx-0006N8-Ah for mharc-grub-devel@gnu.org; Wed, 09 Apr 2008 09:57:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jjanw-0006LW-1t for grub-devel@gnu.org; Wed, 09 Apr 2008 09:57:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jjant-0006Ir-Ic for grub-devel@gnu.org; Wed, 09 Apr 2008 09:57:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jjant-0006Im-Fl for grub-devel@gnu.org; Wed, 09 Apr 2008 09:57:33 -0400 Received: from py-out-1112.google.com ([64.233.166.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jjant-00015E-3j for grub-devel@gnu.org; Wed, 09 Apr 2008 09:57:33 -0400 Received: by py-out-1112.google.com with SMTP id u52so2788258pyb.1 for ; Wed, 09 Apr 2008 06:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=tnni5EFhINgrxyqVE+/IXbSnsT4ATADYKqCRZR+Z7bo=; b=XLa3LWJzR+ongbBhGSmVxyLAOluUO7YrDL2dnQzbJ6zATP/JFzLCF4lo5LJQujoqXZNIpOGVma2kkj7QDismbdLmjiM3C7gtGIol9ibCm/5CVoCJ0J1RcNg/732DXvhFjgWwbsrV2oCb3hI1cQnIlZio31AHd6cgol0Tx4nBDuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ANfTsF61fYAAPy8qBYthGyF7upXhgUbyEhpkoCQ+D2/hYnVHb+NfsExSc3YFylPfWw+urTG0270nEUlaFNVRDJLPLB1BSlWaPUv3UDb/Yk3bZKqjCLv8c7miFwPrZEOGLvOpiGerV/ZUWFy4p6zjxAlVA+3t0pszKWVQjI7SvD4= Received: by 10.35.82.12 with SMTP id j12mr309300pyl.6.1207749449308; Wed, 09 Apr 2008 06:57:29 -0700 (PDT) Received: from ?192.168.1.156? ( [69.70.77.178]) by mx.google.com with ESMTPS id y67sm501773pyg.39.2008.04.09.06.57.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Apr 2008 06:57:27 -0700 (PDT) Message-ID: <47FCCB45.5090702@gmail.com> Date: Wed, 09 Apr 2008 09:57:25 -0400 From: komputes User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Neil Jerram References: <20080321163500.GA25127@thorin> <47FA64AF.1010501@gmail.com> <87skxwkppr.fsf@ossau.uklinux.net> In-Reply-To: <87skxwkppr.fsf@ossau.uklinux.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: The development of GRUB 2 , summer-of-code@gnu.org 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: Wed, 09 Apr 2008 13:57:36 -0000 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. -k Neil Jerram wrote: > komputes writes: > > >> $ grub --pitty-da-foo #this command doesn't exist (...yet) >> Checking disks... >> >> Mem Used >> (hd0) /dev/sda >> (hd0,0) /dev/sda1 50GB 25% >> (hd0,1) /dev/sda2 50GB 25% >> >> (hd1) /dev/sdb >> (hd1,0) /dev/sdb1 50GB 25% >> (hd1,1) /dev/sdb2 50GB 25% >> > > Just a thought: but if Grub could do that, couldn't it just accept the > "/dev/sda1"-style syntax everywhere? > > Regards, > Neil > > >