Installation guide

Accessing data from a guest disk image
249
# mount /dev/VolGroup00/LogVol00 /mnt/guestboot
6. The files are now available for reading in the /mnt/guestboot directory. Read or copy the files.
7. Unmount the device so the guest image can be reused by the guest. If the device is mounted the
guest cannot access the image and therefore cannot start.
# umount /mnt/guestboot
8. Disconnect the volume group VolGroup00
# vgchange -an VolGroup00
9. Disconnect the image file from the partition mappings.
# kpartx -d /var/lib/libvirt/images/guest1.img
The guest can now be restarted.