All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Grub2 usb stick boot error
@ 2008-06-24  6:53 trantorvega
  0 siblings, 0 replies; 5+ messages in thread
From: trantorvega @ 2008-06-24  6:53 UTC (permalink / raw)
  To: grub-devel


-----Original Message-----
From: Bean <bean123ch@gmail.com>
Date: Tuesday, giu 24, 2008 5:46 am
Subject: Re: Grub2 usb stick boot error
To: "The development of GRUB 2" <grub-devel@gnu.org>Reply-To: The development of GRUB 2 <grub-devel@gnu.org>



>Hi,
>
>First, you can check the size of partition, for example, does the ones that doesn't boot cross any boundary, like 4G/2G ?
>
>Also, you mention it apply to qemu as well, how do you test it, can you produce a qemu image that illustrate the problem ?
>
>-- 
>Bean
>
>
I'll check and prepare a qemu image within the day.
Thanks





^ permalink raw reply	[flat|nested] 5+ messages in thread
* Grub2 usb stick boot error
@ 2008-06-23 22:05 Fulvio Scapin
  2008-06-24  3:45 ` Bean
  0 siblings, 1 reply; 5+ messages in thread
From: Fulvio Scapin @ 2008-06-23 22:05 UTC (permalink / raw)
  To: grub-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-24 23:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24  6:53 Grub2 usb stick boot error trantorvega
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23 22:05 Fulvio Scapin
2008-06-24  3:45 ` Bean
2008-06-24 20:37   ` Fulvio Scapin
2008-06-24 23:09     ` Fulvio Scapin

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.