
Remove/delete partitionĪ partition is a logical section on hard drive which can be divided into one or multiple partitions based on user’s requirements. This manual introduces 3 methods to delete partition, and you can use any of them to remove hard drive partition. Thank you so much for taking your time to read this post and any help would be greatly appreciated!ĮDIT: I was able to solve my problem thanks to the help of all the users who replied.Want to delete partition? It is easy to delete / remove partition from hard drive, USB drive, SD card, SSD or virtual disk. What did I do wrong and how can I go about fixing this? I entered "sudo fdisk /dev/sdb" and got just got back a bunch of information about the USB drive like its capacity, unit sectors, sector size, disk label: dos, and something about a disk identifier. I tried to repeat the process and thought maybe the deletion process hadn't occurred properly. I also used "lsblk" command and the kernal shows that the USB drive still has the 1st and 3rd partitions on it. I then entered the following command "sudo fdisk -l | grep sdb" and kernel responded with "Disk /dev/sdb: 29.9 GiB, 32080200192 bytes, 62656642 sectors". The new table will be used at the next reboot." The kernel responded with "Failed to remove partition 1 from system: Device or resource busy" and "Failed to remove partition 3 from system: Device or resource busy" followed by the message "The kernal still uses the old partitions. I thought I was done deleting all three partitions and was ready to "write" the changes by executing the write command (w). I didn't realize that when I decided to delete the final partition it no longer asks for a number since it's the last one I think.

I did this in reverse order (3,2,1), but when I hit 1 the kernal responded with "1:unknown command". sdb3 28 gigabytes /media/my username/writableĪs per the instructions of the article I read, I used the delete command (d) followed by inputting a number.sdb1 1.9 gigabytes /media/my username/Linux Mint 20.1 Cinnamon 64-bit.It had a total capacity of 29.9 GB, was verified to be the USB drive (Drive model: Flash Drive), and had a 3 separate partitions. I used this link to help guide me: ( ) and I was also able to install GPartedīefore I made any changes, I made sure I was in the correct drive by using the print command (p) and the kernel responded back with the information of my USB drive. On Windows I would go to Disk Management and delete all the separate partitions on the USB drive and then create a new simple volume and use a default format like NTFS.

However, now that I have it installed on my laptop, I want to repurpose it for regular use or maybe go back and create an installation media for Linux Arch. I have a USB drive that I previously used to create an installation media for an older version Linux Mint.
