Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Generic tutorial to install window or any other OS in KVM/Cloud VM
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Generic tutorial to install window or any other OS in KVM/Cloud VM

Used tool: Proxmox

Create your OS image

  1. In proxmox create VM with BIOS/EFI and proper disk type as per your needs
    For Oracle Cloud it is UEFI and Virtio SCSI Disk
  2. Use Debian net installer to install Debian on Disk1 of size 10GB, and then install below software
    apt install -y sudo lxde ntfs-3g gparted xrdp
    You may have to press esc key at boot and select EFI for Debian boot file in case of EFI boot
  3. Add Disk2 15GB - 25GB as needed and boot to Disk 1 i.e. Debian and use RDP to connect. Use gparted to partition it as per any special needs
  4. Detach disk 1 of Debian and make disk 2 and Windows ISO as boot
  5. Use two ISO i.e. Windows and Virtio to start install of windows on Disk2 and just after first boot shutdown VM
  6. Make Disk1 as boot Disk and disk 2 as non boot and boot into Debian, you can use RDP to connect
  7. Copy whole Virtio CD to Disk2 so that you can use any driver from this later on specially network one.
  8. Create Disk Image of Disk2 by below command

dd conv=sparse if=/dev/sdb | gzip -c | ssh user@hostname dd of=/path/filename.gz status=progress

  1. Copy disk image filename.gz to website e.g. http://example.com/filename.gz

Restore image and do rest of window setup

wget -qO InstallNET.sh https://raw.githubusercontent.com/leonguyen52/installNET/master/InstallNET.sh && bash InstallNET.sh -dd "http://example.com/filename.gz"

Above command will take time and now do rest of setup in VNC console of VPS

Some points are not in full details and will be happy to explain them if anyone face issue but it worked for me to install window in Oracle Cloud and should work for any other use case also.

Sign In or Register to comment.