|
From: | David Huffman |
Subject: | Unable to load and execute older linux kernels via UEFI with 2.04 (with video) |
Date: | Thu, 3 Dec 2020 22:42:58 -0800 |
I have been doing extensive tests with the 2.04 build and found that older kernels (< 3.10) are unable to execute when booting from UEFI. This includes RHEL 6.10 and SLES 11.4 which are still in use and under maintenance. I have been able to execute older kernels w/BIOS, but not with UEFI. Using the same test environment I was able to boot the older kernels with grub 2.02. I was also able to execute newer kernels (3.10+) with grub 2.04. After reviewing the changelog, I have not found anything specific I can point to that could be causing the issue. I am attempting to load the kernel and execute from the grub command line. Setting debug=all shows the grub trying to load the kernel and appears to crash and the VM reboots. LINK TO SCREEN GRAB VIDEO: -------------------------------------------------- ——————————————————————— Here are the commands used to build 2.02 and 2.04: ./configure --with-platform=efi --target=x86_64 --disable-device-mapper && make && make install The disk has three partitions with an msdos partition table: /dev/sdb1 on $TMPMNT/boot/EFI type vfat /dev/sdb2 on $TMPMNT type ext2 /dev/sdb3 umounted type ext2 Here is the grub-install command used: grub-install --removable --efi-directory=$TMPMNT/boot/EFI --boot-directory=$TMPMNT/boot --target=x86_64-efi --directory=$GRUBDIR/x86_64-efi /dev/sdb From the grub command shell: grub> insmod efi_gop grub> debug=all grub> linux /boot/vmlinuz I’m not expecting to boot the OS from this. I am just trying to load and execute the kernel. The config file and initrd have been ruled out and I am trying to get this down to its simplest steps. Thanks, David |
[Prev in Thread] | Current Thread | [Next in Thread] |