-
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
-
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
-
By redhawk in forum Hardware & Booting
Replies: 0
Last Post: 08-20-2006, 12:35 PM
-
By wilson001 in forum Hardware & Booting
Replies: 4
Last Post: 12-21-2004, 11:17 PM
-
By Blisset in forum Hardware & Booting
Replies: 4
Last Post: 09-17-2004, 06:50 PM
-
By jackren in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 03-24-2004, 02:03 PM
-
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
-
Forum Rules

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$3759.98

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$427.63

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$397.48

Dell Windows 11 Pro Desktop Computer PC Up To i7 8th Gen. 32GB RAM 4TB SSD/HDD
$438.27

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb
$438.51

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95

Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished
$533.51

1TB HDD/SSD 2.5" SATA Hard Drive Laptop with Windows 11 Pro UEFI Installed Used
$50.00

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6Gb/s HDD | PC DVR CCTV | | 1Y
$55.95

Western Digital SN580 1Tb NVME SSD M.2 Storage Drive In MINT Condition
$135.00