Skip to content

Instantly share code, notes, and snippets.

@JonathanReeve
Last active June 7, 2019 17:41
Show Gist options
  • Save JonathanReeve/18f76b81f4ec1880f8002f981a107d53 to your computer and use it in GitHub Desktop.
Save JonathanReeve/18f76b81f4ec1880f8002f981a107d53 to your computer and use it in GitHub Desktop.
sudo su
mount /dev/nvme0n1p5 /mnt
mount /dev/nvme0n1p1 /mnt/boot/efi
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -t devpts pts /mnt/dev/pts/
pacman -Sy
pacman -S efibootmgr gosfstools grub
modprobe efivarfs
chroot /mnt
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
update-grub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment