Software⏱️ 4 min read📅 2026-06-11

How to Fix: Attribute “partition” not found - error when formatting USB flash drive

Attribute 'partition' not found error when formatting USB flash drive in Windows 7.

Quick Answer: The '-I' switch is used to specify the partition type, but it seems to be causing the issue. Try removing this switch and use a different method to format the drive.

The 'Attribute 'partition' not found' error occurs when the operating system is unable to locate or recognize a partition on a storage device, such as a USB flash drive. This issue typically affects users who have attempted to format or zero-wipe their USB drives using Linux-based tools and are now trying to access them in Windows 7.

This error can be frustrating, especially when it prevents the user from accessing important files stored on the USB drive. In this troubleshooting guide, we will explore the root causes of this issue and provide two primary methods to resolve it.

🔍 Why This Happens

  • The primary reason for the 'Attribute 'partition' not found' error is that the Linux-based tool used to format or zero-wipe the USB drive did not properly create a valid partition table. This can occur when using tools such as Disks, Gparted, or dd without proper configuration or options.
  • An alternative reason for this issue may be related to the type of file system used on the USB drive. For example, if the drive was previously formatted with a non-standard file system, it may not be recognized by Windows 7.

🚀 How to Resolve This Issue

Reformatting using Windows Disk Management

  1. Step 1: Open Disk Management in Windows 7 by typing 'diskmgmt.msc' in the Run dialog box (Windows key + R).
  2. Step 2: In the Disk Management window, locate the USB drive that is not recognized and right-click on it to select 'Delete Volume'.
  3. Step 3: Confirm that you want to delete the volume and then click 'OK'. This will remove any existing file system from the drive.
  4. Step 4: Next, right-click on the USB drive again and select 'New Simple Volume'. Follow the prompts to format the drive with a FAT32 file system.

Reformatting using Linux-based tools

  1. Step 1: Use the `fdisk` command to create a new partition table on the USB drive. Open a terminal and type 'sudo fdisk /dev/sdc' (replace '/dev/sdc' with the actual device name of your USB drive).
  2. Step 2: Press 'p' to print the current partition table, then press 'd' to delete any existing partitions. Press 'n' to create a new partition, and follow the prompts to specify the partition type as 'fat32'.
  3. Step 3: Once the new partition is created, use the `mkfs.vfat` command to format it with a FAT32 file system. Type 'sudo mkfs.vfat -I /dev/sdc' (replace '/dev/sdc' with the actual device name of your USB drive).

💡 Conclusion

In most cases, the 'Attribute 'partition' not found' error can be resolved by reformatting the USB drive using Windows Disk Management or a Linux-based tool. By following these steps, you should be able to create a valid FAT32 file system on your USB drive and regain access to its contents.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions