Partition problem

Mario Vukelic mario.vukelic at dantian.org
Sat Oct 25 12:03:04 UTC 2008


On Sat, 2008-10-25 at 11:03 +0200, Nils Kassube wrote:
> 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. 

You are correct, I did miss that completely. Sorry, Karl.

> Therefore I 
> think it would be sufficient to only resize the extended partition. Then 
> there should be plenty of space for new logical partitions. 

Yeah, that should work

> 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.

AFAICT fdisk can only create and delete partitions (and do other stuff
that does not apply here):

mario at chronic: ~ $ sudo fdisk /dev/sda
<snip>
Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): q
mario at chronic: ~ $






More information about the ubuntu-users mailing list