bardiamgtgc
New Member
hey
im trying to run a windows server vm on an ntfs partition as my ssd is almost full and i dont want to have the vm on my own ssd and on my nas all my drives are ntfs
first i tried to have the qcow2 file exactly on my network ntfs partition which failed and after some looking around no luck with that then according to this article i can mount my image as a loop device https://opensos.blogspot.com/2013/06/using-kvm-disk-image-on-ntfs-partition.html i decided to mount the qcow2 image then use it in kvm which also failed when running kpartx -a -v myimage.qcow2 i get an error about ntfs signatures
so i converted the qcow2 to a raw image format and i was able to mount it
now i have /dev/loop31p1 /dev/loop31p2 /dev/loop31p3 (p1 is windows bootloader, p2 is windows filesystem itself, p3 is recovery im guessing because it only has a Recovery directory inside it)
now i have no idea how to get them to work inside kvm first i tried adding them as different disks but it failed and im guessing it failed because it couldnt recognize which disk has the bootloader and which one is the filesystem(stuck at booting from hard drive)
also if this helps with anything, this vm came from one of my servers running vmware esxi then converted to qcow2 then to raw i can do a clean install if needed there isnt much data on this image
im running ubuntu 20.04 trying to run intel gvt-g which works fine on my ssd but as i said im running out of space
any solutions to this?
im trying to run a windows server vm on an ntfs partition as my ssd is almost full and i dont want to have the vm on my own ssd and on my nas all my drives are ntfs
first i tried to have the qcow2 file exactly on my network ntfs partition which failed and after some looking around no luck with that then according to this article i can mount my image as a loop device https://opensos.blogspot.com/2013/06/using-kvm-disk-image-on-ntfs-partition.html i decided to mount the qcow2 image then use it in kvm which also failed when running kpartx -a -v myimage.qcow2 i get an error about ntfs signatures
so i converted the qcow2 to a raw image format and i was able to mount it
now i have /dev/loop31p1 /dev/loop31p2 /dev/loop31p3 (p1 is windows bootloader, p2 is windows filesystem itself, p3 is recovery im guessing because it only has a Recovery directory inside it)
now i have no idea how to get them to work inside kvm first i tried adding them as different disks but it failed and im guessing it failed because it couldnt recognize which disk has the bootloader and which one is the filesystem(stuck at booting from hard drive)
also if this helps with anything, this vm came from one of my servers running vmware esxi then converted to qcow2 then to raw i can do a clean install if needed there isnt much data on this image
im running ubuntu 20.04 trying to run intel gvt-g which works fine on my ssd but as i said im running out of space
any solutions to this?