Ask Your Question

Can't boot after upgrading kernel using luks encrypted root fs

asked 2017-12-07 13:10:29 -0500

Dani_L gravatar image

Currently on F27 with kernel 4.13.13-300.fc27.x86_64. Anytime I try to install a newer kernel (e.g. 4.13.16-300.fc27) dnf completes correctly, but after reboot the system is stuck after the grub selection menu and before the luks password screen.

I can boot into any prior kernel with no issue. I'm not sure if this is due to kernel or dracut (possibly dracut doesn't build the new initramfs correctly?) dracut version: dracut-046-5.fc27.x86_64

I don't have journalctl of failed boots, as the system doesn't have access to luks encrypted fs at this time. 2 error lines show: dracut-cmdline terminal claiming there is no such device, and dracut-cmdline cgroups claiming the cgroups are already loaded. I don't see any similar lines during a good boot.

edit retag flag offensive close merge delete



Can you check the /var/log/messages after a good boot to see if anything was captured? How about pressing the escape (Esc) key during boot? Any messages display to screen? What's the exact errors from dracut?

robbiethek gravatar imagerobbiethek ( 2017-12-07 15:31:33 -0500 )edit

@Dani_L don't you have any updates on the issue? I got exactly the same problem. The interesting thing is that even if I don't see luks password screen, I'm able to enter it blindly, and boot process continues. I even managed to login and to run terminal:) So the problem is not with luks and encryption but rather with screen or video drivers. Here I found related discussion, same symptoms.

Nick Ivannikov gravatar imageNick Ivannikov ( 2018-04-08 03:50:36 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-09 17:54:08 -0500

Just had a very similar looking issue after upgrading F27 to 29. Older kernels booted, new one didn't.

I had a NVidia proprietary driver installed with DKMS option before the kernel upgrade.

I reinstalled the kernel (probably it was not a necessary step), rebooted the machine, ssh-ed in, and rerun NVidia driver installer. It reinstalled the driver and X immediately turned on.

edit flag offensive delete link more

Question Tools



Asked: 2017-12-07 13:10:29 -0500

Seen: 482 times

Last updated: Dec 07 '17