-   Linux - Hardware (
-   -   Mounting Extended Partition (

damica 01-14-2004 05:49 PM

Mounting Extended Partition

I am new to Linux so please forgive the stupid questions.

What I am trying to do is mount a second hard drive that shows several partitions on it. Some are of ext2 & ext3 which I can mount without any problems. However 1(One) partition shows the file type as EXTENDED how do I mount that partition so that I can see what is in it? I am using Red-Hat 9. There are 7 partitions on this hard drive I can mount all but the EXTENDED.

Thank You

Thymox 01-14-2004 06:14 PM

Welcome to LQ.

You cannot. You can only actually have a maximum of 4 Primary partitions on your harddrive: hda1 --> hda4. However, this is not usually very helpful. In this case, one of the primary partitions is marked as an 'extended' partition and houses many logical partitions hda5 --> hda?.

If you type (as root) fdisk -l /dev/hdb (or whatever your second harddrive is) then it should list the partitions in all their glory. Here's the output I get when I do that:

[root@grants gsewell]# fdisk -l /dev/hda

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hda1  *        1        6    48163+  83  Linux
/dev/hda2            7      643  5116702+  83  Linux
/dev/hda3          644      3192  20474842+  83  Linux
/dev/hda4          3193    10011  54773617+  5  Extended
/dev/hda5          3193      3319  1020096  82  Linux swap
/dev/hda6          3320      6604  26386731  83  Linux
/dev/hda7          6605    10011  27366696  83  Linux

As you can see, hda4 is an extended partition. Within that resided hda5-->hda7.

Did that make sense/

damica 01-15-2004 09:02 AM

Thank you so very much. I think I understand it now.

All times are GMT -5. The time now is 09:37 AM.