Mount Encrypted LVM

From Hack Sphere Labs Wiki
Revision as of 15:38, 7 February 2012 by Webdawg (talk | contribs) (Created page with "cryptsetup Then: Accessing a Fedora Logical Volume from Ubuntu Submitted by: Kurt Wall Update by: Date Submitted: 10 Apr 2007 Document Version: 1.0 Last Updated: Sat, 02 Fe...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

cryptsetup

Then:

Accessing a Fedora Logical Volume from Ubuntu

Submitted by: Kurt Wall Update by: Date Submitted: 10 Apr 2007 Document Version: 1.0 Last Updated: Sat, 02 Feb 2008 17:46:54 GMT A while back, I started experimenting with Ubuntu after playing with Fedora. I decided to jump to Ubuntu and needed to move data from the Fedora-managed logical volume to Ubuntu. Here's what I did.

Boot Ubuntu.

Install lvm2: $ sudo apt-get install lvm2

Load the necessary module(s): $ sudo modprobe dm-mod

Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00): $ sudo vgscan

Activate the volume: $ sudo vgchange -ay VolGroup00

Find the logical volume that has your Fedora root filesystem (mine proved to be LogVol00): $ sudo lvs

Create a mount point for that volume: $ sudo mkdir /mnt/fcroot

Mount it: $ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user

Copied my files.


Notes