qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Autefage <899143@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows
Date: Sun, 04 Dec 2011 15:45:30 -0000	[thread overview]
Message-ID: <4EDB9629.9030704@labri.fr> (raw)
In-Reply-To: CAJSP0QV=eaLMP6CrszZJOOLDbbcCU3fUetVDRW24JuGNj2rY=w@mail.gmail.com

Ok thanks a lot :)

Vincent Autefage
Le 03/12/2011 19:45, Stefan Hajnoczi a écrit :
> 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
>

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/899143

Title:
  Raw img not recognized by Windows

Status in QEMU:
  New

Bug description:
  Hi,

  The installation process of Windows (XP/Vista/7) doesn’t seem to recognize a raw img generated by qemu-img.
  The installer does not see any hard drive...

  The problem exists only with a raw img but not with a vmdk for
  instance.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/899143/+subscriptions

  reply	other threads:[~2011-12-04 15:50 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
2011-12-04 15:45       ` Vincent Autefage [this message]
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=4EDB9629.9030704@labri.fr \
    --to=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).