Hi!
One of my VPS is a Virtualizor KVM VPS, in Virtualizor CP there is a rescue mode, when enabled, it will let you login to a Debain OS, and I try command like this not working:
wget -O- http://mirror.whatuptime.com/besw26/releases/Microsoft_Windows_Server_2012_R2_Standard_VL_64-bit_US_English.gz | gunzip | dd of=/dev/sda
Hi!
One of my VPS is a Virtualizor KVM VPS, in Virtualizor CP there is a rescue mode, when enabled, it will let you login to a Debain OS, and I try command like this not working:
wget -O- http://mirror.whatuptime.com/besw26/releases/Microsoft_Windows_Server_2012_R2_Standard_VL_64-bit_US_English.gz | gunzip | dd of=/dev/sda
Please provide the error(s) you are receiving as well as the output from "fdisk -l" when in rescue mode.
root@rescue:~# fdisk -l
Disk /dev/vda: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2dd1bce6
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 1435647 1433600 700M 83 Linux
Disk /dev/vdb: 80 GiB, 85899345920 bytes, 167772160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x941390d7
Device Boot Start End Sectors Size Id Type
/dev/vdb1 * 2048 165677055 165675008 79G 83 Linux
/dev/vdb2 165677056 167772159 2095104 1023M 82 Linux swap / Solaris
root@rescue:~# fdisk -l
Disk /dev/vda: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2dd1bce6
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 1435647 1433600 700M 83 Linux
Disk /dev/vdb: 80 GiB, 85899345920 bytes, 167772160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x941390d7
Device Boot Start End Sectors Size Id Type
/dev/vdb1 * 2048 165677055 165675008 79G 83 Linux
/dev/vdb2 165677056 167772159 2095104 1023M 82 Linux swap / Solaris
Your primary issue is the command you provided at the beginning of this thread would attempt to install the Microsoft Windows template to disk "/dev/sda", however your virtual server doesn't have a disk with that label. Using the fdisk output provided you will need to install to "/dev/vdb" which the actual disk for your virtual machine.
Does your virtual machine use VirtIO for the disk device?
Hi!
you mean /dev/vdb or /dev/vdb1 ?