How To Delete a 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 run the command sudo fdisk -l to list all partitions on your Linux system.
2. From the list of partitions, identify the partition you want to delete and note down its device name.
3. Now, run the command sudo fdisk /dev/[device name] to open the partition table of the device.
4. Type d to delete the partition and then press Enter.
5. Type w to write the changes to the disk and press Enter.
6. Finally, run the command sudo partprobe to apply the changes.