Technical
How To Read Logical Volumes Using Knoppix

I had a situation where I could not login to my linux box due to the statically set IP address and inability to login as root ( or any other account for that matter ). I’ve used knoppix to obtain access to local file system and do necessary changes.

  1. Download copy of Knoppix and burn image to a CD.
  2. Once booted do the following to mount your logical volumes (virtual partitions in other languages :))
    Either follow directions from here or read from original source
    • To use existing volume groups you have to activate them.
      
      vgscan
      vgchange -a y
      
    • To mount a logical volume first find out what it is called, unless you know already. Use lvs or vgdisplay/lvdisplay for this.
      
      lvs
      LV   VG   Attr   LSize Origin Snap%  Move Log Copy%
      home vg   -wi-ao 2.09G
      var  vg   -wi-ao 1.32G
      
    • Mount the fs that you need
      I found that mount points were stored in /dev/mapper so I used following command
      
      sudo mount -rw /dev/mapper/rootvg-rootlv /mnt/other
      

Done, so now if you cd to /mnt/other you should see you file system.

You can also read How To Reset Root Password With Knoppix

DESCLAIMER
Though following can be obtained from many different web sites I wanted to have a copy for my self and if owners of the materials will object it will be removed from here.