[How to] Create a Windows Machine/Any OS on top of a C1 machine


#1

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.

Pre Requirements:

  • 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.

Required Commands:

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.

Simply type:

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.


#2

Oh, that’s so cool! I will try it, thank you for sharing :stuck_out_tongue:


#3

Thsi thing not going to work on C1 Servers. I had tried it using everything. But this tutorial is not stable. I had tried ReactOS which had worked.

Windows Servers will not work with C1 servers.


#4

No need to install XFCE4 or the VNC server, qemu has a VNC server builtin:

qemu-system-i386 -localtime -cdrom YOUR_ISO_NAME.iso -m 512 -k en-us -boot d STORAGE_FILE_NAME.img -vnc :5,password -monitor stdio

And then, change the password:

change vnc password

Source:

https://www.suse.com/documentation/sles11/book_kvm/data/cha_qemu_running_vnc.html


#5

Very true. I guess for my needs I needed xfce since I can do some more things easily.


#6

Windows 10 can be ran via the raspberry pi armhf build

http://ms-iot.github.io/content/en-US/Downloads.htm


#7

rdp with xfce4, xfce4-goodies and xrdp is quite slow for any practcal RDP use. I wonder what the performance will be with Win10


#8

hello, i try to do that but i got this : vncserver - command not found


#9

Hello, i following in your toturial but. What user can I login to VNC server ?


#10

Can I setup a 64 bit OS on virtual machine QEMU?


#11

If you find a way to download the file explorer in windows 10 you can now easily download even that this is present on your computers but you not able to find it but try this way to complete the downloading.