Riddle Me This...?
I've read tutorials where you can use Qemu to create a VHD of whatever size-No, I'm not talking about Qemulator-I'm saying they were using the terminal, with something like- "qemu-img -f create mydisk.img 500m" or something like that...
I can't find the tutorial now, but does anyone know how this is done? I checked the Qemu site, but couldn't really find anything. Can a VHD you make using qemulator be moved from wherever it is and still work? Thanks |
Do you mean something like this ?
To create the VHD Code:
qemu-img create -f qcow windows.img 5G Code:
qemu -localtime -cdrom /home/repo/data/iso/win2000.iso -m 384 -boot d windows.img |
That's great-where is that info found...?
Also-where will it creat this img-don't I have to give it a path? What Linux systems have this Qemu? I have Qemulator and Qemu-Launcher-can I do it with them? Thanks |
Quote:
Quote:
Debian has it in the repo's, dunno for other distro's Quote:
|
MMMMmmm...I read in the tutorial I can't find that you can make the VHD with a specific filesytems-like FAT32 or swap-is that true- or what is the inside of the VHD?
Is that done when you make the img or you somehow partition/format it? Thanks again |
OK-tried what you said and the commands are incomplete-
Code:
qemu-img version 0.9.1, Copyright (c) 2004-2008 Fabrice Bellard For the input name-can I use a folder? |
repo@cannabis:~$ cd temp
repo@cannabis:~/temp$ ls repo@cannabis:~/temp$ qemu-img create -f qcow windows.img 5G Formatting 'windows.img', fmt=qcow, size=5242880 kB repo@cannabis:~/temp$ ls windows.img repo@cannabis:~/temp$ |
Nope-it just give me the same readout as above^
Some command is still missing-input folder, etc? |
Could you post the exact command you are using ?
|
The readout-
Code:
root@bz-desktop:/home/bz# cd /tmp The Linux world needs to drop the esoteric and presumptuous attitude that the avg joe could decipher that "man" page above. One needs clear examples with the full understanding that I am a Newbie. thanks |
try
Code:
qemu-img create -f qcow windows.img 5M and 'G' (gigabyte) are supported |
Code:
root@bz-desktop:/tmp# qemu-img create -f qcow windows.img 5m |
replace
Code:
5m Code:
5M |
OK-I got it working-Now can I install the iso it's running off of into the vhd ".img"??
If yes-do I partition and format it from within the iso I boot? Thanks again repo |
now type
Code:
qemu -localtime -cdrom /path-to/dsl-4.4.10.iso -m 384 -boot d windows.img The VHD is just an image file, you cannot partition or format it, it is virtual. |
All times are GMT -5. The time now is 07:11 AM. |