Created
December 11, 2019 22:28
-
-
Save eeejay/8530ac172720aef1893994037b7b0449 to your computer and use it in GitHub Desktop.
Re-add Fedora in EFI boot
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
mount /dev/dm-5 /mnt | |
mount /dev/nvme0n1p5 /mnt/boot | |
mount /dev/nvme0n1p1 /mnt/boot/efi | |
mount --bind /dev /mnt/dev | |
mount --bind /proc /mnt/proc | |
mount --bind /sys /mnt/sys | |
mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars | |
chroot /mnt | |
# in chroot: | |
# grep efibootmgr /var/log/anaconda/program.log | |
# efibootmgr -c -w -L Fedora -d /dev/nvme0n1 -p 1 -l \\EFI\\fedora\\shimx64.efi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment