From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmEoZ-0007Kz-Pl for mharc-grub-devel@gnu.org; Tue, 24 Mar 2009 18:09:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmEoV-0007IA-Ik for grub-devel@gnu.org; Tue, 24 Mar 2009 18:09:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmEoQ-0007ES-1D for Grub-devel@gnu.org; Tue, 24 Mar 2009 18:09:39 -0400 Received: from [199.232.76.173] (port=59633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmEoP-0007EL-P9 for Grub-devel@gnu.org; Tue, 24 Mar 2009 18:09:33 -0400 Received: from ti-out-0910.google.com ([209.85.142.187]:25882) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmEoP-0006rv-5C for Grub-devel@gnu.org; Tue, 24 Mar 2009 18:09:33 -0400 Received: by ti-out-0910.google.com with SMTP id y8so1675592tia.10 for ; Tue, 24 Mar 2009 15:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer; bh=Y254riKlxRu7/Dfh+MvKL45ByGnoreyLee/6qWe8AyM=; b=bRCfesOQ0KastJH/wLeYfe9UMOJqhkBj3r/91zVsR5gmw42ZLJRF/DsLtvriu4BISn 8I3Uk36h7GUM0gD75Jtm3aavhHE38ERirFCFV4zDbG6IFDEx5XFkGQhOfpmgcPttc3G2 5bunj483rkFm/TLwzI64UVbWnxghvDXnVwDhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer; b=n1q+t92qrH3A8/8j7p9pXQZca9vNzD0Qwa2EBh9CrTHNFK3aIqWR4c1qJfqVCjIZq6 kbWqJk0zpoIpKZGlEiMsUWfXTMEyHNijxmLiKPwmPXSeggwQrgxp4NEGoanqkEQ1u29M MeN74ieJiRk9piwmFyOSlN4JCJ9mbiv29Pjak= Received: by 10.110.40.8 with SMTP id n8mr13630187tin.28.1237932570711; Tue, 24 Mar 2009 15:09:30 -0700 (PDT) Received: from ?118.138.209.127? (dyn-118-138-209-127.mannix.monash.edu.au [118.138.209.127]) by mx.google.com with ESMTPS id 25sm223166tif.32.2009.03.24.15.09.28 (version=SSLv3 cipher=RC4-MD5); Tue, 24 Mar 2009 15:09:29 -0700 (PDT) From: James Collier To: Grub-devel@gnu.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Q9jEpj4Px3o62nzRrYz6" Date: Wed, 25 Mar 2009 09:12:45 +1100 Message-Id: <1237932765.14567.19.camel@jcollier-work-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Subject: Overlaying default grub.cfg makes qemu "fat:" partition inaccessible X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 22:09:39 -0000 --=-Q9jEpj4Px3o62nzRrYz6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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):=20 $ cd /grub2 $ grub-mkrescue --image-type=3Dfloppy --emulation=3Dfloppy \ --overlay=3Doverlay grub2-boot-floppy or (option2):=20 $ cd /grub2 $ grub-mkrescue --image-type=3Dcdrom --overlay=3Doverlay \ 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 --=-Q9jEpj4Px3o62nzRrYz6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBJyVrdSpDebXGjXT8RAn55AKCdt+yumAmvyKeiWCZHcZbHXSbToACfX89W HuIKngTKZSeKTNFhwU6tSKo= =mH/M -----END PGP SIGNATURE----- --=-Q9jEpj4Px3o62nzRrYz6--