Yes, /dev/sda1 is my primary drive, and /dev/sda2 is the secondary drive in the 
ex-RAID.  It is where the data I was wanting to get from the backup is.

You are right in the fact that this is an extended partition.  There should be two 
partitions on it: 1) the mirror of "/" 2) the mirror of "swap".

======================================================
[root@login admin]# fdisk -l /dev/sda2
{nothing}
[root@login admin]# fdisk -l /dev/sda1
Disk /dev/sda1: 255 heads, 63 sectors, 1045 cylinders
Units = cylinders of 16065 * 512 bytes
Disk /dev/sda1 doesn't contain a valid partition table
======================================================

How would I go about mounting the old "/" off of /dev/sda2?

Thanks for all your help.
Caleb Newville - MPS WebCrew


>>OK, my question is now "how do I mount it?".  I want to mount the mirror 
>>of the "/" partition from inside dev/sda2.  Does me a lot of good having a 
>>backup when I can't get inside it!
>
>Huh?  I'm not following you.  Your partition table looks like this 
>according to fdisk:
>
> >Disk /dev/sda: 255 heads, 63 sectors, 1112 cylinders
> >Units = cylinders of 16065 * 512 bytes
> >
> >    Device Boot    Start       End    Blocks   Id  System
>>/dev/sda1   *         1      1046   8401963+  83  Linux
>>/dev/sda2          1047      1112    530145    5  Extended
>>/dev/sda5          1047      1112    530113+  82  Linux swap
>
>/dev/sda1 is a regular Linux ext2 partition and I would *guess* that it's 
>probably mounted as "/"
>
>/dev/sda2 is an extended partition or to put it another way a "container" 
>for other partitions.  You can't directly mount it.  Notice the start 
>cylinder of 1047 and the end cylinder of 1112.
>
>/dev/sda5 is a logical partition, type 82 (Linux swap), contained within 
>/dev/sda2.  Notice the start/end cylinder values equal those of the 
>extended partition.  This means the swap partition is using all the 
>available space in the extended partition.  I'm also guessing that it's 
>already mounted as your swap partition.  Therefore, there's nothing left to 
>mount on this disk.  If this is your boot disk then perhaps your mirror of 
>"/" is on a different physical drive?  If there's more than one disk in the 
>box run the same "fdisk -l" command on it - perhaps that's where your 
>missing mirror is.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to