Stuck on grub menu after Luks Full Disk Encryption (coreboot)

Published 2021-11-07 on Anjan's Homepage

I used ivyra1n to install skulls with seabios payload on my x230. However, after installing coreboot, I could not boot into a lot of distros after installing with their full disk encryption 1 . Here is fix and a potential workaround.

So I recently decided to try out Devuan because I don’t like systemd on Debian. I followed devuan’s Full Disk Ecryption guide. The install went fine, I booted and pressed enter on “Devuan GNU/Linux” in the grub menu. After which, my computer display froze like this:

grub.jpg

Figure 1: Grub stuck on “Loading Linux XX.XX; Loading initial ramdisk …” after I pressing enter on Devuan GNU/Linux

I thought my computer froze but this is not the case 2. If I type in my luks password and press enter, the computer boots fine. In fact, I am writing this blog post booted into X11 on that laptop. It seems that the computer is still active and just waiting for my luks password even though the display didnt update.

Before hopping to Devuan, I tried out gnu guix 3 . Using gnu guix, I had the same issue in grub boot after install and someone in irc recommended I just type in my luks password. However, someone else on irc had a solution to remove this issue forever for other users:

https://issues.guix.gnu.org/51619

Apparently the gnu guix kernel config was missing the coreboot framebuffer drivers. I havent tested this patch but I plan to check if this fixes the issue on Devuan since it’s the same problem. I decided to post this for people looking for a temporary workaround on distros that may have a similar issue.

Cheers!

Footnotes:

1

Gentoo, Void, and Debian (with calamares installer) worked fine. If I recall correctly, Debian with netinstall would freeze on grub.

2

The reason the grub menu only takes up the top left screen is because I havent changed my grub menu according to the hint on the skulls readme. The computer boots fine and uses the entire screen.

3

I hopped off guix cause I had a really hard time learning guile and I needed this laptop to work. Maybe Ill try guix again in a virtual machine. Some handy things about guix. To get dwm and st working, see tkiat’s guix-channel and customize it to your needs. If you use startx and install it as user, make sure your xinitrc is setup like Alex Kost’s recommendations on the mailing list. My user wasn’t added to the input group and that was required for X11 to detect my input devices (keyboard and mouse).

Have a comment on one of my posts? Start a discussion in my public inbox by sending an email to ~anjan/public-inbox@lists.sr.ht [mailing list etiquette]

Articles from blogs I follow around the net

These articles/blogs do not represent my own opinions or views.

Using a Linux phone as a secondary monitor

As a software developer on the go, one of the very first use cases that I started investigating after installing Linux on my first tablet was that of using a portable device as a secondary display for another Linux machine. Ideally, this would happen wire…

via TuxPhones - Linux phones, tablets and portable devices May 16, 2022

Status update, May 2022

This was an exciting month: the Hare programming language is a secret no more! You can now try out the programming language I first teased over a year ago and tell me what you think. I hope you like it! I’m quite pleased with it so far. One thing Hare has don…

via Drew DeVault's blog May 16, 2022

How to Build a Practical Household Bike Generator

We built a pedal-powered generator and controller, which is practical to use as an energy source and exercise machine in a household — and which you can integrate into a solar PV system. We provide detailed plans to build your own, using basic skills and …

via LOW←TECH MAGAZINE March 6, 2022

Generated by openring