Situatie
After converting the physical disk of a Windows 10//11 UEFI computer to a Virtual Hard disk (VHD or VHDX) and attaching the VHD/VHDX file to a new VirtualBox machine, the VM couldn’t start with fatal error: INT18: BOOT FAILURE or the guest Windows 10 OS couldn’t start with error code: 0x0000225.
Solutie
Pasi de urmat
Enable I/O APIC & UEFI in VirtualBox.
The fatal error “INT18 BOOT FAILURE” in VirtualBox, commonly appears when you attaching a VHD/VHDX/VMDK file which contains an UEFI operating system. To fix this problem just proceed and enable UEFI on the VirtualBox machine’s settings. To do that:
- Press the X button to close the VM machine window and Power Off the machine.
-
Open the VM Settings and go to System > Motherboard.
-
Here ensure that the Hard Disk is checked and is the first boot device, and at Extended features check the following two (2) options and click OK:
-
Enable I/O APIC
-
Enable EFI (special OSes only)
-
- Try to start the Virtual Machine now. Hopefully it will start without error now.
Disable Hyper-V on Host machine
- Navigate to Control Panel > Programs and Features > Turn Windows features on or off
- Uncheck the following features and click OK to apply the change:
- Containers
- Hyper-V
- Virtual Machine Platform
- Windows Hypervisor Platform
- Windows Sandbox
- Restart the computer after uninstall.
- Open Command Prompt as Administrator.
- Type the following command and press Enter:
- bcdedit /set hypervisorlaunchtype off
- Reboot your PC again.
- After reboot, start the VirtualBox VM machine and see if the problem is fixed.
Fix Boot Problems
- Open the Settings of the VirtualBox machine and go to Storage.
- Click the 1st plus (+) button next to Controller to add optical drive.
- Click Add and find and open the Windows.iso file.
- Then select the Windows.iso file and click Choose.
- After attaching the Windows.iso file in Storage device go to System and drag Optical to the top in order to boot the VM from the attached Windows.iso.
- Also, make sure that the “Enable EFI” option is unchecked, otherwise you will not be able to boot from the ISO file. When done, click OK.
- Start the Virtual Machine and click Next > Repair Your computer.
-
Then select Troubleshoot > Startup Repair.
-
Allow the Startup Repair to run and depending on the result do the following actions:
-
If the Startup Repair can fix the problem, shutdown the virtual machine, set the hard disk as first boot device and try to start again the virtual machine.
-
If the Startup Repair cannot fix the problem, continue to next step.
-
- Click Advanced Options and go to Troubleshoot > Command Prompt.
-
In Command prompt give the following commands in order (press enter after each command)
- diskpart
- select disk 0
- list partition
- Now notice the size of the System partition (e.g. 100MB in this example).
- Then type the following command and find out the volume number of the System partition by using its size as a reference.
- list volume
- Now give the following commands to select the system partition (using its volume number), and to assign the drive letter Z: to it. Then exit DISKPART:
- select volume x * Change the Volume number “x” according your case.
- assign letter=Z
- exit
- Finally, in command prompt give this command to repair the boot files:
- bcdboot C:\windows /s Z: /f ALL
- Close all windows, shutdown the virtual machine, set the hard disk as first boot device and start the virtual machine.
Leave A Comment?