[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Overlaying default grub.cfg makes qemu "fat:" partition inaccessible
From: |
James Collier |
Subject: |
Overlaying default grub.cfg makes qemu "fat:" partition inaccessible |
Date: |
Wed, 25 Mar 2009 09:12:45 +1100 |
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
signature.asc
Description: This is a digitally signed message part
- Overlaying default grub.cfg makes qemu "fat:" partition inaccessible,
James Collier <=