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

kar*_*k87 1 partitioning

我想从现有的根分区创建一个新分区。我的根分区大约是 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
Run Code Online (Sandbox Code Playgroud)

psu*_*usi 6

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