How do I resize a partition in Linux?

Mỹ An

New member
How do I resize a partition in Linux?
Answer
To resize a partition using fdisk :
  1. Unmount the device: …
  2. Run fdisk disk_name . …
  3. Use the p option to determine the line number of the partition to be deleted. …
  4. Use the d option to delete a partition. …
  5. Use the n option to create a partition and follow the prompts. …
  6. Set the partition type to LVM:
 

Tìm kiếm

Back
Top