From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKnrO-0001Fb-V1 for mharc-grub-devel@gnu.org; Thu, 31 Jan 2008 23:50:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKnrO-0001FW-0n for grub-devel@gnu.org; Thu, 31 Jan 2008 23:50:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKnrM-0001FK-0E for grub-devel@gnu.org; Thu, 31 Jan 2008 23:50:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKnrL-0001FH-Sg for grub-devel@gnu.org; Thu, 31 Jan 2008 23:50:39 -0500 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 1JKnrL-0000oA-Fq for grub-devel@gnu.org; Thu, 31 Jan 2008 23:50:39 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 31 Jan 2008 23:50:38 -0500 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 47F7E619055 for ; Thu, 31 Jan 2008 23:50:38 -0500 (EST) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20080201043402.GA5385@io.com> References: <20080131160805.GA6114@io.com> <1201798681.14129.2.camel@dv> <20080201043402.GA5385@io.com> Content-Type: text/plain Date: Thu, 31 Jan 2008 23:50:37 -0500 Message-Id: <1201841437.18433.70.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-1.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Does grub2 solve this problem I am having with grub1? RE: usbsticks. 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: Fri, 01 Feb 2008 04:50:42 -0000 On Thu, 2008-01-31 at 22:34 -0600, Paul Elliott wrote: > Ok, but how do I say the same device as I am in now, but the > 3rd partiton, rather than the first. > > How do I say (hdX,3) where X in the device I am in now? And > X may vary at boot time depending on the number of hard disks > on the target system? I wish I knew the answer. There is some undocumented scripting functionality, but it doesn't appear to be capable of that yet. Perhaps there should be a "boot_device" variable for that purpose. -- Regards, Pavel Roskin