From: Stefan Hajnoczi <stefanha@gmail.com>
To: Bug 899143 <899143@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows
Date: Sat, 3 Dec 2011 18:45:31 +0000 [thread overview]
Message-ID: <CAJSP0QV=eaLMP6CrszZJOOLDbbcCU3fUetVDRW24JuGNj2rY=w@mail.gmail.com> (raw)
In-Reply-To: <4ED8E55C.2070201@labri.fr>
On Fri, Dec 2, 2011 at 2:45 PM, Vincent Autefage
<899143@bugs.launchpad.net> wrote:
> $ qemu-img create -f raw root.img 100GB
> $ mkntfs -F root.img
> $ qemu -name W -sdl -m 2048 -enable-kvm -localtime -k fr -hda root.img
> -cdrom windows7.iso -boot d -net nic,macaddr=a0:00:00:00:00:01 -net
> user,vlan=0
QEMU does recognize the raw image. You can check this by running
'info block' at the QEMU monitor (Ctrl-Alt-2) and you'll see ide-hd0
is the raw image file you specified. Press Ctrl-Alt-1 to get back to
the VM display.
The problem is that the Windows installer does not like the disk image
you have prepared. A normal harddisk has a master boot record but you
created a raw image without a master boot record. The Windows
installer is being picky/careful and not displaying this non-standard
disk you created.
Skip the mkntfs step and the installer works fine. There's no need to
create the file system because the installer will do it for you.
Stefan
next prev parent reply other threads:[~2011-12-03 18:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 13:00 [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows Vincent Autefage
2011-12-02 13:35 ` Stefan Hajnoczi
2011-12-02 14:45 ` Vincent Autefage
2011-12-03 18:45 ` Stefan Hajnoczi [this message]
2011-12-04 15:45 ` Vincent Autefage
2012-02-18 18:35 ` [Qemu-devel] [Bug 899143] " Stefan Weil
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='CAJSP0QV=eaLMP6CrszZJOOLDbbcCU3fUetVDRW24JuGNj2rY=w@mail.gmail.com' \
--to=stefanha@gmail.com \
--cc=899143@bugs.launchpad.net \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).