Tuesday, March 23, 2010

Mounting LVM volumes from live CD

These instructions are for when you need to get data from a hard disk, but the disk is configured with LVM volumes. I've used a Gentoo minimal install/Live disk:

Mounting the LVM Volume:
vgchange -a y
lvscan
mount -t ext3 /dev/VolGroup00/LogVol00 /mnt/

Unmounting the LVM Volume:
umount /mnt/
vgchange -a y