[SOLVED] Booting from RAW image

jtcozart

New Member
Apr 30, 2017
2
0
1
31
Hey all,

The HDD running my PVE server crashed and I have a VM raw image on another LVM container. I imaged a new HDD for to run the PVE server and it see the raw image on LVM2. I have added the following conf file and the VM is added to the PVE interface, but when I attempt to start it is is stuck at "Booting from Hard Disk..." and cannot continue.

Code:
balloon: 1024
bootdisk: scsi0
cores: 2
memory: 2048
name: bnd-vs-nfs
net0: virtio=23:8B:F1:45:F9:37,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsi0: Data:vm-103-disk-1,size=2.7T
scsihw: virtio-scsi-pci
smbios1: uuid=266155db-8bc1-44f7-9e53-648a34b2d507
sockets: 1
startup: order=1

Am I missing something in the config file? Or can I not boot to a raw image?
 
Okay answered my own question... I was being stupid. I had added the LVM to the NFS for data storage only the RAW file contained only files and no OS. I added the OS back manually and then added the LVM RAW file as a second drive and... just like that... my files were restored!