Home  >  Article  >  System Tutorial  >  Fix \'Windows Cannot Be Installed to This Disk\' Error

Fix \'Windows Cannot Be Installed to This Disk\' Error

王林
王林Original
2024-08-05 15:59:421101browse

If you receive the error message: "Windows cannot be installed to this disk. The selected disk is not of the GPT partition style", it's because your PC is booted in UEFI mode, but your hard drive is not configured for UEFI mode. When installing Windows on UEFI-based PCs using Windows Setup, your hard drive partition style must be set up to support either UEFI mode or legacy BIOS-compatibility mode. In such a situation, you can convert GPT to MBR or reboot the PC to boot to UEFI mode to fix the "Windows cannot be installed to this disk" error.

  • Fix 1: Convert MBR to GPT using MBR2GPT tool
  • Fix 2: Convert MBR to GPT by reformating the drive
  • Fix 3: Switch the firmware mode from legacy to UEFI

Fix 'Windows Cannot Be Installed to This Disk' Error

Fix 1: Convert MBR to GPT using MBR2GPT Tool

You can preserve your data and convert the drive using the MBR2GPT tool.

Step 1: Turn off the PC, and insert the Windows installation DVD or USB drive.

Step 2: Power on the PC and tap Boot Menu key until One-Time Boot Menu appears.

Step 3: Select the Windows installation DVD or USB in the menu and press Enter key.

Step 4: From the Windows Setup screen, press Shift+F10 to open a command prompr window.

Step 5: Then execute the following command to verify the disk if that is able to convert:

MBR2GPT.EXE /validate /disk:0

Fix 'Windows Cannot Be Installed to This Disk' Error

Step 6: After the disk validation successful, run the MBR2GPT command to convert Disk 0 into GPT partition so UEFI boot will boot the OS.

MBR2GPT.EXE /convert/disk:0

Fix 'Windows Cannot Be Installed to This Disk' Error

You may need to change the firmware to boot to UEFI mode before you power on your PC. More details, see Option 3. My new computer is already in BIOS boot mode to UEFI so I don't need to change.

Fix 2: Convert MBR to GPT by Reformatting the Drive

Step 1: Power off the PC, and insert the Windows installation DVD or USB drive.

Step 2: Boot the PC to the DVD or USB disk in UEFI mode.

Step 3: From the Windows Setup screen, press Shift+F10 key to open a command prompt window.

Fix 'Windows Cannot Be Installed to This Disk' Error

Step 4: In the Command Prompt window, type diskpart and press Enter key.

Step 5: Identify the drive to reformat by typeing list disk and press Enter key.

Step 6: Select the drive, and reformat it, type select disk (e.g. select disk 0 ) and press Enter key.

Fix 'Windows Cannot Be Installed to This Disk' Error

Step 7: Type Clean and press Enter key.

Step 8: Type convert gpt and press Enter key.

Step 9: Type exit and press Enter key.

Fix 'Windows Cannot Be Installed to This Disk' Error

Step 10: Close the command prompt window.

If you are installing Windows, continue with the Windows Setup process. When choosing an installation type, select Custom. The drive will appear as a single area of unallocated space.Select the unallocated space and click Next. Windows begins the installation.

Fix 3: Switch the firmware from Legacy to UEFI mode

When you receive "Windows cannot be installed to this disk. The selected disk has a GPT partition style", it means that your computer is currently starting in the old BIOS. To boot to UEFI, you need to check whether the firmware supports UEFI in the BIOS, and then change to the firmware in the available mode.

Step 1: Open the firmware menus.

  • PCを再起動し、メーカーのキーを押してメニューを開きます。使用される一般的なキー: Esc、Delete、F1、F2、F10、F11、または F12。起動中に、キーについて説明する画面が表示されることがよくあります。表示されない場合、または画面の表示が速すぎる場合は、製造元のサイトを確認してください。
  • または、Windows がすでにインストールされている場合は、サインオン画面またはスタート メニューから、電源 ボタン > を選択します。 Shiftを押しながら再起動を選択します。 トラブルシューティング > を選択します。詳細オプション > UEFI ファームウェア設定.

ステップ 2: ファームウェア メニューから [ブート] タブを選択し、[セキュリティ] > [セキュリティ] に移動します。セキュアブート 機能を無効にします。

ステップ 3: [ブートモード] をクリックし、[UEFI] を選択します。 F10 を押して保存して終了すると、Windows が正しくインストールされるはずです。

Fix 'Windows Cannot Be Installed to This Disk' Error

The above is the detailed content of Fix \'Windows Cannot Be Installed to This Disk\' Error. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn