0% found this document useful (0 votes)
1 views

Grub Setup

Uploaded by

devileyes630
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Grub Setup

Uploaded by

devileyes630
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

GRUB Setup

●​ lsblk
●​ sudo mount /dev/nvme0n1p4 /mnt (root partition)
●​ sudo mount /dev/nvme0n1p3 /mnt/boot (boot partition)
●​ sudo mount - -bind /dev /mnt/dev
●​ sudo mount - -bind /proc /mnt/proc
●​ sudo mount - -bind /sys /mnt/sys
●​ sudo mount - -bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
●​ sudo chroot /mnt
●​ sudo grub-install - -target=x86_64-efi - -efi-directory=/boot/efi - -bootloader-id=GRUB
●​ sudo grub-mkconfig -o /boot/grub/grub.cfg
●​ exit
●​ sudo umount -R /mnt
●​ reboot

➔​ Then boot into your system and regenerate the grub configuration file so that
GRUB can detect other operating systems.
●​ sudo grub-mkconfig -o /boot/grub/grub.cfg
●​ sudo reboot now

You might also like