I am brand new to Proxmox. My goal was to have two VM's of Ubuntu on Proxmox so that I can have one as a test and the other as the existing working version I already had. So I wanted to convert the existing system to a VM. I have a Ubuntu desktop SSD that I created a .raw file of but I am confused on why I can't get it to work in a VM. I have searched for hours and I have tried multiple commands but I still can't figure out how to point the VM to the .raw file as the drive to boot from.
I followed the YT guide by ElectronicsWizardry called Converting a Physical system to a Proxmox VM. I created a VM per his instructions. I named mine UbuntuOld with a VM ID of 100. I have the working Ubuntu on a 480 GB SSD as sda and a larger 1TB HDD with Proxmox as sdb. I ran
It is at this point I get confused. I assume he did
I have also tried
I remember something about "unused" but now I can't find it. I also saw where someone else posted about a similar problem but now I can't find that post.
What am I doing wrong? How can I simplify all of this? Should I just try and passthrough the SDD? How can I remove anything left over in Proxmos that I no longer need?
I followed the YT guide by ElectronicsWizardry called Converting a Physical system to a Proxmox VM. I created a VM per his instructions. I named mine UbuntuOld with a VM ID of 100. I have the working Ubuntu on a 480 GB SSD as sda and a larger 1TB HDD with Proxmox as sdb. I ran
dd if=/dev/sda of=driveImage.img bs=1M
then mv driveImage.img driveImage.raw
It is at this point I get confused. I assume he did
nano /etc/pve/local/qemu-server/100.conf
to edit the config file of the VM to add the driveImage.raw. If I edit the config file with sata1: local-lvm:100/driveImage.raw
I get TASK ERROR: lvm name '100/driveImage.raw' contains illegal characters. If I use sata1: local-lvm:100-driveImage.raw
I get TASK ERROR: unable to parse lvm volume name '100-driveImage.raw'I have also tried
qm disk import 100 driveImage.raw local-lvm
and now I see vm-100-disk-1 but I can't figure out how to point to that with the assumption that it should work.I remember something about "unused" but now I can't find it. I also saw where someone else posted about a similar problem but now I can't find that post.
What am I doing wrong? How can I simplify all of this? Should I just try and passthrough the SDD? How can I remove anything left over in Proxmos that I no longer need?