From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KAuAQ-0005M2-03 for mharc-grub-devel@gnu.org; Mon, 23 Jun 2008 18:05:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAuAN-0005L8-CX for grub-devel@gnu.org; Mon, 23 Jun 2008 18:05:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAuAM-0005KY-6X for grub-devel@gnu.org; Mon, 23 Jun 2008 18:05:38 -0400 Received: from [199.232.76.173] (port=38538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAuAM-0005KQ-3J for grub-devel@gnu.org; Mon, 23 Jun 2008 18:05:38 -0400 Received: from mail10.copyleft.no ([195.159.105.140]:54713) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAuAL-0005Os-Fi for grub-devel@gnu.org; Mon, 23 Jun 2008 18:05:37 -0400 Received: from mail.mailgateway.no ([82.117.37.108]) by mail10.copyleft.no with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1KAuAI-000MZS-OD for grub-devel@gnu.org; Tue, 24 Jun 2008 00:05:34 +0200 Received: from host127-190-dynamic.8-87-r.retail.telecomitalia.it ([87.8.190.127] helo=[192.168.37.3]) by mail.mailgateway.no with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1KAuAI-000Bg2-Do for grub-devel@gnu.org; Tue, 24 Jun 2008 00:05:34 +0200 Message-ID: <48601E23.7040009@gmail.com> Date: Tue, 24 Jun 2008 00:05:23 +0200 From: Fulvio Scapin User-Agent: Thunderbird 2.0.0.14 (X11/20080619) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: Grub2 usb stick boot error 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: Mon, 23 Jun 2008 22:05:39 -0000 I am having a problem using Grub2 to boot some bootable partition stored on a usb stick. Basically I am trying to fit several distros, all fat partitions made bootable with syslinux, on a usb stick and use grub2 to select and boot one of them. I should say that I come across two distinct cases, one using a GPT label and a much worse one employing the usual dos label. First I tried the gpt label cause I didn't relish the idea of using extended partitions. On a 8GB stick I create a BIOS Boot Partition, marked it with parted, and grub embedded itself in it with no problem. Then a second partition containing the configuration of grub, and further on several partitions containing distros, all fat16 bootable thanks to syslinux. I discovered, to my surprise, that grub allows me to boot only the third and fouth partition, while anyone beyond the fourth gives me boot error. I even created a fifth partition containing the exact same files of the fourth, and while the fourth boots, the fifth still doesn't. Then, on another stick, a 4GB one, I tried with a dos label. This time, after countless tries to get grub installed, and having succeeded, I discover that I can't boot any partition, even when having just two partitions, one with the configuration of grub and the other a bootable fat16 fs with a distro. I tried Grub legacy and it works fine. I tried chainloading Grub2 from Grub Legacy, just to make an attempt, and still no luck booting from Grub2. I have to specify the with booting one of the volumes I mean chainloading syslinux on it, doing a "chainloader +1" on the volume. The Grub 2 console works fine (it's brilliant by the way) but I can't chainload anything (with the GPT restricted exception detailed above. ) I compiled and run grub2 (from cvs and from git) on a Gentoo system running on a Macbook, and tested the sticks on 2 common x86 machines and with qemu with the same results. I figuratively beating my head against the wall, so any help or comment would be greatly appreciated. P.S. I suppose I could just use Grub Legacy, but I just like Grub 2 immensely, so I'll keep that solution as a last resort, or maybe chainload Grub2 from Grub Legacy at least to use the shell. Thanks in advance, Fulvio Scapin