VMware Cloud Community
lahughes60
Contributor
Contributor

Booting to an ESXi install iso from UEFI/grub2

I am converting our hardware and application from legacy/extlinux to UEFI/grub2.

I am using/tried the following menuentries:

insmod all_video
menuentry 'ESXi 6.5U2 (10884925) Install' {
    linux16 /memdisk iso  <== I also tried to add 'raw'
    initrd16 /ESXi-6.5u2-mycompany-HCI-v1.iso
}

menuentry 'ESXi 6.7u1 loop Install' {
    set isof="/ESXi-6.7u1-mycompany-HCI-v2.iso"
    loopback loop $isof
    linux (loop)/mboot.c32 <also tried (loop)/efi/boot/bootx64.efi> ignoreHeadless=TRUE <== I also tried findiso=, boot=live, and other
}

The first one comes the closest in that it boots the iso but then hangs at "Relocating modules and starting up the kernel ...". From online research it seems I need to add the ignoreHeadless=TRUE but it doesn't like it when I add it to the initrd16 line.

The second one gives me either bad magic or invalid filename.

This same hardware works with the extlinux menu entry of:

    LABEL ESX65

        MENU LABEL 6.5U2 (10884925)

        KERNEL extlinux/memdisk iso

        INITRD ESXi-6.5u2-mycompany-HCI-v1.iso

Any help and pointers would be appreciated!

Not Logged in

Reply
0 Kudos
1 Reply
lahughes60
Contributor
Contributor

I should also add that once installed (via our old extlinux menu) grub is able to boot via chainload ESXi.

Not Logged in

Reply
0 Kudos