From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKzdw-0005L7-AQ for mharc-grub-devel@gnu.org; Fri, 01 Feb 2008 12:25:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKzdu-0005Kq-GO for grub-devel@gnu.org; Fri, 01 Feb 2008 12:25:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKzdt-0005KY-1F for grub-devel@gnu.org; Fri, 01 Feb 2008 12:25:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKzds-0005KU-T4 for grub-devel@gnu.org; Fri, 01 Feb 2008 12:25:32 -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 1JKzds-0002FU-Jt for grub-devel@gnu.org; Fri, 01 Feb 2008 12:25:32 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 01 Feb 2008 12:25:31 -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 7472D61905A for ; Fri, 1 Feb 2008 12:25:31 -0500 (EST) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20080201125939.GA7004@io.com> References: <20080131160805.GA6114@io.com> <1201798681.14129.2.camel@dv> <20080201043402.GA5385@io.com> <1201841437.18433.70.camel@dv> <20080201125939.GA7004@io.com> Content-Type: text/plain Date: Fri, 01 Feb 2008 12:25:30 -0500 Message-Id: <1201886730.7586.22.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 17:25:35 -0000 On Fri, 2008-02-01 at 06:59 -0600, Paul Elliott wrote: > As usb devices become more used this will be an important problem. Are you sure that it will be seen as a separate device? > For example, I want to create a usb flash drive for use in an > installfest, for people with no CD or floppy. That would be great. > 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. Would not the boot device be hd0? > 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! Even if I add boot_device now, there is an issue with the variable expansion, to that ($boot_device,3) would not expand to a valid device name. One possible approach would be to use LVM (Logical Volume Manager) - it's supported by grub2. You could install grub on a small boot partition and allocate the rest to as an LVM partition, that would be split into volumes. Then you could refer to the volumes by name. > It is easy to think of many analogous problems, in the comercial world. I agree. -- Regards, Pavel Roskin