How To Delete Partition In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. First, open a terminal window and make sure you are logged in as root.
2. Type fdisk -l to list all partitions on your system.
3. Note the partition to delete and make sure it is not mounted.
4. Type fdisk /dev/<partition-name> to enter the partition.
5. Type d to delete the partition.
6. Type w to write the changes to the disk.
7. Type reboot to restart the system.
8. Finally, type lsblk to verify that the partition has been deleted.