How to Fix Windows Cannot Be Installed on Drive (0)

To install your operating system, you need a drive or partition available to copy all of the files. This drive or partition needs to have a partitioning system. This system can be saved in two different ways: MBR, which stands for Master Boot Record, or GPT, which stands for GUID Partitioning Table.

Your partitioning system is installed based on your booting options and your operating system. If your computer is booting in Legacy BIOS, the MBR system will be installed. However, if you boot in UEFI mode, the GPT system will be installed. There’s a way to differentiate between both at the moment of installation: the first one (Legacy BIOS) will create a 100MB partition for this table, whereas the latter (UEFI) will create a 500MB partition. This partition will automatically be hidden by the system.

Unfortunately, both partitioning systems are not compatible, and during installation, if not set up properly, you may encounter an error stating that Windows cannot be installed on your disk. Please see the following for how to resolve this issue.

Method 1: Erase your drive to avoid incompatibility with previous partitioning systems

  1. Boot your computer with the Operating System installer.
  2. Start the installation process until you get to the system partitioning part.
  3. Select the primary partition where you want to install Windows, click on ‘Drive Options‘, then click on ‘Delete.
  4. Once your Disk has only one entry for unallocated space, click on New.
  5. Windows will alert you about a new partition being created; select ‘Yes‘ to confirm. Windows will create a partition of the specified size. This could take 100MB or 500MB, depending on the partitioning system applied.
  6. Select the partition where you want to install the system and press next.

Method 2: Select the correct option for booting, Legacy BIOS or UEFI

  1. Turn on your computer and immediately press F2, F12, DEL, or F10 to access your BIOS Setup. The key to access your BIOS might vary depending on your PC manufacturer.
  2. Once in the BIOS/UEFI search for Booting Options (refer to your PC manual for exact location).
  3. Look for an option called UEFI/BIOS Boot Mode and select either Legacy or UEFI. If your hard drive was previously using GPT and you are currently booting in Legacy BIOS, there could be compatibility issues, and the inverse also stands. If you see…
  4. Once you have changed the Boot mode, restart your computer and boot from your installation media.

Method 3: Change the partitioning table from GPT to MBR (Please backup your data if any)

  1. Boot from installation media.
  2. Click install but don’t continue with the process, instead, press Shift + F10 to open the command prompt.
  3. Type diskpart and then type list disk.
  4. Search for the disk you wish to convert and type ‘select disk 0‘. (Replace ‘0’ with the number of the disk you want to convert).
  5. Type ‘convert mbr‘, and then type ‘quit‘.
  6. Continue with the installation process.

Method 4: Erase the partitioning system through the command prompt

  1. Boot from your installation media.
  2. Click install but don’t continue with the process, instead, press Shift + F10 to open the command prompt.
  3. Type diskpart and then type list disk.
  4. Search for the disk you wish to convert and type ‘select disk 0‘. (Change 0 to the number of the disk you want to convert).
  5. Type ‘clean‘ and wait until it’s done, then type ‘exit‘.
  6. Continue with the installation process.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

10
    JU
    Junaid Jul 8, 2018

    Thanks, selecting the uefi boot option get the installation started for me. Thank you again for saving me lots of time.

    GI
    Global coolaid with ice Jul 18, 2018

    Thanks for the guide. Method 4 worked for me.

    BW
    Babangida Michael Wunduh Aug 26, 2020

    Very helpful.I am using Lenovo Ideapad S145 14-inch laptop.It was giving me the message… “Windows can not be installed on disk 0 partion 2″If I click for details it says….”Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI system, Windows can only be installed to GPT disks”I enabled UEFI from BIOS startup page. Then I used the command prompt by the bootable media (Installation Disk) to select “Repair Computer> Troubleshoot>Command prompt and I changed the MBR mode to GTP mode using the diskpart commands and it worked.Thank you.

    Reply
    BW
    Babangida Michael Wunduh Aug 26, 2020

    I am using Lenovo Ideapad S145 14-inch laptop.It was giving me the message… “Windows can not be installed on disk 0 partion 2″If I click for details it says….”Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI system, Windows can only be installed to GPT disks”I enabled UEFI from BIOS startup page. Then I used the command prompt by the bootable media (Installation Disk) to select “Repair Computer> Troubleshoot>Command prompt and I changed the MBR mode to GTP mode using the diskpart commands and it worked.Thank you.

    CL
    Cloudyriff Mar 2, 2021

    Thanks Kevin you help me, not just this time either I recognize your beautiful face from other articles too, I think for linux os too!

    EL
    Elissa Apr 20, 2021

    I tried all of these but they didn’t work, but then disk 0 didn’t show up in disk list or in the window to select where to download it. Now the installer doesn’t load either?

      MZ
      Muhammad Zubyan Author Apr 21, 2021

      Hey Elissa,

      It seems like you have tried to convert a different Disk. We specifically mentioned that change the “Disk 0” to the disk number you want to convert. It seems like you have lost all the data you had in that Disk partition. Do you have the backup of your data?

      FR
      frustrated Apr 30, 2021

      i did all the methods,didnt worked either ,then i got frustrated and pressed “refresh” on disk selection window and it worked

      Reply
    CR
    CreativiTimothy Jan 29, 2022

    If the disk finally shows up in the Windows Setup after method 4 of cleaning the partition, but when I press “Next” on the “Where do you want to install Windows?” screen it freezes, what should I do?

      MZ
      Muhammad Zubyan Author Feb 6, 2022

      I suggest you to wait at least 30 Minutes then if that doesn’t work it means that the files aren’t loading properly I suggest you to simply remove the Installation disk and try a new one.