All of lore.kernel.org
 help / color / mirror / Atom feed
* Overlaying default grub.cfg makes qemu "fat:" partition inaccessible
@ 2009-03-24 22:12 James Collier
  2009-03-25  4:01 ` Pavel Roskin
  2009-03-25 12:39 ` Neal H. Walfield
  0 siblings, 2 replies; 4+ messages in thread
From: James Collier @ 2009-03-24 22:12 UTC (permalink / raw)
  To: Grub-devel

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]

Hi all,
I'm using GRUB2 from svn (r2039) with qemu.
Steps I take to reproduce:
1. create an overlay directory e.g. /grub2/overlay
2. populate the directory with
	overlay/boot
	overlay/boot/grub
	overlay/goot/grub/grub.cfg
Where grub.cfg contains "some-menuentry" for example I use:
menuentry "Viengoos" {
	multiboot /viengoos -D 3 -o serial
	module /hieronymus
}

3. run (option1): 
$ cd /grub2
$ grub-mkrescue --image-type=floppy --emulation=floppy \
--overlay=overlay  grub2-boot-floppy


or (option2): 
$ cd /grub2
$ grub-mkrescue --image-type=cdrom --overlay=overlay \ grub2-boot-cdrom

4. start qemu with:
$ cd /grub2
(option 1):
$ qemu --serial stdio -hda fat:kernel-dir -fda grub2-boot-floppy -boot a
or
(option 2):
$ qemu --serial stdio -hda fat:kernel-dir -fda grub2-boot-cdrom -boot d

In the case of option 1, grub2 boots straight to the menu as expected.
Typeing 'c' to get to the prompt then 'ls' at the prompt reveals only
the (memdisk) device.
It was expected that at least (hd0,1) for the -hda fat: partition would
be available

Option: following the above and typing 'ls' at the prompt reveals
(hd0) and (hd96) where (hd0,1) was also expected as above.

qemu version 0.9.1

Thanks,

James Collier

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2009-03-25 17:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 22:12 Overlaying default grub.cfg makes qemu "fat:" partition inaccessible James Collier
2009-03-25  4:01 ` Pavel Roskin
2009-03-25 12:39 ` Neal H. Walfield
2009-03-25 17:26   ` Pavel Roskin

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.