Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6a0m-0001x5-3I for qemu-devel@nongnu.org; Thu, 25 Mar 2004 13:55:28 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6a0F-0001rj-MR for qemu-devel@nongnu.org; Thu, 25 Mar 2004 13:55:26 -0500 Received: from [213.228.0.44] (helo=postfix3-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6a0F-0001rV-CZ for qemu-devel@nongnu.org; Thu, 25 Mar 2004 13:54:55 -0500 Received: from dsant.dsorgroup (vaise-2-82-67-46-45.fbx.proxad.net [82.67.46.45]) by postfix3-1.free.fr (Postfix) with ESMTP id 2D095C4129 for ; Thu, 25 Mar 2004 19:54:49 +0100 (CET) From: vaise@votreservice.com Date: Thu, 25 Mar 2004 19:56:44 +0000 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200403251956.44494.vaise@votreservice.com> Subject: [Qemu-devel] it works ! Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Here is a little trick to allow "already installed" partitions to boot. (As I said, with only "dd if=/dev/hda of=file.img count=6M" and "qemu file.img", bootloaders crash) 1- create and install the partition in "normal mode", ( on hda1 for example ) (do not do the same mistake as me, prepare a linux boot disk before !!!) make a copy of hda1 under linux, skiping the first 63 blocks : dd if=/dev/hda of=original.img count=6M skip=63 2- prepare the file "qemu_hd.img" with qemu .fdisk. format it, and install the OS too. after the reboot, it should fail, complaining about a memory allocation problem. Don't care, shut down. 3- use the option "seek" on the two files : dd if=original.img of=qemu_hd.img seek=63 (qemu_hd.img must already have been created, as said before) 4- qemu -hda=qemu_hd.img -boot c Youpi ! notice : harware detection does not work yet. notice 2 : block size on mandrake 10 is 512, not 1024 !