From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSiXP-0005Bz-80 for qemu-devel@nongnu.org; Fri, 12 Nov 2004 16:00:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSiXO-0005Bj-Kv for qemu-devel@nongnu.org; Fri, 12 Nov 2004 16:00:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSiXO-0005BZ-Ga for qemu-devel@nongnu.org; Fri, 12 Nov 2004 16:00:54 -0500 Received: from [64.233.170.206] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSiOj-0005kW-Pl for qemu-devel@nongnu.org; Fri, 12 Nov 2004 15:51:57 -0500 Received: by rproxy.gmail.com with SMTP id y7so153629rne for ; Fri, 12 Nov 2004 12:51:57 -0800 (PST) Message-ID: Date: Fri, 12 Nov 2004 15:51:56 -0500 From: Brett Bonfield Subject: Re: [Qemu-devel] Using Qemu to install Linux in a Windows XP disk image Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: Brett Bonfield , 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 I'm still trying to use QemuInstall on Windows XP Pro to install SimplyMEPIS Linux. You were right -- the initial dd call I was using was not correct. I've fixed the call, but still haven't made it work. Here are my tests so far. I'm sorry this is such a long message, but I've been doing a lot of testing :^) >>From the Mepis.org forums ( http://www.mepis.org/node/view/4066 ): "I've had no problems running SimplyMEPIS from within Qemu as-is... if you're looking to install it first run: dd of=hd.img bs=1024 seek=3000000 count=0 to create a hard disk image (change seek to whatever size you want the image to be, in this case around 3GB). Then run: qemu -hda hd.img -cdrom SimplyMEPIS-2004.04.iso -boot d -user-net You can then install as normal using the MEPIS Installation Center and from then on boot with: qemu -hda hd.img -user-net You're on your own in finding a tool in windows that does the equivelant of dd in Linux though." I found the Windows equivalent of dd ( http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm ) and the developer, John Newbigin, emailed that I should not use dd of=hd.img bs=1024 seek=3000000 count=0 but should instead "Pick a file which you can read and is larger than 1024 bytes and try this command: dd if=filethatalreadyexists of=newfile.img bs=1k seek=3071999 count=1 here seek is the offset into the newfile to start the writing. The number I am using = 1024 * 3000 - 1 which will give you 3000Meg again." I tried this with SimplyMEPIS-2004.04.iso (the last Mepis release), John Newbigin's dd for Win32, and QemuInstall-0.6.0 and QemuInstall-20041111. Here are the errors I got: QemuInstall-0.6.0 (installed to C:\Program Files\Qemu): dd if=SimplyMEPIS-2004.04.iso of=MEPIS.img bs=1k seek=3071999 count=1 < this created the image > qemu -hda hd.img -cdrom SimplyMEPIS-2004.04.iso -boot d -user-net < this didn't seem to do anything > qemu -hda hd.img -user-net < this didn't seem to do anything, either > So I deleted the .img and uninstalled QemuInstall-0.6.0. -- QemuInstall-20041111 (installed to C:\Program Files\Qemu): dd if=SimplyMEPIS-2004.04.iso of=MEPIS.img bs=1k seek=3071999 count=1 < this created the image > qemu -hda hd.img -cdrom SimplyMEPIS-2004.04.iso -boot d -user-net < screen flashed and I got the following error: qemu: could not load PC bios '/c/Program Files/Qemu/bios/bios.bin' > qemu -hda hd.img -user-net < again the screen flashed and again I got the following error: qemu: could not load PC bios '/c/Program Files/Qemu/bios/bios.bin' > I decided to try using QemuMenu.bat, which I ran from the command line, It said Boot QEMU using image: [1] MEPIS I selected 1. This generated a QEMU window that contained the following message (slightly abridged): Plex86/Bochs VGSBios current-cvs 07 Nov 2004 cirrus-compatible VGA is detected Bochs BIOS, 1 cpu, $Revision: 1.110 $ $Date: 2004/05/31 13:11:27 $ ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (3000 MBytes) ata0 slave: Unknown device ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom ata1 slave: Unknown device Boot from Hard Disk 0 failed FATA: Not a bootable disk Please let me know what I'm doing wrong. Again, thank you for reading through such a long message. Brett