Booting Knoppix from CD and accessing LVM Volumes

Knoppix is a useful tool for booting machines that otherwise cannot be started. However when I booted a Redhat Es/4 machine with two disks in a logical volume I noticed that I couldn’t access the data stored on the logical volume.

So heres what you need to do to mount LVM Partitions in Knoppix.

We need to actvate the parition prior to mounting it.

to do this, the following lines need to be executed in the console: as root – the # prompt is just to remind you that you are root – enter the commands without it of course …

# vgscan --mknodes
# vgchange -ay
# lvscan

note the LV name for the next command

Then, to mount the LVM partitions, the following mount command is needed:

# mount /dev/VolGroup00/LogVol00 /mnt/mountpoint

where /mnt/mountpoint is the folder you wish to have the LV mounted on (you will have to create on with mkdir /mnt/mymountpointname if it does not already exist).

And lo the data is mounted and accessible.