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.
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
- 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 - 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 - 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
- Detach disk 1 of Debian and make disk 2 and Windows ISO as boot
- Use two ISO i.e. Windows and Virtio to start install of windows on Disk2 and just after first boot shutdown VM
- Make Disk1 as boot Disk and disk 2 as non boot and boot into Debian, you can use RDP to connect
- Copy whole Virtio CD to Disk2 so that you can use any driver from this later on specially network one.
- 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
- 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.