This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ # Use Live CD to boot | |
$ sudo su # Switch to root | |
$ fdisk -l # Get names of root, boot & EFI partition names. you can also use blkid | |
$ # http://dadadom.de/2020/04/11/fix-fedora-uefi-boot-with-encrypted-partitions/ | |
$ udiskctl unlock -b /dev/nvme0n1p6 # unlock root luks partition | |
$ mount /dev/mapper/fedora_fedora-root /mnt # mount root partition | |
$ mount /dev/mapper/fedora_fedora-var /mnt/var | |
$ mount /dev/nvme0n1p5 /mnt/boot # mount boot partition |