10 月 182016
Source: Windows VPS on Digital Ocean
It is easy to install Windows 7 on Digitalocean VPS. If you’re using Debian Jessie, create a FAT32 or NTFS partition on your existing Linux VPS (app. 4 GB). Then copy your Windows 7 ISO contents to FAT32/NTFS partition. In the end, add this config to your /boot/grub/grub.cfg file:
menuentry "Windows" { insmod fat set root='(hd0,msdos5)' ntldr ($root)/bootmgr }
Change msdos5 part to your FAT32/NTFS partition number. (If it’s dev/vda3, change to msdos3). Reboot your VPS and start installation by selecting Windows at Grub screen.
Note: Don’t remove FAT32/NTFS partition during installation. After installation, you can remove it.