I have been trying to follow this wiki https://pve.proxmox.com/wiki/Physical_disk_to_kvm with no luck whatsoever, upon finishing it completely Toasts my VM and requires an entire new install.
l
Verification of the Serial # needed
I then use this command
This is the VM configuration verifying its in there, as well it shows up in the GUI
After applying this the VM will no longer boot just a Black screen, if I detach the Hard disk from the GUI Removing it, I still can no longer boot into the VM, The only way to get back is to completely Remove the VM and do a new install.
I have also tried:
Any help would be appreciated, I am simply trying to add the HDD for additional space on a Win10 VM
l
Code:
shw -class disk -class storage
*-disk
description: ATA Disk
product: Samsung SSD 860
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 2B6Q
serial: S3Z8NB0M125631B
size: 931GiB (1TB)
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512
Verification of the Serial # needed
Code:
ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root 9 Mar 9 18:10 ata-Samsung_SSD_860_EVO_1TB_S3Z8NB0M125631B -> ../../sda
I then use this command
Code:
qm set 100 -virtio2 /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S3Z8NB0M125631B
This is the VM configuration verifying its in there, as well it shows up in the GUI
Code:
cat /etc/pve/qemu-server/100.conf
balloon: 4096
bios: ovmf
boot: dcn
bootdisk: virtio0
cores: 4
cpu: host
efidisk0: local:100/vm-100-disk-1.qcow2,size=128K
ide2: local:iso/en_windows_10.iso,media=cdrom
machine: q35
memory: 12288
net0: virtio=F2:F6:0A:EB:41:C9,bridge=vmbr0
numa: 0
ostype: win10
sata0: local:iso/virtio-win-0.1.141.iso,media=cdrom,size=309208K
scsihw: virtio-scsi-pci
smbios1: uuid=185230cc-6018-4d8f-91ae-1750960397dc
sockets: 1
usb0: host=5-3
usb1: host=5-4.1
usb2: host=4-2,usb3=1
virtio0: local:100/vm-100-disk-0.qcow2,cache=writeback,size=128G
virtio2: /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S3Z8NB0M125631B,size=976762584K
vmgenid: 9b45763d-6900-4814-b4ae-4453b38bf713
After applying this the VM will no longer boot just a Black screen, if I detach the Hard disk from the GUI Removing it, I still can no longer boot into the VM, The only way to get back is to completely Remove the VM and do a new install.
I have also tried:
Code:
qm set 100 -scsi1 /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S3Z8NB0M125631B
qm set 100 -sata1 /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S3Z8NB0M125631B
Last edited: