Windows Setup could not create a new partition. Ranjan.info

During a clean installation of Windows 10 on a laptop from a USB flash drive install media, I encountered a strange error. When selecting the partition on which to install Windows, an error appeared:

We couldn't create a new system partition or locate an existing system partition. For more information, see the Setup log files.

At the same time, you can create and delete partitions in the Windows Setup window, but you cannot install the OS on any of the partitions.

To find out the cause of the problem, directly from the Windows setup screen, press and run Command Prompt Shift+F10,

List the contents of the Windows Setup error file (setuperr.log):

type X:\Windows\panther\setuperr.log

In my case, the log contained the following error:

Error [0x06069d] IBS GetMachineInfo:Couldn't find info for boot disk [0]

You may also see this message:

IBSLIB LogReasons: [BLOCKING reason for disk 0: CanBeSystemVolume] The selected disk is not the computer's boot disk.

The problem is that Windows Setup cannot create a new partition due to incorrect partition structure or multiple physical disks (USB drives, SATA/IDE HDDs, SSDs) available on the computer.

What can you do to install Windows on the problem disc? First, try the easiest ways:

  1. If multiple HDD/SSD drives are connected to the computer, try temporarily disconnecting them all except the one you want to install Windows on;
  2. Change the boot order in the BIOS/UEFI settings so that your hard drive comes first in the fixed boot order list. To boot the computer from the installation USB drive, open the boot menu at startup by pressing the F8-F12, Esc, F1 or F2key (depending on your device manufacturer and BIOS version). If the computer boots from the installation flash drive and Windows Setup starts, try to continue with the Windows installation as usual.
  3. If there is no important data on the disk, clean it by deleting all partitions in Windows Setup and try to install Windows in an unallocated space.

If the method described above did not help, copy the Windows installation files from the USB flash drive directly to your computer’s local drive and run the Windows installation from your HDD/SSD.

To do this, boot the computer from the USB flash drive and use Windows Setup Partition Manager to create a partition on which you want to install the OS. then press Shift+F10 On the Windows setup screen to open Command Prompt. Run the commands below:

diskpart

List disk The — command displays a list of disks connected to your computer. You should have two discs: disk 0 And disc 1 (One of them is a USB flash drive and the other is a computer hard drive). Find and select your hard drive by its size (by its number, in this example it’s disk 0):

select disk 0

Display a list of partitions on a disk:

list partition

Locate the partition number on which you want to install Windows. For example, it is division 1, Select this:

select partition 1

Activate partition:

active

Format the partition as NTFS and assign a drive letter M: For this:

format fs=ntfs quick
assign letter=M

The command below allows your USB flash drive to detect the specified drive letter (for example, this drive is C: in my case):

list volume

Close diskpart:

exit

Now you can copy Windows installation files from a USB flash drive (C:) to your hard drive (M:):

xcopy C: M: /e /h /k

After the copy is complete, update the boot sector on the hard drive and make it bootable:

bootsect.exe /nt60 M:

Shut down your computer and remove the USB stick. Next boot should start a normal Windows installation (using the installation files located on your local HDD/SSD).

After Windows setup is complete, you need to run msconfig and remove extra Windows Setup Boot entry from the Windows Boot Manager menu (boot tab). Restart your computer and delete Windows Setup files from your hard drive:

  • Directories: boot, efi, sources, support
  • Files: autorun.inf, setup.exe

delete windows setup files

You can also see “We couldn’t create a new partition or locate an existing oneError on Windows Server if you install OS on a San Lun which is accessible through multiple paths. Since the Windows Server Multipath (MPIO) module is not available in WinPE, you will need to change your SAN configuration so that the disk (LUN) is available from only one path.

If the error disappears after performing the actions described above, you may also see another error:

Windows cannot be installed on this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.

This means that your computer uses modern UEFI firmware instead of BIOS, and you cannot install Windows on a disk with an MBR partition table. To continue the installation, you must enable BIOS compatibility mode (this is called CSM or Legacy) in your UEFI settings or change the MBR partition table on the disk to GPT.

To convert MBR to GPT without data loss, use the mbr2gpt tool (it is available in WinPE). First, validate the disk. in this instance, disk 0 is the disk on which you want to change the partition table (you can get its number by using diskpart as shown above):

mbr2gpt /validate /disk:0 /allowFullOS

Then convert the partition table:

mbr2gpt /convert /disk:0 /allowFullOS

Learn more about the GPT disk structure for Windows (EFI, MSR partition) in this article.

Leave a Comment