On Wed, May 31, 2000 at 05:25:55PM +0200, Jean-Louis Debert wrote:
-> Charles Curley wrote:
-> > 
-> > On Wed, May 31, 2000 at 09:36:01AM -0400, [EMAIL PROTECTED] wrote:
-> > -> This is my partition table:
-> > ->
-> > -> Disk /dev/hda: 240 heads, 63 sectors, 1299 cylinders Units = cylinders of
-> > -> 15120 * 512 bytes
-> > ->
-> > ->    Device Boot    Start       End    Blocks   Id  System
-> > -> /dev/hda1             1       277   2094088+   6  FAT16
-> > -> /dev/hda2           278       556   2109240    5  Extended
-> > -> /dev/hda3   *       557       563     52920   83  Linux
-> > -> /dev/hda4           564      1268   5329800   83  Linux
-> > -> /dev/hda5           278       556   2109208+   7  HPFS/NTFS
-> > ->
-> 
-> > Other, your partition table is royally clobbered.
-> > 
-> > hda1-4 should be either primary or extended partitions. Logical partitions
-> > should be hda5 and up. Notice the cylinders of hda5: it occupies the same
-> > space on the drive as hda2. You have a primary partition, hda1, and two
-> > extended partitions that overlap, then two more primary partitions. One of
-> > the extended partitions is not numbered correctly and should not even
-> > exist.
-> 
-> Sorry, this is _not_ what it says, and you seem not to have clearly
-> understood the meaning of the partition table(s).
-> A secondary partition is always in the primary table, that is, 
-> it is always one of hd?[1-4]  
-> This is just a _container_ for the _logical_ partitions that
-> are in hd?[5-63]  

Oops, you are right, I did misread it. Thanks for catching that.

I gather by "secondary" you mean what Microsoft calls an extended
partition.

-> 
-> You can perfectly well have hda1, hda3 and hda4 as primary partitions,
-> and hda2 as secondary (this is what I use at home) and here, it looks
-> like this same configuration.
-> 
-> The fact that hda5 uses the same _cylinder_ values as hda2 is 
-> perfectly correct, too. It just means that the _logical_ partition
-> (hda5) completely fills the secondary partition (hda2) which
-> is just a "container" anyway. In other words, he has only
-> one logical partition, filling completely the extended partition.
-> This is absolutely legal ... 
-> Notice also that none of the 4 partitions hda[1-4] overlap,
-> which _would_ be incorrect.
-> 
-> Having missed the beginning of the thread, I don't know what 
-> his problem is exactly, but if he wants only to reclaim the space
-> in the logical partition (hda5), I would suggest simply to 
-> delete it (with Linux fdisk) and then the space may be 
-> allocated at will inside the secondary partition (hda2) boundaries.

The original problem was that he had not created a swap partition and
wanted to know how to do so. I spotted the overlapping partitions when I
was looking at his partition table to see if there was a way short of
reinstalling.

-> 
-> -- 
-> Jean-Louis Debert        [EMAIL PROTECTED]
-> 74 Annemasse  France
-> old Linux fan

-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

Reply via email to