如何从现有分区创建新分区?

我想从现有的根分区创建一个新分区。我的根分区大约250GB。我想创建一个新的分区,说150 GB占用这个根分区的空间。任何人都可以帮我完成这个程序吗?

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 

从livecd启动并运行gparted。 您似乎也有重复的交换分区,因此您应该删除其中一个。