I have a Xen VM guest image with a lost root password. In order to get to /etc/passwd and /etc/shadow I need to mount the filesystems within the image with everything but /boot is in a LVM partition. The VM host also have an LVM image, and both (host and guest) are called VolGroup00. I want to change the name of the guest volume group to VolGroup01 while I am editing /etc/password, then change it back to VolGroup00 before booting the guest image.
Is this possible? If so, how?
The host is CentOS 5.7, and the guest is CentOS 5.5. Xen is version 3.1.2.
Thanks in advance,
Edward Hooper