Quantcast
Channel: Windows Server Archives - TechDirectArchive
Viewing all articles
Browse latest Browse all 61

Fix PXE Boot Stuck or No Boot Image was found for HyperV VM

$
0
0
PXE Boot Stuck or No Boot Image was found - Te bootloader did not find any operating system

In this article, we shall discuss how to “fix PXE Boot Stuck or No Boot Image was found for HyperV VM. The bootloader did not find any operating system”. This means that the bootloader could not find a bootable image from the network to boot the VM. Please see Linux Boot Process Explained Step by Step for Beginners, and how to Fix Windows Stuck on System Restore. Here is how to Fix Hyper-V VM Stuck in Stopping State.

Also, see “Measured Boot, Secure Boot, Trusted Boot, and Early Launch Anti-Malware: How to secure the Windows 10 boot process“. Here is also a guide on “MDT deployment failed and Stuck at Command Prompt: Windows installation does not proceed via PXE boot“.

Why was this error prompted “Bootloader did not load the OS”

Due to the boot order set on a VM on HyperV. You may get the following errors as shown below.

Boot Order

You will get the Below when the Hard Drive is selected first.

No boot image found

When the Network adapter is moved above the Hard drive. Then you may be stuck at the PXE boot window as shown below.

PXE over IPv4

With all the scenarios mentioned above. Basically, you have set up the VM and forgot to install the Operating System (OS).

Please see How to Create a Windows Server VM on HyperV, and How to start HyperV VMs in safe mode. Also, see Generation 2 VM: Set up a HyperV VM through PXE boot, and How to set up a VM via PXE boot on a Generation 1 VM.

Solution to No Boot Image was found

Here is a similar error for “The error “boot image was not found for Hyper-V””. In this case, the WDS service was not running.

As you can see, there could be numerous reasons for this error such as not having the right PXE Server Setup to assign IP address etc., routing?firewall issues, and as mentioned above, it could also be that the WDS service is not running.

To Fix issue, launch the Hyper-V Manager and select the VM and then click on settings.

VM settings

Please see How to deploy images to computers using PXE Boot, and how to Migrate Veeam Configuration Database to PostgreSQL Server. Here is How to configure Windows LAPS.

Add CD/DVD Drive drive on Hyper-V

The SCSI Controller in Hyper-V is a virtual device used to connect storage devices such as the virtual hard disks (VHDs) and DVD drives to a virtual machine. This provides necessary storage access for tasks such as installing an operating system from a DVD or ISO image.

Navigate to the SCSI Controller and select the DVD Drive and click on add.

SCSI Controller

Under specify the media to use, click on the “Image file” and browse to your image.

Browse iso image

Select your desired ISO File and click on open.

Select ISO

Ensure you move the DVD Drive up. Else, you might get stuck with the errors above due to the boot order set.

Boot from DVD - move Up

Click on Ok to continue.

Image attached for VM

Also, see Cybersecurity Tips to Secure Synology NAS against Ransomware, and how to Enable Autologon and Autostart for user session. Here is How to Diagnose a Windows Hardware Issue.

Connect to the VM and Install the OS

You can also right click on the said VM and select connect as shown below.

connect to VM

The image will be loaded

Loading files

Ensure you set your desired parameters, language, time and keyboard to install and click on Next.

Install windows

Click install now. Here are some similar guides “How to migrate WDS and MDT to a new Windows Server, “ADK|WinPE|MDT: Deploy Windows with WDS“, and How to update Microsoft Defender Antivirus into the install image of Windows (install.wim).

Instal windows server 2022

Select the OS to install

Data center desktop experience

Accept the license terms and click Next to proceed

Accept license

Please select Custom: Install Microsoft Server Operating System Only (Advanced).

Custom install

I only one drive, so the decision is simple lol!

Select disk to install

As you can see, the OS is currently being installed.

Installing Windows server 2022

Enter your password and click on Finish.

Customize settings

Upon restart, you can now login in and start working with your VM.

Login to the VM

Lastly, do not forget to detach the ISO Image. Navigate to the VM settings and set the media to use to none.

Set DVD to none

Click on OK to close the VM settings window.

SCSI DVD set to none

Post VM Installation Configuration

I have discussed this section extensively here: Post OS installation: Configure the properties of Windows Server. As you can see, I have configured the right TCP/IP parameters and joined the server to the domain. Please see How to join a computer to the Domain.

TCPIP-Domain Join

Lastly, do not forget to search and apply windows updates to your VM.

Install Windows Updates

I hope you found this article on how to “fix PXE Boot Stuck or No Boot Image was found for HyperV VM. The bootloader did not find any operating system” very useful. Please feel free to leave a comment below.

The post Fix PXE Boot Stuck or No Boot Image was found for HyperV VM appeared first on TechDirectArchive.


Viewing all articles
Browse latest Browse all 61

Trending Articles