I'm seriously puzzled about this freaking issue :DBackground:I have a lab desktop PC with an ESXi installation - hidden away in a closet. Because it is in there, I wake it on LAN. Because I wanted to utilize the graphics card for gaming (passthrough not supported by my CPU), I have installed a Windows 8.1 on another harddisk, that I can boot into and then Steam stream from. My issue was this. How do I select which harddisk to boot from over  LAN?So I figured out that it should be possible to install a Linux machine with a GRUB2 bootloader, because you can issue the grub-reload x command and choose which boot option you want to reboot into. This way I can create a script that, does the Wake on LAN, waits for the Linux to boot, remote ssh's a grub reload command, thus choosing whether to boot into the ESXi 6.0 or the Windows 8.1.Where I'm at:Harddisk1: I have installed the Linux with GRUB2 on partition1 and Windows on partition2 <-- GRUB2 finds both fine. I had to issue the update-grub command for it to work.Harddisk2: Contains ESXi <-- I have trouble making it work with GRUB2.I have found the UUID of the partition on Harddisk2, and added it like this in /etc/grub.d/40_custom:menuentry ESXi v6 {    insmod chain    insmod part_gpt    insmod search_fs_uuid    search --fs-uuid --no-floppy --set-root 5674-5BHG    chainloader +1}then issued the update-grub command.Now, when I reboot, I get the entry in GRUB2, I hit enter and it gives  me the error: boot error, then when I hit enter, it boots the ESXi.  So it seems like I'm getting close.Ofcourse I tried modding the code for like 6 hours, trying every combination I could google information on. And I think I may need to specify that GRUB2 must load /EFI/BOOT/BOOTx64.efi (which seems to be the ESXi's boot file) on the ESXi (Harddisk2) partition. However I tried something like:menuentry ESXi v6 {    insmod chain    insmod part_gpt    insmod search_fs_uuid    search --fs-uuid --no-floppy --set-root 5674-5BHG    chainloader ({$root})/EFI/BOOT/BOOTx64.efi}After reading up on it. But this presented me with the error: Invalid signature.Does someone get any ideas, what I am missing?Sincerily!
GRUB2 dualbooting an ESXi OS?
linux;grub2;dual boot