I am attempting to pass through a single, entire disk to a VM but get issues post-installation of the OS. The intention is to have a disk that I can hotswap between two physical hosts, instead of having it installed on a virtual disk as a qcow2/raw image
I followed the disk passthrough guide on the wiki and I am able to get the Ubuntu 20.04 LiveCD to recognize the disk. (See attached picture.)
After the installation I have verified that the bootloader is installed to the passthrough'd disk and not a different device. (See attached picture.)
However, after I power off the VM, remove the CD/DVD drive from the config, and boot back up, I get stuck in a PXE bootloop. It seems like SeaBios cannot find or recognize the disk (or maybe the bootloader?).
Here is the config file for the VM:
EDIT: Solved by adding scsi to the boot order under Options.
I followed the disk passthrough guide on the wiki and I am able to get the Ubuntu 20.04 LiveCD to recognize the disk. (See attached picture.)
After the installation I have verified that the bootloader is installed to the passthrough'd disk and not a different device. (See attached picture.)
However, after I power off the VM, remove the CD/DVD drive from the config, and boot back up, I get stuck in a PXE bootloop. It seems like SeaBios cannot find or recognize the disk (or maybe the bootloader?).
Here is the config file for the VM:
Code:
root@mercury:/etc/pve/qemu-server# cat 901.conf
boot: order=ide2;net0
cores: 4
memory: 8192
meta: creation-qemu=6.1.0,ctime=1649627496
name: ubuntu-disk-test
net0: virtio=EA:XX:XX:XX:XX:XX,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: /dev/disk/by-id/ata-ADATA_SU720_2K17XXXXXX,size=976762584K
scsihw: virtio-scsi-pci
smbios1: uuid=05070b7f-25cb-4fbd-9a6b-a3de22640d25
sockets: 1
vmgenid: c52186e0-473f-4f17-ae51-XXXXXXXX
EDIT: Solved by adding scsi to the boot order under Options.
Last edited: