I'd start by removing any "quiet" or "splash" from the kernel command
line. You should be able to see them when you hit "e". I'm not sure
if it will actually help, but it should be a start.
Given you say the UUID is for the boot partition, then both the linux and initrd should just have the name of the kernel and initrd files (without leading "/boot",) which sounds like what you've got. I'd next wonder if something is missing from the kernel/initrd combination, such as a kernel module necessary for some early part of the boot process or a file system (per Dale's suggestion.) Assuming that you ran genkernel after booting a live image and chrooting into the new system, then we know the hardware can boot a good kernel/image combo. Mainly I'm just thinking out loud here, trying to coax someone's little gray cells into action.
I hate these init thingys and will admit I know little about the
things. I had a thought tho, could it be that the file system needed to
read the init thingy isn't included somehow or in the kernel maybe? If
it is pointing to the right place, sounds like it is to me, then it has
to be a read problem I'd think.
I haven't ever had to use the edit menu on grub2 that I remember. It
might be worth mentioning that it may have tab completion. That would
certainly remove a typo if it can complete the kernel or init thingys
file name on its own. Just a thought.
Going back under my desk now.
Given you say the UUID is for the boot partition, then both the linux and initrd should just have the name of the kernel and initrd files (without leading "/boot",) which sounds like what you've got. I'd next wonder if something is missing from the kernel/initrd combination, such as a kernel module necessary for some early part of the boot process or a file system (per Dale's suggestion.) Assuming that you ran genkernel after booting a live image and chrooting into the new system, then we know the hardware can boot a good kernel/image combo. Mainly I'm just thinking out loud here, trying to coax someone's little gray cells into action.
On Friday, 14 May 2021 00:06:07 BST John Blinka wrote:
> How does one debug this situation?
Just coming to this belatedly, not having noticed what may be a connection until now. I have an Asus X99-A motherboard, and I never got grub to work at all. I use a combination of efibootmgr and bootctl to manage my boot process. (Bootctl is in sys-boot/systemd-boot; that's the only systemd package I have on this openrc system.)
You could look at the handbook [1] for how to set these up. I had to develop my own method by picking bits out of it. I use efibootmgr to create entries in the UEFI BIOS, then bootctl to keep them up to date. Oh, and I had to leave a small, otherwise unused partition before the FAT32 boot partition. From parted:
Number Start End Size File system Name Flags
1 1.00MiB 9.00MiB 8.00MiB
2 9.00MiB 1025MiB 1016MiB fat32 boot, esp
3 1025MiB 50176MiB 49151MiB linux-swap(v1) swap
4 50176MiB 66560MiB 16384MiB ext4
5 66560MiB 132096MiB 65536MiB ext4
[...]
This may be a red herring of course; I wouldn't be too surprised if I'm doing things all wrong, and your motherboard may differ from mine in many ways.
1. https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader
--
Regards,
Peter.
I would look in the grub.cfg and give us exactly what is in the stanza
you are using, including where it thinks the root file system is,
etc. Also, see if there is any genkernel option to get some debugging
info out of the initrd, I know using dracut you can get breakpoints
during the process and see how its doing.
>
Try https://wiki.ubuntu.com/DebuggingKernelBoot ... I am not sure
genkernel uses that exact name but I did need to find the initramfs boot
log to diagnose a failure in a genkernel initramfs at one time.
On Fri, May 14, 2021 at 3:12 AM William Kenworthy <bi...@iinet.net.au> wrote>
Try https://wiki.ubuntu.com/DebuggingKernelBoot ... I am not sure
genkernel uses that exact name but I did need to find the initramfs boot
log to diagnose a failure in a genkernel initramfs at one time.
I would look in the grub.cfg and give us exactly what is in the stanza
you are using, including where it thinks the root file system is,
etc. Also, see if there is any genkernel option to get some debugging
info out of the initrd, I know using dracut you can get breakpoints
during the process and see how its doing.
>
Have you recompiled the kernel? Could be a random, erroneous write to disk or something in the kernel compile didn't go well. I'd suggest also rebuilding the initrd
and reinstalling grub.
I.e. I think there is likely a kernel compile issue since it doesn't ever launch the kernel succesfully either on autopilot or when you run grub interactive. Might also recompile grub, perhaps there's a change in compiler options that produces an incompatible (at least partially). I also suggest the rebuild so you can be sure you have the right initrd and matching kernel.
I had another thought. Just in case it is a bug with grub that only
affects certain hardware, maybe try a different bootloader? Maybe try
lilo or some other bootloader that works with your hardware. I seem to
recall you having EFI so I'm sure there is plenty of those to choose from.
On Saturday, 15 May 2021 00:54:02 BST John Blinka wrote:
> I don’t think it’s a kernel compile issue. I just now used efibootmgr to
> create a uefi entry with kernel command line parameters to define the root
> fs and initrd. That worked. That result focuses the blame on grub.
I'm glad that worked. Personally, I'm pleased to have ditched grub altogether.
--
Regards,
Peter Humphrey.
This is likely not your issue with an integrated Intel GPU, but I was building a new system recently with UEFI, ASUS ROG mobo, and nvidia GPU and had this same issue.
Surprisingly, this turned out to require me to set the simple framebuffer support in the kernel config (I also set the UEFI framebuffer support) or else I would get no screen output after the loading initial ramdisk... message.
Just something I ran into for the first time ever recently
Todd
This is likely not your issue with an integrated Intel GPU, but I was building a new system recently with UEFI, ASUS ROG mobo, and nvidia GPU and had this same issue.
Surprisingly, this turned out to require me to set the simple framebuffer support in the kernel config (I also set the UEFI framebuffer support) or else I would get no screen output after the loading initial ramdisk... message.
Just something I ran into for the first time ever recently