Boot Win10 from an ISO-Image on a certain partition using GRUB2

19,098

If you're using UEFI and only looking for a temporary solution (to run the installer), extract the Windows installer contents to a data partition (so it doesn't have a system on it). Make sure to have it at the top level, not in a folder, otherwise the installer fails to load. Then in GRUB enter the command line (c) and find the hard drive using ls, then enter chainloader (hdX,X)/efi/bootx64.efi and boot. This should boot into the Windows installer. After it finishes installing, you can delete the installer's files and folders:

autorun.inf boot bootmgr bootmgr.efi efi setup.exe sources support
Share:
19,098
Mpunkt Moeniac
Author by

Mpunkt Moeniac

I do programming for fun and for profit. My favourite language is C++. My favourite Operating System (OS) is the Linux distribution Arch Linux

Updated on September 18, 2022

Comments

  • Mpunkt Moeniac
    Mpunkt Moeniac almost 2 years

    I have bought a laptop (Lenovo ThinkPad T520) with a locked BIOS. So I can't change the boot order of the laptop. The upmost device in the boot order is the internal HDD. Fortunately there is a working Linux with Grub2 installed, which I have access to.

    I also want to install Windows 10 now. How do I have to change the Grub2-configuration in order to be able to boot the Windows-installation from a Win10-Boot-Medium (ISO)?