Repost from users@ since I was advised this is the correct place
I thought I'd test the F34 upgrade to look for bugs but its resulted in an non-booting laptop.
I've a fairly stock Fedora install on a Dell XPS 13 developer edition. The latop was originally an ubuntu install, its got LVM on top of LUKS created by ubuntu, Fedora partitions (Ext4) were later added inside of LVM. Separate dedicated fedora boot partition outside of LUKS/LVM.
Originally installed as F32, nothing much has been changed on the machine at a system level, its primarily for web development so all changes are in $HOME.
I've just upgraded from F33 to F34, upgrade seemed to go fine but on reboot its hanging after decrypting LUKS but during mount of root and swap. I've tried various restarts.
I've checked the filesystems from a live disk, those are fine. Seems LUKS decrypts, initrd boots but mounting root fails - no error, just hangs for hours at a time till I give up.
[ OK ] Reached target: Local encrypted volumes [ <=> ] A start job is running for /dev/mapper/..... (Xmin Ys / no limit)
I've a parallel ubuntu install I can use to test stuff / debug the issue if anyone has any suggestions?
Thanks in advance
Hi,
On Wed, Apr 14, 2021 at 9:42 AM Jeb Wilkins jeb@jdwilkins.co.uk wrote: [snip]
[ OK ] Reached target: Local encrypted volumes [ <=> ] A start job is running for /dev/mapper/..... (Xmin Ys / no limit)
This seems like the issue this dracut update resolves: https://bodhi.fedoraproject.org/updates/FEDORA-2021-50707f8501
Try the following: boot using a previous kernel/entry in your bootloader, make sure you have this update installed (dracut-053-2) and rebuild the initramfs for the affected kernel entry. This comment has info on how to do it: https://bugzilla.redhat.com/show_bug.cgi?id=1946074#c12
Sergio
It does seem to have been the dracut issue. I wasn't able to get the boot menu up for some reason, either with holding shift, or mashing escape.
For anyone else running into the same issue, this is how I fixed it
1) boot off of live cd, I used the fedora 34 disk 2) connect to wifi 3) use gnome disks to mount the LUKS volume 4) open terminal 5) sudo su 6) mkdir /mnt/fedora 7) mount /dev/mapper/your-root-lvm-volume /mnt/fedora 8) mount virtual filesystems mount -o bind /dev dev mount -o bind /proc proc mount -o bind /sys sys mount -o bind /run run # needed for DNS mount -t tmpfs tmpfs tmp
9) chroot /mnt/fedora
10) mount boot volumes mount /boot mount /boot/efi
11) upgrade dracut dnf upgrade --advisory=FEDORA-2021-50707f8501
12) rebuild initrd - you should check your using the versions your system boots from dracut --force /boot/initramfs-5.11.12-300.fc34.x86_64.img 5.11.12-300.fc34.x86_64
13) umount /boot and /boot/efi 14) exit chroot 15) umount virtual fs's 16) umount /mnt/fedora 17) lock the luks volume from gnome disks 18) Reboot
Hopefully that will help someone, thanks everyone for pointing me in the right direction