All of a sudden my computer doesn’t boot up successfully anymore. After selecting the NixOS generation in the boot loader menu, I get
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9
Nothing seems to happen afterwards. This also happens for older NixOS generations that worked previously. I recently tried to set up LUKS decryption via key file which did not work. But that should only be able to break one generation and doesn’t explain why older generations suddenly stop working.
When you stop getting any output after those lines, it pretty much always means one of two things.
An extremely early kernel panic. Like super early, before it’s even managed to setup a console. Sometimes you can use the earlycon= kernel param to get some output this early. But this is very unlikely to be your problem.
The much more likely possibility is that you just need to use the correct console= kernel param. The system is probably booting as expected, but just not showing it on the screen
I’m using a Gigabyte X670 Gaming X AX with a Ryzen 7 7700. I just assembled this system and noticed that it doesn’t work too well overall, quite often nothing happens after switching it on (no Bios, the screen doesn’t even get a signal). Not sure if that’s related
What I find puzzling is that even older generations that previously worked showed this behaviour now. Those generations include Kernel, Initrd and Init scripts, right? So i would assume they are somewhat reproducable. I’m not sure if I somehow managed to modify implicit state in the /boot partition or somewhere else. But if it’s about the correct console= parameter, that should not suddenly break for a NixOS generation that worked before, right?
Anyway, I’m already reinstalling the system so I can no longer debug this issue for now
actually the newly installed system exhibits the same behaviour Booting into the NixOS installer ISO worked alright, but now booting into the newly installed system hangs again at EFI stub: Measured initrd data into PCR 9
This time I installed the system without disk encryption, so it should start without interaction. I still don’t get SSH connectivity, so I assume that it’s not just a problem of missing output on the screen.
Yea, with regular ole consumer PC hardware like that, I wouldn’t expect either of the things I mentioned to come up. Console should be fine out of the box, and a super early kernel panic would be very surprising indeed.
That is indeed quite worrying. Though I don’t really have any guidance on the matter. The fact that old generations used to work and stopped working is also quite concerning. I’m starting to worry that the hardware went from a working state to a non-working state, but it would take some more evidence to confirm that.
When attempting to install NixOS 23.05 (Plasma); my install also halted after the “Measured initrd data into PCR 9” message. After finding your post on discourse; I updated the device’s BIOS to the latest version (1.25.2) and the device now boots up into NixOS properly. Thanks for posting this!