We help IT Professionals succeed at work.

Why centos live cd so slow?

bxglxbxglx2000
bxglxbxglx2000 asked
on
I have 2 question about Centos Live CD ( CentOS-5.5-i386-LiveCD-Release2.iso)
1. It's very slow to start

2. After boot by CD, I want to mount local HDD, but It has error:

 
[root@livecd ~]# fdisk -l

Disk /dev/dm-0: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sda: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       13054   104751832+  8e  Linux LVM
[root@livecd ~]# mount -t ext3 /dev/sda2 /mnt/sda
mount: /dev/sda2 already mounted or /mnt/sda busy
[root@livecd ~]#

Open in new window


How to resolve?

Thanh you!
Comment
Watch Question

Commented:
You probably have a slow CD drive. Are other livecd's faster? Try the CD on another PC is it still slow?

Looks like sda2 is part of a Logical Volume. Run lvdisplay

Author

Commented:
I run on vmware, and use cd iso image
This is lvdisplay result

[root@livecd ~]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                dGd4s5-5sPC-ue2e-IsJe-0f4L-NQeV-heUSUu
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                98.88 GB
  Current LE             3164
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                MhjSPr-8OtW-ZDJK-rdPc-zfJV-1Z1h-5s93Ij
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.00 GB
  Current LE             32
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3

[root@livecd ~]#

Open in new window

Mount the Logical volume, from your output im guessing the larger (98G) one is the one your wanting to access.


mkdir /mnt/disk
mount /dev/VolGroup00/LogVol00 /mnt/disk
cd /mnt/disk
ls
Look at Line 23 from your post.  You probably already have the partition mounted.  It's likely at /media/XXX where XXX is the filesystem label if it exists.

Type "mount" to see what's mounted and where it's mounted.