Partition problem

Karl Larsen k5di at
Sat Oct 25 16:06:12 UTC 2008

Nigel Henry wrote:
> On Saturday 25 October 2008 15:14, Karl Larsen wrote:
>> Karl Larsen wrote:
>>> Nils Kassube wrote:
>>>> Mario Vukelic wrote:
>>>>> So, you  first need to shrink the logical partitions and then you
>>>>> can add new logical partitions in the free space inside the extended
>>>>> partition.
>>>> I think you missed the problem. The extended partition doesn't use the
>>>> space of the disk to the end. Therefore there is no need to shrink
>>>> existing partitions. If you look at the fdisk output it says there are
>>>> 19457 cylinders while the extended partition ends at 5598. Therefore I
>>>> think it would be sufficient to only resize the extended partition. Then
>>>> there should be plenty of space for new logical partitions. I suppose
>>>> that can be done with fdisk, but as I am not sure (and I don't have a
>>>> spare disk to test it), I can't advise doing it.
>>>> Nils
>>>     It was tried with parted and it didn't work on an Extended
>>> partition. I will try working from a CD and see if that changes anything.
>>> Karl
>>     I just tried parted on the Hardy liveCD and it works exactly like it
>> did on this Hardy on my hard drive.
>> Karl
> Hello Karl. What's it like down in New Mexico today? It's nearly 5pm in 
> Northern France, but I suppose it's still morning there.
> Anyway. Meanwhile, and back to the ranch. How about downloading, and burning 
> the iso for the Gparted Live CD. Link below.
> I havn't tried it for resizing an extended partition, but it certainly worked 
> for resizing an NTFS partition, where other partitioning tools failed.
> All the best.
> Nigel.
    Well Nigel it is really bad now. I tried to re-make a Extended 
partition with fdisk and failed. When I delete /dev/sda4 which was a 
Extended partition I can delete it and make the proper new one size wise 
which is a linux partition. I then use t to change the type to Extended 
which is 5 and this happens:

Command (m for help): t
Partition number (1-4): 4
Hex code (type L to list codes): 5
You cannot change a partition into an extended one or vice versa
Delete it first.

    Great advice but no way to do it :-)



	Karl F. Larsen, AKA K5DI
	Linux User
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7

More information about the ubuntu-users mailing list