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

imported>ElVirolo
imported>Aaditya
Line 112: Line 112:


== For UEFI Systems ==
== For UEFI Systems ==
{{Warning|You need to be [https://wiki.archlinux.org/index.php/Change_Root chrooted] for this procedure as mentioned in the [[Restore_the_GRUB_Bootloader#Identify_and_Prepare_the_Installed_Partition.28s.29 | previous step.]]}}


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.
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.
Line 141: Line 144:
4.) Re-install Grub.
4.) Re-install Grub.
  sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
  sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck


5.) Update Grub configuration file.
5.) Update Grub configuration file.
Anonymous user