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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!