View previous topic :: View next topic |
Author |
Message |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/8484577066727ff6a19116.gif)
Joined: 14 Jun 2007 Posts: 3941 Location: Rasi, Finland
|
Posted: Wed Feb 12, 2025 3:12 pm Post subject: UFEI - refind says gentoo-kernel is invalid |
|
|
So I have this Dell T7810.
Gentoo minimal boots fine with it.
However after installing refind, it cannot find it (refind), says no bootable disks found.
I entered BIOS/UEFI setting and rechecked that the boot entry was there.
So I resorted to copy refind -directory in ESP to the /boot (in ESP) and renamed refind_x64.efi to bootx64.efi And it worked! YAY! But when trying to boot kernel from it... it says the kernel image is invalid.
I use (unaltered) gentoo-kernel. It has the exact same "grep STUB" settings as the kernel from minimal live.
The only difference is the boot manager.
This blog post indicates the possibility, that rEFInd actually just didn't find the kernel... but it still, however, created boot entries for the exact kernel. I even tried manually specifying the kernel (prepended an "\"), but the error was the same.
I've used rEFInd since I switched to UEFI systems. This must be a configuration error. Right? Although there might be some issues with the UEFI itself in this machine, as it couldn't load rEFInd from ESP's /EFI/refind/refind_64.efi but from the default location it did.
I'm now looking at how to update the motherboard firmware/UEFI/BIOS... maybe it helps?
But I wanted to ask if anyone has experienced similar problems and how they've solved it? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sMueggli Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 03 Sep 2022 Posts: 543
|
Posted: Wed Feb 12, 2025 3:25 pm Post subject: |
|
|
What shows
Code: | file /path/to/kernel | ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/8484577066727ff6a19116.gif)
Joined: 14 Jun 2007 Posts: 3941 Location: Rasi, Finland
|
Posted: Wed Feb 12, 2025 4:00 pm Post subject: |
|
|
sMueggli wrote: | What shows
Code: | file /path/to/kernel | ? |
Code: | livecd / # file /boot/vmlinuz-6.6.74-gentoo-dist
/boot/vmlinuz-6.6.74-gentoo-dist: Linux kernel x86 boot executable bzImage, version 6.6.74-gentoo-dist (portage@localhost) #1 SMP PREEMPT_DYNAMIC Sun Feb 9 23:50:22 EET 2025, RO-rootFS, swap_dev 0XF, Normal VGA | Doesn't mention (U)EFI at all. Hmm... _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|