Difference between revisions of "GRUB/Restore the GRUB Bootloader"

imported>Verityproductions
imported>Aaditya
Line 101: Line 101:
All done! Now close the terminal and reboot your system to use your freshly re-installed GRUB.
All done! Now close the terminal and reboot your system to use your freshly re-installed GRUB.


== For UEFI Systems ==
1.) First of all check the partition for the ESP (EFI System Partition). An ESP is a fat32 partition and contains .efi files for booting.
It can be checked using Gparted or from the terminal using ''fdisk -l''
''If you do not have a EFI partition'', '''you will need to create it'''.
Use Gparted for that.
Type- '''fat32'''
Size- '''512 mb to 1 gb'''
2.) Mount the EFI partition as ''/boot/efi''
sudo mount /dev/sdaX /boot/efi
X = partition number of the EFI partition.
3.) Re-install Grub.
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
4.) Update Grub configuration file.
sudo update-grub
=== See also ===
[http://wiki.manjaro.org/index.php?title=UEFI_-_Install_Guide UEFI Install Guide]


= Troubleshooting =
= Troubleshooting =
Anonymous user