[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Using Qemu to install Linux in a Windows XP disk image
From: |
Brett Bonfield |
Subject: |
Re: [Qemu-devel] Using Qemu to install Linux in a Windows XP disk image |
Date: |
Fri, 12 Nov 2004 15:51:56 -0500 |
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 ):
<begin msg from Mepis forums>
"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."
<end msg from Mepis forums>
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
<begin msg from John Newbigin>
"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."
<end msg from John Newbigin>
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
<begin QemuMenu.bat error>
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
<end QemuMenu.bat error>
Please let me know what I'm doing wrong. Again, thank you for reading
through such a long message.
Brett
- Re: [Qemu-devel] Using Qemu to install Linux in a Windows XP disk image,
Brett Bonfield <=