How to make LiveCD detect and mount extend/LVM partition

Discussion in 'Technical' started by satimis, Aug 29, 2007.

  1. satimis

    satimis Member

    Hi folks,


    My HD has extend partition and LVM. Is there any way to detect and mount them on running a LiveCD?


    Made following test w/o result.

    # fdisk -l
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          31      248976   83  Linux
    /dev/sda2              32       19457   156039345    5  Extended
    /dev/sda5              32       19457   156039313+  8e  Linux LVM
    
    sda1 is mounted automatically with its icon displayed on desktop.

    # ls -al /media/sda1
    Code:
    total 10410
    drwxr-xr-x 4 root root    1024 Jul 24 10:21 .
    drwxr-xr-x 6 root root    1024 Aug 29 06:14 ..
    -rw-r--r-- 1 root root 1033449 Apr 15 02:28 System.map-2.6.20-15-generic
    -rw-r--r-- 1 root root  407099 Apr 15 02:28 abi-2.6.20-15-generic
    -rw-r--r-- 1 root root   75349 Apr 15 01:02 config-2.6.20-15-generic
    drwxr-xr-x 2 root root    1024 Jul 24 10:22 grub
    -rw-r--r-- 1 root root 7255399 Jul 24 10:21 initrd.img-2.6.20-15-generic
    drwx------ 2 root root   12288 Jul 24 10:13 lost+found
    -rw-r--r-- 1 root root   94600 Oct 20  2006 memtest86+.bin
    -rw-r--r-- 1 root root 1726608 Apr 15 02:28 vmlinuz-2.6.20-15-generic
    

    # ls /media/
    Code:
    cdrom0  floppy0  sda1  sda5
    
    sda5 seems mounted as well.


    # ls -al /media/sda5
    Code:
    total 2
    drwxr-xr-x 2 root root 1024 Aug 29 06:14 .
    drwxr-xr-x 6 root root 1024 Aug 29 06:14 ..
    
    But nothing found on it.

    Advice would be appreciated. TIA


    B.R.
    satimis
     

Share This Page