HP 840 G1 weird boot issue in uberXMHF v6.0.0

I can boot the same uberXMHF image with grub-legacy, but failed with grub2 and hangs before returning to grub2.

I checked the logs, and it seems some uobjects cannot be loaded. The logs are 840G1-grub1-pass.txt (50.6 KB) 840G1-grub2-fail.txt (35.4 KB)

The uXMHF code I use for grub2 is the last commit in hotfix-docs-support-1st-gen-intel-core, yet the logs are same with the v6.0.0 logs (so I did not re-install grub2 to get logs of v6.0.0)

My laptop configurations is: (1) I use AHCI, because it does not have IDE. (2) CPU is i7-4600U, and I used 4th_gen_i5_i7_SINIT_75.BIN. (3) I use Ubuntu 16.04.7 x86 with 4.4.236-uberxmhf. (4) grub-legacy and grub2 are the default versions in boot-repair

Entry for grub 1:
title uberXMHF
rootnoverify (hd0,4) # should point to /boot
kernel /boot/xmhf-x86-vmx-x86pc.bin.gz serial=115200,8n1,0x30b0
modulenounzip (hd0)+1 # should point to where grub is installed
modulenounzip /boot/4th_gen_i5_i7_SINIT_75.BIN # SINIT for HP EliteBook 840G1

title Ubuntu 16.04.7 LTS, kernel 4.4.236-uberxmhf
uuid 0841d65c-0510-42f6-9da1-1b8ae97a9f46
kernel /boot/vmlinuz-4.4.236-uberxmhf root=UUID=0841d65c-0510-42f6-9da1-1b8ae97a9f46 ro quiet splash nmi_watchdog=0
initrd /boot/initrd.img-4.4.236-uberxmhf

Entry for grub 2:
set root=’(hd0,5)’
set kernel=’/boot/xmhf-x86-vmx-x86pc.bin.gz’
echo “Loading ${kernel}…”
multiboot ${kernel} serial=115200,8n1,0x30b0
module --nounzip (hd0)+1 # should point to where grub is installed
module --nounzip /boot/4th_gen_i5_i7_SINIT_75.BIN

Any thoughts? Does uberXMHF go to the guest OS in the middle of loading mhv extentions?

Grub-2 is currently not supported. We need to add appropriate support to uberXMHF to handle grub-2 boot-up (I believe grub-2 uses PAE which might be the core issue). This seems related to the following topic: Commands for Grub2