The error 0x8004242d “Could not format selected partition” has been fixed

error 0x8004242d - Could not format selected partition

The “Selected partition could not be formatted” error (error 0x8004242d) occurs when a user tries to format, merge or install an operating system to disk using Windows 7, Windows 8.1, and Windows 10 installation media. Most of the affected users who encounter this problem try to install the operating system properly, but this error prevents them from doing so.

In most cases, this problem is caused by an inconsistency in the master boot file. It is either a missing file or a corrupted file. But whatever the cause, you can probably solve the problem by deleting all the partitions instead of trying to reformat them.

In this article by IR Cache, we will show you how to solve partition formatting problems with DiskPart and other methods that will help you solve the problem.

Why did error 0x8004242d “The selected partition cannot be formatted” occur

Why did error 0x8004242d "The selected partition cannot be formatted" occur

If you are having the same problem with formatting the selected partition, don’t worry. In this part, you will learn about the reasons that prevent you from installing Windows OS on the target drive.

So, what caused error 0x8004242d during Windows installation? Check out the list below. The reason for error 0x8004242d: The selected partition cannot be formatted:

  • There is a corrupted file system on the installation disk.
  • Windows is not compatible with the mass storage controller or mass storage driver.
  • The mass storage controller or mass storage driver is out of date.
  • The data cable on the computer is leaky.
  • The hard disk on which you want to install Windows is a dynamic disk.

To fix error 0x8004242d “The selected partition cannot be formatted”

To fix error 0x8004242d "The selected partition cannot be formatted"

Cleaning the disk with Diskpart

Cleaning the disk with Diskpart can resolve error 0x8004242d (but also removes data from the disk).

  1. To do this, open a command prompt by typing cmd at the Run prompt and pressing Ctrl + Alt + Enter.
  2. Users can open the command prompt from the Windows Setup window by clicking Restore Computer -> Troubleshooting -> Command Prompt.
  3. Enter the disk partition at the command prompt and press Enter.
  4. Enter a list of disks at the command prompt and press Return to display the list of disks.
  5. On the command line, select drive x (replace x with the actual drive number) and press Enter. Make sure you select the correct disk, as clearing the disk erases the data on it.
  6. Type “Clear All” at the command prompt and press “Enter”.

Converting a Dynamic Disk to a Simple Disk

  1. Some users may need to convert their disks to basic disks to resolve error 0x8004242d. To do this, first, save the dynamic disks you want to convert to basic disks (you will delete them).
  2. Press the Windows + R key combination, which will open the Run command.
  3. Type diskmgmt.MSC in the Open from Run field, and then click OK.
  4. The Disk Management window shows whether the volumes are simple or dynamic in the Type column. From here, right-click on each dynamic volume and choose Remove Volume.
  5. Then right-click on the disk and select Convert to Master Disk.

Disabling UEFI boot support

The 0x8004242d error can also occur if UEFI boot support is enabled on systems that support both traditional BIOS and UEFI boot mode.

  1. To solve this problem, you need to press a BIOS setup key (e.g. F2, F4, F6, etc.) immediately after turning on your desktop or laptop computer.
  2. When you are in the BIOS settings, select the Boot tab.
  3. Then select the UEFI/BIOS boot mode option to select Legacy (BIOS) instead of UEFI.

Be careful with solutions 1st and 2nd, as both will erase data from the selected disk or volume.

Frequently Asked Questions

  1. Delete all partitions.
  2. Clean the hard disk with Diskpart.exe.
  3. Disconnect the bootable USB stick.

  1. Remove all unnecessary hard drives.
  2. Try plugging the installation media into a different USB port.
  3. Make sure that the target drive is at the top of the computer's boot order.
  4. Format the installation location.
  5. Replace the hard drive.

  1. Insert the installation disk.
  2. Reboot your computer and boot from the disk.
  3. Click Restore computer.
  4. In the System Restore Options screen, select the command line.
  5. Run the following commands: bootrec / fixboot bootrec / scanos bootrec / fixmbr bootrec /r ebuildbcd.

  1. Booting Windows 10 from a bootable USB stick or DVD.
  2. If you get the error message "We couldn't create a new partition", close the installer and click Restore.
  3. Select More Tools and then Command Prompt.