From: James Collier <james.collier412@gmail.com>
To: Grub-devel@gnu.org
Subject: Overlaying default grub.cfg makes qemu "fat:" partition inaccessible
Date: Wed, 25 Mar 2009 09:12:45 +1100 [thread overview]
Message-ID: <1237932765.14567.19.camel@jcollier-work-laptop> (raw)
[-- 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 --]
next reply other threads:[~2009-03-24 22:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 22:12 James Collier [this message]
2009-03-25 4:01 ` Overlaying default grub.cfg makes qemu "fat:" partition inaccessible Pavel Roskin
2009-03-25 12:39 ` Neal H. Walfield
2009-03-25 17:26 ` Pavel Roskin
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=1237932765.14567.19.camel@jcollier-work-laptop \
--to=james.collier412@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.