[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows |
Date: |
Sat, 3 Dec 2011 18:45:31 +0000 |
On Fri, Dec 2, 2011 at 2:45 PM, Vincent Autefage
<address@hidden> 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
- [Qemu-devel] [PATCH v3 0/9] various arm fixes, Mark Langsdorf, 2011/12/27
- [Qemu-devel] [PATCH v3 3/9] arm: add dummy v7 cp15 config_base_register, Mark Langsdorf, 2011/12/27
- [Qemu-devel] [PATCH v3 7/9] add L2x0/PL310 cache controller device, Mark Langsdorf, 2011/12/27
- [Qemu-devel] [PATCH v3 2/9] arm: Set frequencies for arm_timer, Mark Langsdorf, 2011/12/27
- [Qemu-devel] [PATCH v3 4/9] arm: add dummy gic security registers, Mark Langsdorf, 2011/12/27
- [Qemu-devel] [PATCH v3 1/9] arm: add missing scu registers, Mark Langsdorf, 2011/12/27
- [Qemu-devel] [PATCH v3 5/9] ahci: convert ahci_reset to use AHCIState, Mark Langsdorf, 2011/12/27