From: Fulvio Scapin <trantorvega@gmail.com>
To: grub-devel@gnu.org
Subject: Grub2 usb stick boot error
Date: Tue, 24 Jun 2008 00:05:23 +0200 [thread overview]
Message-ID: <48601E23.7040009@gmail.com> (raw)
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
next reply other threads:[~2008-06-23 22:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 22:05 Fulvio Scapin [this message]
2008-06-24 3:45 ` Grub2 usb stick boot error Bean
2008-06-24 20:37 ` Fulvio Scapin
2008-06-24 23:09 ` Fulvio Scapin
-- strict thread matches above, loose matches on Subject: below --
2008-06-24 6:53 trantorvega
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48601E23.7040009@gmail.com \
--to=trantorvega@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.