User:Nihadnagi

From ArchWiki

Edit Partitions Manually

This is applies if you need to change an extended partition with a logical drive to a simple or a primary partition.

1.Export the partitions using

sudo sfdisk -d /dev/sda > partitions.txt

2.Make the changes, this usually involves change the Type integer.


3.Import the edited changes using

sudo sfdisk --force /dev/sda < partitions.txt