Mount LVM partitions from an external hard drive
Q Is it possible, and if so how, to mount LVM partitions from an external hard drive? I'm thinking of my old Fedora system drive from which I would like to retrieve a single file without having to boot from it.
A As long as you have the LVM tools installed on the distro you are booting, you can mount LVM partitions from any disk (I even did it from a USB key once). Run
vgscan vgchange -a y
as root and all the partitions should have devices created in the form /dev/volumegroup/logicalvolume, which you can then mount in the usual way:
mount /dev/volumegroup/logicalvolume /mnt/somewhere
- External USB hard drive always mounting as root?
- External hard drive light constantly flashing in Mandriva
- Cannot write to USB Lacie hard drive in Linux
- Reorganising hard drive letters in Windows after installing Linux
- LILO boot problems after moving Linux installation to larger hard drive