Diskpart: Fix RAW Partition in Windows 11, 10, 8, 7  

Diskpart: Fix RAW Partition in Windows 11, 10, 8, 7


Table of Contents
  1. Overview of the RAW partition
  2. How a RAW partition comes?
  3. How to use Diskpart to fix RAW partition (by formatting)?
  4. Free Alternative to Diskpart-fix RAW partition without formatting
  5. Final Words

Overview of the RAW partition

A RAW partition is an unformatted partition that Windows can't recognize, making its data inaccessible. This issue can occur on various storage devices, including hard drives, USB drives, SD cards, and more. If a Windows system partition becomes RAW, the OS won't boot, and the data on that partition will be inaccessible.

How a RAW partition comes?

A hard drive becomes a RAW partition when it is no longer recognized by the operating system due to various reasons. Some possible causes include: file system corruption, virus or malware infection, disk errors, power outages, or physical damage to the drive. Additionally, running disk cleanup or disk formatting tools can also lead to a RAW partition if not done properly. Furthermore, a RAW partition can also occur if the drive is not properly initialized or if the file system is not properly formatted.

•virus infection or malware;

•damaged file system structure or MBR partition table;

•the formatting process is interrupted and fails;

•bad sectors exist on the hard drive;

•unexpected power outage;

•accidental OS shutdowns.

How to use Diskpart to fix RAW partition (by formatting)?

When a partition becomes RAW, users can try running CHKDSK to check bad sectors, but it will fail with an error message. Instead, using the Diskpart command line is another option to fix the RAW partition.

The Diskpart command can repair a RAW hard drive by formatting it to a compatible file system like FAT32 or NTFS. To convert a RAW drive to FAT32 using Diskpart commands, follow these steps: first, open the Command Prompt as an administrator and type "Diskpart" to enter the Diskpart utility; next, list the disks available using the "list disk" command and identify the RAW drive; then, select the RAW drive using the "select disk" command; after that, clean the drive using the "clean" command; finally, format the drive to FAT32 using the "format fs=fat32" command. This process will convert the RAW drive to a compatible file system, making it usable again.

Warning: Formatting the RAW partition will erase all data saved on it, so to avoid data loss, it's recommended to recover data from the RAW partition using Deep Data Recovery beforehand.

1. To open a command prompt window, press the "Win" key and the "R" key at the same time, which will open the Run dialogue window. In this window, type "cmd" and press the Enter key.

2. Then input the following command in sequence and press Enter after every command.

RAW To FAT32 Diskpart

3. Type "exit" and press "Enter" to close the Command Prompt.

If your drive is in RAW format, you can try running the Diskpart commands to repair it. First, open the Command Prompt as an administrator, then type "diskpart" and press Enter.

If these Diskpart commands process successfully, the RAW partition will be fixed and formatted to FAT32 or NTFS.

Free Alternative to Diskpart-fix RAW partition without formatting

If you're not familiar with using Diskpart to fix a RAW partition or want to repair a RAW drive without formatting, a free alternative to Diskpart is Qiling Disk Master Standard, which supports Windows 11/10/8.1/8/7/XP/Vista 64-bit and 32-bit.

This software enables you to repair damaged MBR and check for bad sectors, eliminating the need to format the RAW partition using the command prompt. It can also fix issues caused by damaged MBR and bad sectors, which can lead to RAW partitions. Additionally, if you encounter the "The volume size is too big" error when trying to format a large RAW drive to FAT32 using Diskpart, this software can help you format the drive successfully.

1. Rebuild MBR of the RAW drive

Step 1. Install and run Qiling Disk Master. Click the disk you want to fix and select "Rebuild MBR" from the right navigation pane.

Rebuild MBR Unallocated

Step 2. Select a proper MBR type for your current operating system.

Set MBR Type

Step 3. Click "Proceed" to commit the pending operation.

2. Check bad sectors on the RAW partition

When you can't run CHKDSK to check for bad sectors, you can use Qiling Disk Master to perform the task instead.

Step 1. Open Qiling Disk Master, right-click the RAW partition and select "Advance" then "Check Partition".

Check RAW Partition

Step 3. In the Start window, click "Start" and wait for the process to complete.

Start Check RAW Partition

Bonus tip: how to fix raw internal hard drive without formatting

If your internal hard drive becomes RAW and Windows can't boot properly, create a bootable USB drive using Qiling Disk Master Standard on a working computer. Then, boot your PC with the RAW internal hard drive using the USB drive, and use the methods above to fix the RAW drive without formatting.

Make Bootable Media

Final Words

Now that you know how to use Diskpart to fix a RAW partition by formatting, and Qiling Disk Master to repair a RAW drive without formatting, you're all set. If you want to enjoy more advanced features like recovering lost partitions, migrating your OS drive to an SSD, or creating a Windows 11 to go USB with your current system, you can simply upgrade to Qiling Disk Master Professional.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it