Raw img not recognized by Windows
Public bug reported:
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
** Affects: qemu
Importance: Undecided
Status: New
** Description changed:
Hi,
The installation process of Windows (XP/Vista/7) doesn’t seem to recognize a raw img generated by qemu-img.
- The installer do not see any hard drive...
+ The installer does not see any hard drive...
The problem exists only with a raw img but not with a vmdk for instance.
Thanks
Signature · 23 lines
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
Quoted 4 lines · Vincent Autefage
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.
Please post your QEMU command-line so it is possible to reproduce this and see which emulated devices you have configured.
Stefan
Hi,*
$ 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 *
Vincent Autefage
Quoted 11 lines · Stefan Hajnoczi
Quoted 4 lines · Vincent Autefage
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.
Please post your QEMU command-line so it is possible to reproduce this and see which emulated devices you have configured.
Stefan
Signature · 23 lines
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
Quoted 5 lines · Vincent Autefage
$ 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
Ok thanks a lot :)
Vincent Autefage
Quoted 23 lines · Stefan Hajnoczi
Quoted 5 lines · Vincent Autefage
$ 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=0QEMU 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
Signature · 23 lines
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
** Changed in: qemu
Status: New => Invalid
Signature · 23 lines
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: Invalid 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