This document contains only my personal opinions and calls of judgement, and where any comment is made as to the quality of anybody's work, the comment is an opinion, in my judgement.
[file this blog page at: dig del.icio.us Technorati]
So I had installed Ubuntu to run some tests on a small-PC style computer and then it failed to complete booting, stopping at the prompt for the decryption key of the / filesystem.
So I first tested the hardware (RAM, SSD self test as it was old and I had been messing with it a bit, but it all seemed good and anyhow it worked well if I booted from a USB stick the bootable deskptop version of Ubuntu.
Using the latter I looked at the install system and the first issue seemed to be that in /etc/default/grub the setting GRUB_ENABLE_CRYPTODISK=y was missing, even if the existing script prompted for the decryption password; so to be sure I (re)added that and re-generated the initial boot script for GRUB2, but the boot process still stopped at the prompt for the boot password.
A web search suggested that the initramfs
image
was missing some drivers (the hid related drivers). I had
never considered this possibility because I has assumed that both
the serial (PS/2 port
) and USB keyboard drivers
would be built-in the kernel. Well at least not for Ubuntu 24.
So I wanted to fix that with GRML 2026.04 but the I had further issues as it only booted in BIOS mode and not in UEFI mode and this meant it could not install GRUB2 properly. It turned out that the 2026.04 version of the GRML image does not come with a built-in partition table so UEFI implementations that will only boot from an ESP cannot boot it in UEFI mode.
This can be fixed by creating an ESP on the USB stick and mounting it, mounting the GRML image, copying from the mounted GRML image to the mounted ESP recursively. The resulting USB stick will only then boot as UEFI because it does not have the BIOS MBR. To make it bootable in the BIOS way follow the "Manual approach" section in this GRML wiki page.
After this I booted GRML in UEFI mode and chroot'ed into
the system's / filesystem to first rebuilt the
initramfs and then just to be I reinstalled GRUB2 but found
that in addition to the usual /dev, /sys,
/proc filesystems I had to bind-mount
also /sys/class/firmware/efivars.
In summary I have learned a few new things: