how to mount linux VM to any folder

rajeev

New Member
Dec 5, 2023
2
0
1
Hello team ,
i have hosted linux VM on proxmox, i have done some configuration changes after that linux not booting ,i need to comment line in /etc/fstab , How to mount my vm image to any folder like /mnt/linux ,i need to perform changes of linux image

My vm is
vm-100-disk-0 pve Vwi-aotz-- 500.00g data 0.77
 
i have hosted linux VM on proxmox, i have done some configuration changes after that linux not booting ,i need to comment line in /etc/fstab
Just do it the same way as a physical machine: boot the VM with a Ubuntu installer ISO or any other Linux Live CD and mount the root partition inside the VM and edit the file. Lots of guides on the internet (for physical machines).
 
in ovs we have option to mount image on physical server, same way looking in proxmox if we have option to mount lvm image for stopped VMS like below

lomount -t ext4 -diskimage /OVS/running_pool/DomU-4EL-U7-x86_64-1.0.2.PV.img -partition 1 /mnt/test