Size of Extended partition changed

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Jul 21 14:02:08 UTC 2006


On Thu, Jul 20, 2006 at 10:07:12PM -0400, Merv Curley wrote:
> This is the second time this has happened to me.  My 80 Gig drive had the 
> usual 3 Primary part's and the extended to the end of the disk.  I have 
> several logicals with about 30 gigs free.
> 
> Yesterday I tried to create a new partition and found there was no space.  The 
> extended has changed its end point to the last created and formatted 
> partition.  The rest is now hidden.
> 
> QTparted can't change the end point, is there any other way of recovering all 
> that free space other than deleting all the logicals and changing the 
> extended end point?
> 
>  If I can recreate the logicals with the same start and end cylinders, is 
> there any chance they will still be ok?

What is the output of 'fdisk -l /dev/xxx' for that drive?

After all if you somehow ended up with this you would have a problem:

hda1 primary  cylinder 1 - 100
hda2 extended cylinder 101 - 1000
hda3 primary  cylinder 1001 - 2000
hda4 primary  cylinder 2001 - 3000
free space    cylinder 3001 - 4000
hda5 logical  cylinder 101 - 500
hda6 logical  cylinder 501 - 1000

I have managed to do that before, and having free space that is not
right after the extended partition means I can't add it to the extended
partition.  This is part of the reason I always use LVM now.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list