Created
February 17, 2018 21:54
-
-
Save ajthemacboy/006be909e5f31b2a30556c48752c7d85 to your computer and use it in GitHub Desktop.
Manually install Grub when it fails when dual-booting with Windows
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
### Boot into rescue mode from installer USB | |
mount /dev/nvme0n1p5 /mnt | |
mount --bind /dev /mnt/dev | |
cd /mnt | |
mount -t sysfs sys sys/ | |
mount -t proc proc proc/ | |
chroot /mnt | |
### Inside chroot | |
grub2-mkconfig -o /boot/grub2/grub.cfg | |
mount /dev/nvme0n1p2 /boot | |
grub2-install /boot/efi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment