Instalar Windows en Contabo
Boot to rescue (Clonzilla)
- Connect trough vnc client
- Enter shell
- Login to root$sudo su —
- Make partition(all command in script see bellow)Using parted or fdisk#parted /dev/sda
- Make mbr table
- Create 3 partition0G -> 8G ntfs
- 8G -> max-size -20GB ntfs
- max-size -20gb > max-size ext4
- Make 1 partition bootable and leave parted(parted) set 1 boot on
- Format drives#mkfs.ntfs -f /dev/sda1
- #mkfs.ntfs -f /dev/sda2
- #mkfs.ext4 /dev/sda3
- Mount them#mkdir /mnt/sda1 && mount /dev/sda1 /mnt/sda1
- #mkdir /mnt/sda3 && mount /dev/sda3 /mnt/sda3
- Go to temporary storage#cd /mnt/sda3
- Download windows iso#wget https://windows101tricks.com/1903-iso-64
- Download virtio drivers #wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
- Mount iso#mkdir /mnt/cd
- #mount -o loop /mnt/sda3/1903-iso-64 /mnt/cd
- Copy all files from cd to first partition amd unmount cd#cp -av /mnt/cd/* /mnt/sda1/
- #umount /mnt/cd
- Install wimtools#apt install software-properties-common
- #add-apt-repository ppa:nilarimogard/webupd8
- #apt install wimtools
- #mkdir /mnt/wim
- Mount virtio iso and copy it to sda1#mount /mnt/sda3/virtio-win.iso /mnt/cd
- #mkdir /mnt/sda1/virtio && cp -av /mnt/cd/* /mnt/sda1/virtio
- copy to wim#wimmountrw /mnt/sda1/sources/boot.wim 1 /mnt/wim
- #mkdir /mnt/wim/virtio
- # cp -av /mnt/cd/* /mnt/wim/virtio
- #wimunmount —commit /mnt/wim
- Copy to wim 2#wimmountrw /mnt/sda1/sources/boot.wim 2 /mnt/wim
- #mkdir /mnt/wim/virtio
- # cp -av /mnt/cd/* /mnt/wim/virtio
- #wimunmount —commit /mnt/wim
- #sync
- Unmount all#cd /tmp
- #umount /mnt/cd
- #umount /mnt/sda1
- Download ms-sys app#wget http://prdownloads.sourceforge.net/ms-sys/ms-sys-2.6.0.tar.gz
#chmod +x ms-sys
- Make boot sections#ms-sys -n /dev/sda1
- #ms-sys -7 /dev/sda
#sync
#reboot
Process installation over vnc as usual
Browse driver in X:/virtio/amd64/w10/
You can delete partition 3 and create new partition 2 with size of part 2+ part 3
Partition 1 is still needed
After windows installed
You can add first partition in disk manager with letter D:
After perform autosearch network card driver on D:\virtio
Remove D: driver letter
Configure RDP
Note*: to use RDP install atleast win PRO
5* (Part 5 in short)
Partition (according to disk size 215GB)
#wget http://aknews.ru/win/towin.sh
#chmod +x towin.sh
#./towin.sh
Check partition tables
- Install
#wget http://aknews.ru/win/towin2.sh
!Probably iso link can be broken so replace it
#chmod +x towin2.sh
#./towin2.sh
#reboot