On Sat, Nov 18, 2006 at 10:34:56AM -0600, Venkat Chandra wrote:
> I am trying to mount the root filesystem of a FC 5 installation from a
> Knoppix Live CD. The root filesystem is setup on a logical volume.
> 
> From Knoppix, fdisk -l gives me:
> 
> root at 1[knoppix]# fdisk -l
> 
> Disk /dev/sda: 80.0 GB, 80000000000 bytes
> 255 heads, 63 sectors/track, 9726 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        4462    35840983+   7  HPFS/NTFS
> /dev/sda2            4463        4475      104422+  83  Linux
> /dev/sda3            4476        9726    42178657+  8e  Linux LVM
> 
> So when I try to mount /dev/sda3 on a mount point (say on an existing
> directory /mnt/linux), mount asks for the type of filesystem. I know it's
> ext3 and I specify the same. It spits an error saying that it can't find an
> ext3 filesystem on /dev/sda3.

/dev/sda3 is a LVM physical module, so you cannot mount it directly.

> Here's the /etc/fstab on FC 5:
> 
> [root at FC5 ~]# cat /etc/fstab
> /dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
> LABEL=/boot             /boot                   ext3    defaults        1 2
> devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
> tmpfs                   /dev/shm                tmpfs   defaults        0 0
> proc                    /proc                   proc    defaults        0 0
> sysfs                   /sys                    sysfs   defaults        0 0
> /dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
> [root at FC5 ~]#
> 
> I tried mounting /dev/VolGroup00/LogVol00, and it says there's no such
> partition.
> 
> Any ideas on what I am doing wrong and how I can mount the "/" from Knoppix?

Have you tried running "vgscan" first?  It should scan the disks and
rebuild the device nodes.

florin

-- 
If we wish to count lines of code, we should not regard them as lines
produced but as lines spent.                       -- Edsger Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20061118/81a4aaec/attachment.pgp