Ubuntu – How to create a new partition from the existing partition

partitioning

I wanna create a new partition from the existing root partition.My root partition is about 250GB.I wanna create a new partition say 150 GB taking space from this root partition.Can anyone help me with the procedure on doing this?

output: fdisk -l

karthick@karthick:~$ sudo fdisk -l
[sudo] password for karthick: 

Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x28219744

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          61      487424   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              61       30395   243650561    5  Extended
/dev/sda5              61         124      498688   82  Linux swap / Solaris
/dev/sda6             124         186      498688   82  Linux swap / Solaris
/dev/sda7             186       30395   242651136   83  Linux

Best Answer

  • Boot from the livecd and run gparted. You also appear to have duplicate swap partitions so you should get rid of one of those.