"We couldn't create a new partition or locate an existing one. For more information, see the Setup log files".
The error "we couldn't create a new partition" would probably occur when we try to clean install the second OS using the bootable USB drive, to dual boot Windows 11/10 with Windows 7 or Windows 8. By choosing custom install and selecting the drive where the OS supposed to install, Windows says that it couldn't create a new partition or locate an existing one.
The following table shows a quick overview of all 'Windows couldn't create a new partition' scenarios and possible solutions. Click to see the full solutions to fix 'we could not create a new partition or locate an existing one' Windows 11/10 USB, error 0x8004240f, 0x80042468, SSD, RAID, unallocated space, and many other related errors.
1. During Windows 11/10 Installation
2. Error 0x8004240f, 0x80042468
When you encountered this error message, it's probably because there are some peripherals connected, such as an external HDD, SSD, USB thumb drive/flash drive, or an SD card. Just remove and disconnect all external storage drives from the USB port. If you're using a USB drive containing setup files to install OS, reconnect only the bootable USB drive and start again.
Sometimes you need to take further steps to fix "we couldn't create a new partition or locate an existing one" error. Generally, the partition that holds Windows setup files and boot files should be set as primary, which requires the help of Diskpart in Windows. About how to start and run Diskpart commands to fix the issue, please follow the guide carefully.
Step 1. Start Windows 11/10/8.1/8/7/XP/Vista setup using a bootable USB or DVD.
Step 2. If you get the We couldn't create a new partition error message, close the setup and click the "Repair" button.
Step 3. Choose "Advanced tools" and then select "Command Prompt".
Step 4. When Command Prompt opens, enter start diskpart.
Step 5. Now enter list disk. You should see the list of all hard drives connected to your computer.
Step 6. Find the number that represents your hard drive and then enter select disk 0 (we used 0 as an example, so be sure to replace 0 with a number that matches your hard drive).
Step 7. Enter the following lines and press Enter after each line:
Step 8. Enter exit in order to close the Command Prompt.
Step 9. Start the installation process again.
Repeat the steps (1-4) above to open the Diskpart first. Run Diskpart commands we taught as below, and try to set the partition where you want to install Windows OS as active.
Step 1. Enter list disk.
Step 2. You should see the list of available hard drives. Locate your hard drive and enter select disk 0. We used disk 0 in our example, so be sure to replace 0 with a number that represents your hard drive.
Step 3. Enter list partition.
Step 4. A list of available partitions will appear. Locate the partition on which you want to install the Windows system and enter select partition 1. Remember to replace 1 with a number that matches your partition.
Step 5. Enter active.
Step 6: Type exit and press "Enter" to exit the Command Prompt.
Diskpart is somewhat complex to operate, users should be careful to apply it. If you want to avoid any mistake, turn to a Diskpart alternative - Qiling Partition master. It's a third-party disk & partition magic software, which is simple and powerful to solve the "we couldn't create a new partition or locate an existing one" error by setting the desired partition primary & active.
Step 1. Launch Qiling Partition Master, click the partition you intend to format and choose "Format" in "Disk management" page.
Step 2. In the next window, set the Partition label, File system, and Cluster size for the partition, then click "Proceed".
Step 1. Run Qiling partition manager software. On the "disk management" page, select the traget partition and choose "Set active".
You must try to create a bootable USB drive to boot your computer and install Windows 11/10 if Windows cannot create a new partition happened to the Media Creation Tool. This kind of error would likely be solved by using third-party tools, and Qiling Partition Master can help you create a bootable USB drive to format a hard drive, check partitions, or create a new partition on unallocated space.
Follow the steps to create the Qiling Partition Master bootable USB drive:
Step 1. To create a bootable disk of Qiling Partition Master, you should prepare a storage media, like a USB drive, flash drive or a CD/DVD disc. Then, correctly connect the drive to your computer.
Step 2. Run Qiling Partition Master. And click "Create bootable media" in the tools page.
Step 3. You can choose the USB or CD/DVD when the drive is available. However, if you do not have a storage device at hand, you can also save the ISO file to a local drive, and later burn it to a storage media. Once made the option, click the "Proceed" button to begin.
When the process finishes, you have successfully created an Qiling Partition Master WinPE bootable disk. Now, you can manage your hard disks and partitions through the bootable drive whenever the computer fails to boot normally.
If you have RAID drives, load the RAID driver first by clicking Add Driver from the menu bar, which can help you add the driver of your device under WinPE environment, as some specific device cannot be recognized under WinPE environment without drivers installed, such as RAID or some specific hard disk.
Partition styles would affect the Windows 11/10 installation result. If you know MBR and GPT for a little, you should know that MBR has a limitation that they can only work with drives that are less than 2TB in size. However, GPT doesn't have a size limitation. You might be able to fix the We couldn't create a new partition error by converting the MBR partition to GPT partition.
Generally, there are three methods to convert MBR to GPT. You must be careful with the given methods because using Windows Disk Management and Diskpart will cause data loss. To fix the Windows couldn't create a new partition error without losing data, the only choice is with Qiling Partition Master, which converts MBR to GPT directly with nothing to be touched.
Another chance to get the [We couldn't create a partition or locate an existing one] is that Windows recognizes the wrong boot device. To fix this problem, you'll need to change the hard drive sequence and set the USB drive as the first boot device.
Step 1. According to your motherboard manual, you should press the matched key to enter into BIOS. Usually, it's F12, F10, F1, F2 or CTRL + ALT + ESC...
Step 2. Use the mouse arrow to move the connected USB drive to the top under the boot device menu.
Step 3. Restart the PC and let Windows boot from the USB drive this time. Start the installation process again.
"We couldn't create a new partition or locate an existing one" is not the only error message we would encounter during the Windows 11/10 installation. There are other commonly known Windows installation errors that prevent us from installing a Windows 11/10 operating system from the beginning.
If you happen to receive the persistent "Windows could not complete the installation" error and system reboot loop over and over, you're probably trying to install Windows 7/Windows 11/10 x64 operating system, or perhaps the fresh Windows installation is interrupted before a user account is created. You got three fixes to remove the error Windows cannot complete the installation.
It's the error that happened to Windows Media Creation. When the Windows won't install from USB, you'll try to fix it by checking if the USB drive is bootable, making sure that your computer supports to boot from USB, and set your computer to boot from the USB.