Results 1 to 2 of 2

Thread: About detect and mount extend/LVM partitions

Hybrid View

  1. #1
    Member registered user
    Join Date
    Jun 2003
    Location
    Hong Kong
    Posts
    49

    About detect and mount extend/LVM partitions

    Hi folks,


    My HD has extend partition and LVM. Is there any way to detect and mount them.

    # 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

  2. #2
    Junior Member
    Join Date
    Apr 2008
    Posts
    1
    It is probably not an issue anymore, so it is just for posterity.

    I found good answer at: http://www.linuxquestions.org/questi...noppix-471366/

    Here is summary how to mount LVM disks:
    knoppix# vgscan --mknodes
    Reading all physical volumes. This may take a while...
    Found volume group "system" using metadata type lvm2
    # vgchange -ay
    3 logical volume(s) in volume group "system" now active
    # lvscan
    ACTIVE '/dev/system/home' [20.00 GB] inherit
    ACTIVE '/dev/system/root' [15.00 GB] inherit
    ACTIVE '/dev/system/swap' [2.00 GB] inherit
    # mkdir -p /mnt/root /mnt/home
    # mount /dev/system/root /mnt/root
    # mount /dev/system/home /mnt/home

    More about LVM is on:
    http://www.ibiblio.org/pub/Linux/doc...LVM-HOWTO.html

    Hope it helps to the next person.

Similar Threads

  1. cannot mount partitions??
    By redhawk in forum Hardware & Booting
    Replies: 0
    Last Post: 08-20-2006, 12:35 PM
  2. Problem detect/mount dvd drive force to switch back to WinXP
    By wilson001 in forum Hardware & Booting
    Replies: 4
    Last Post: 12-21-2004, 11:17 PM
  3. Can I mount a 2nd hard disk if BIOS can't detect it?
    By Blisset in forum Hardware & Booting
    Replies: 4
    Last Post: 09-17-2004, 06:50 PM
  4. partitions don't mount
    By jackren in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 03-24-2004, 02:03 PM
  5. Latest Version Won't Detect HD Partitions
    By bongski55 in forum General Support
    Replies: 2
    Last Post: 09-10-2003, 03:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338 picture

Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338

$39.99



Intel Core I7-3770 Processor (3.40GHz, 4 Cores, Socket H2 LGA-1155) - SR0PK picture

Intel Core I7-3770 Processor (3.40GHz, 4 Cores, Socket H2 LGA-1155) - SR0PK

$40.00



LOT OF 4   Intel Core i5-10505 6-Core 3.2GHz SRH38 CPU Processor picture

LOT OF 4 Intel Core i5-10505 6-Core 3.2GHz SRH38 CPU Processor

$349.95



READ Intel Core Ultra 9 285 Processor LGA 1851 picture

READ Intel Core Ultra 9 285 Processor LGA 1851

$449.99



Intel Core i5-12600 3.30 GHz Processor CPU picture

Intel Core i5-12600 3.30 GHz Processor CPU

$119.99



AMD RYZEN 5 3600 PROCESSOR | 3.60GHZ | 100-000000031 picture

AMD RYZEN 5 3600 PROCESSOR | 3.60GHZ | 100-000000031

$59.99



AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065 picture

AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065

$135.00



Intel Core i9-9900 3.10GHz CPU Processor SRG18 picture

Intel Core i9-9900 3.10GHz CPU Processor SRG18

$165.00



Corsair HX1500i 1500W 80+ Platinum Fully Modular ATX 3.1 PSU Certified Refurb picture

Corsair HX1500i 1500W 80+ Platinum Fully Modular ATX 3.1 PSU Certified Refurb

$207.99



INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR picture

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR

$23.00