From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXEL5-0005Zh-95 for qemu-devel@nongnu.org; Sun, 04 Dec 2011 10:50:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXEL4-0005Z5-1d for qemu-devel@nongnu.org; Sun, 04 Dec 2011 10:50:51 -0500 Received: from indium.canonical.com ([91.189.90.7]:46068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXEL3-0005Yr-RO for qemu-devel@nongnu.org; Sun, 04 Dec 2011 10:50:49 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RXEL2-0001Jd-L2 for ; Sun, 04 Dec 2011 15:50:48 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 9E83A2E807B for ; Sun, 4 Dec 2011 15:50:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 04 Dec 2011 15:45:30 -0000 From: Vincent Autefage <899143@bugs.launchpad.net> Sender: bounces@canonical.com References: <20111202130025.32130.46511.malonedeb@gac.canonical.com> <4ED8E55C.2070201@labri.fr> Message-Id: <4EDB9629.9030704@labri.fr> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows Reply-To: Bug 899143 <899143@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Ok thanks a lot :) Vincent Autefage Le 03/12/2011 19:45, Stefan Hajnoczi a =C3=A9crit : > 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=3Da0:00:00:00:00:01 -net >> user,vlan=3D0 > 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=E2=80=99t 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