All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Install Windows on Dedibox XC SSD 2016 with QEMU
Hello! Here my tutorial to install Windows or another SO ISO with QEMU
Tested on: Dedibox XC SSD 2016 (Server without KVM/iLO or IPMI)
1- Go to your Online.net panel
2- Install Ubuntu
3- Once install is finished open Putty and login with your SO credential
4-
sudo -i
5-Put your password Again
Format Dedicated Server:
dd if=/dev/zero of=/dev/sda bs=1M count=1
size=8000m This depend of the size of your SO ISO
mount -t tmpfs -o size=8000m tmpfs /mnt
**Download the ISO - In this case from Microsoft Evaluation (180 Days): **https://microsoft.com/en-us/evalcenter/evaluate-windows-server-2016/
wget -P /mnt DIRECTLINKOFYOURISO
Example Windows Server 2016 x64
Install Portable QEMU
wget -qO- /tmp https://ia601503.us.archive.org/12/items/vkvm.tar/vkvm.tar.gz | tar xvz -C /tmp
Start QEMU
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /mnt/NAMEOFYOURISO -hda /dev/sda -boot once=d -vnc :1
Example:
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /mnt/14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO -hda /dev/sda -boot once=d -vnc :1
Install Windows with VNC Viewer: https://realvnc.com/download/viewer/
You need connect to YOUSERVERIP:1
Disable Firewall
Enable RDP
Ctrl+c to stop QEMU
(Very Important) Put this to boot from C: disk in next reboot
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -hda /dev/sda -boot c -vnc :1
Reboot Server from Online console.
Connect to windows via RDP
Enjoy!
Online.net does not need configure IP they have DHCP but if you are testing in another provider and they dont support DHCP you can:
$ lspci | egrep -i --color 'network|ethernet'
$ lshw -class network
And configure with your provider IP, Netmask, Gateway.
netsh interface ipv4 set address name="Ethernet 2" static 37.XXX.XXX.183 255.255.255.192 37.XXX.XXX.129
Reboot Server from Online console.
Connect to windows via RDP
Enjoy!
Comments
Use --enable-kvm and make sure acpi is enabled.
EDIT: I did not read that the machine does not support KVM, in this case it might be difficult.
EDIT2: The Dedibox XC has an Intel C2750 and it supports Virtualization, therefore KVM should work.
Why wouldn't you "have" KVM? Or are you perhaps thinking of a KVM-Switch? The error you're seeing is most likely due to an unsupported CPU feature bit within the guest.
You should try to enable kvm (-enable-kvm) and show all of your host's CPU capabilities to the guest (-cpu host).
-enable-kvm -cpu host,+nx
Updated with successful tutorial, enjoy!
Nice tutorial however I would not recommend to disable the firewall. Just enable RDP and open the necessary ports.
Important note!
Install Portable QEMU
wget -qO- /tmp https://ia601503.us.archive.org/12/items/vkvm.tar/vkvm.tar.gz | tar xvz -C /tmp
Launch QEMU
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -hda /dev/sda -boot c -vnc :1
**Connect via VNC: **
YOURSERVERIP:1
On my case I need install Intel Drivers for Network adapter (Intel Corporation Ethernet Connection I354 2.5 GbE Backplane (rev 03))
Reboot to normal mode from Online.net console and done! Windows works without any problem!
Enjoy!
Thanks for the guide.
It allowed me to install Ubuntu 16+ / Debian9 from within Debian 8 - the only OS that could be installed on some archaic Online server (damn you, IDRAC6!)
If we can find drivers for scaleway networking this might work on scaleway too
https://community.online.net/t/installing-windows-server-2012r2-on-vc-vps/3421/5
Scaleway have 2.5 Gbps ethernet like Dedibox XC SSD 2016, I try but dont works, scaleway use some boot script for that vps/baremetal servers.
Really nice tutorial.
I tried and followed every step... even after the server rebooted.
But I receive always that error after rebooting. You know why and how I can solve that ?
I think you try install windows 7. What is server details?
>
Indeed. But same error appears with Windows Server 2012 too...
My config :
I thing this problem about SSD and boot mode.
Try disable secure boot, disable fast boot, turn off legacy boot, Boot Made select UEFI and try again.
With some adaptations this might also work: https://raymii.org/s/tutorials/Windows_7_Installer_on_KVM_Linux_VPS_Digital_Ocean.html
How did you figure all of this out? Who taught you this stuff?
Erroneous comment. Not sure how to delete.