From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKvV1-000366-IU for mharc-grub-devel@gnu.org; Fri, 01 Feb 2008 08:00:07 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKvUy-00033e-Rk for grub-devel@gnu.org; Fri, 01 Feb 2008 08:00:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKvUv-00030d-Hy for grub-devel@gnu.org; Fri, 01 Feb 2008 08:00:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKvUu-0002za-EV for grub-devel@gnu.org; Fri, 01 Feb 2008 08:00:00 -0500 Received: from smtp.prismnet.com ([209.198.128.91]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKvUu-00013n-0y for grub-devel@gnu.org; Fri, 01 Feb 2008 08:00:00 -0500 Received: from hrnowl.io.com (206-224-83-134-dialup.io.com [206.224.83.134]) by smtp.prismnet.com (8.14.1/8.14.1) with ESMTP id m11CxksV056006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 1 Feb 2008 06:59:55 -0600 (CST) (envelope-from pelliott@io.com) Received: from hrnowl.io.com (localhost [127.0.0.1]) by hrnowl.io.com (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id m11CxgOG007034 for ; Fri, 1 Feb 2008 06:59:42 -0600 Received: (from pelliott@localhost) by hrnowl.io.com (8.13.8/8.12.6/Submit) id m11CxebX007033 for grub-devel@gnu.org; Fri, 1 Feb 2008 06:59:40 -0600 Date: Fri, 1 Feb 2008 06:59:39 -0600 From: Paul Elliott To: The development of GRUB 2 Message-ID: <20080201125939.GA7004@io.com> References: <20080131160805.GA6114@io.com> <1201798681.14129.2.camel@dv> <20080201043402.GA5385@io.com> <1201841437.18433.70.camel@dv> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <1201841437.18433.70.camel@dv> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on smtp.prismnet.com X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) 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 13:00:06 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 31, 2008 at 11:50:37PM -0500, Pavel Roskin wrote: > On Thu, 2008-01-31 at 22:34 -0600, Paul Elliott wrote: >=20 > > Ok, but how do I say the same device as I am in now, but the > > 3rd partiton, rather than the first. > >=20 > > 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? >=20 > 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. >=20 As usb devices become more used this will be an important problem. For example, I want to create a usb flash drive for use in an installfest, for people with no CD or floppy. Partition 1 will have the kernel and initrd for the Fedora installation process. Partition 2 will have the same for Opensuse. Partiton 3 the same for Mandriva. Partiton 4 ubuntu. How do I write a menu.lst to boot these different kernels with different parameters, and partitions? I do not know which device the usbstick will be at boot time, because the target systems have different number of hard disks. As matters now stand, there is no way to do it, and you seem to be telling me the problem is not fixed with grub2! It is easy to think of many analogous problems, in the comercial world. --=20 Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117 --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFHoxe7iv9zpDRc3ZkRAom5AJ9ymy2pBL6eBcG9MBx5m07D/ZLQ8ACgpLvC 7tGnm0g4b73B1WROk5U2PhE= =NEb+ -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--