You should get message: DiskPart successfully deleted the selected partition. To see partitions on selected drive type: list partitionĪnd select partition (change X with the partition number you want to select): select partition Xįinlay delete partition on USB disk which you need to delete: delete partition Select USB disk number (change X with the your USB disk number): select disk X In my case USB disk shows as Disk 3, in your case you will see other disk number: To see all USB disks and disk drives connected to your computer type: list disk Now we need run DiskPart utility type: diskpart Press Windows Key, and type cmd, on Command Prompt mouse right click and chose “Run as Administrator”:
Open Windows 10 Command Prompt (CMD) as administrator:
Insert your USB drive which showing incorrect disk space into USB port. !!! Before start make any changes backup your files, and make sure you selected right disk! Windows have very powerful tools like DiskPart and Disk Management tool for working with disk partitions, like create new partition, delete partition, format disk.
In this tutorial we will fix USB flash drive capacity in Windows 10 without using any 3-rd party programs.
Go on to /dev/sda4 and right-click on it and it opens an option menu like below.In this article i will show how to fix USB drive when showing wrong size USB drive showing wrong disk space is not a rare problem.
Step 1: We will shrink /dev/sda4 by 10GB to create a new ext4 partition.
You can install GParted in Ubuntu with a single command using APT sudo apt install gparted GParted is used for creating, deleting, resizing, moving, checking, and copying disk partitions and manipulating file systems such as exfat, fat32/64, ext2/3/4, Linux-swap and more. GParted is the official GNOME partition-editing application. GParted(GNOME Partition Editor) is a Graphical user program based on GTK which allows Disk Partitioning with just a click of the buttons. Learn more about Disk Partitioning in Linux What is GPartedĭisk Partitioning in Linux is done using command line programs like fdisk. With the partition table, each partition can appear on the operating system as a logical disk, and users can read and write data on those disks. When a partition is created, the disk will store the information about the location and size of partitions in the partition table.