Hey everyone, this is my first tutorial which is going through on how to emulate a windows machine or any os on an ARM processor which surprise, surprise, these servers use ARM processors.
Disclaimer: From my experience the windows machines are too slow.
- Basic knowledge of linux, and your own operating system
- SSH Client installed
- VNC Client installed.
- A ISO file of OS (linux os recommended)
Alright, cut the crap lets get started.
Step 1: Launching the machine, and download required stuff.
Assuming you’re ssh logged inside the
Alright you’ll need to install XFCE for the desktop environment, and tightvnc to connect to it!
Installing XFCE4, XFCE4-goodies, and TightVNC:
apt-get install xfce4 xfce4-goodies tightvncserver
Launch the VNC server:
/usr/bin/vncserver -depth 16 -geometry 1024x768 :0
You can connect to it using: YOUR_IP:0
Step 2: Login to your VNC server, and install QEMU.
1: Alright simply login to your VNC server:
2: After that you should see a desktop:
3: Goto the top corner, and click terminal, you should see a terminal pop up.
4: Run the required commands in the terminal, this will install the QEMU emulator, and it’s extras.
apt-get install qemu-system qemu-utils
Step 3: Create virtual image, and launching the ISO.
Assuming you’re still connected to the VNC server and have the terminal open, simply type;
qemu-img create -f qcow STORAGE_FILE_NAME.img 10G
You can replace STORAGE_FILE_NAME with your choice, and 10G with your choice.
Launching from the CDROM/ISO:
Okay, now we’ll have to start from the ISO in order to install our OS, or use live CD.
qemu-system-i386 -localtime -cdrom YOUR_ISO_NAME.iso -m 512 -k en-us -boot d STORAGE_FILE_NAME.img
To customize this, change YOUR_ISO_NAME, 512 (megabytes), and STORAGE_FILE_NAME.
You should see the ISO be launched, and you can installed. For example this is my progress:
Step 4 (final): Booting from drive.
To load the OS normally just type:
qemu-system-i386 -hda STORAGE_FILE_NAME.img -boot c -m 512 -localtime -k en-us -usb
To customize this, change STORAGE_FILE_NAME, and 512.
Hope you enjoyed the tutorial:
I hope you found this tutorial helpful and useful. You can use this method for other OSes not only Windows.
If you have any suggestions, I guess comment below.