Difference between revisions of "UEFI - Install Guide"

m
Line 106: Line 106:


2) Create the ''/boot/efi'' directory
2) Create the ''/boot/efi'' directory
sudo mkdir /boot/efi
{{UserCmd|command=sudo mkdir /boot/efi}}




Line 118: Line 118:


4.) Install Grub according to UEFI
4.) Install Grub according to UEFI
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
{{UserCmd|command=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.
sudo update-grub
{{UserCmd|command=sudo update-grub}}


'''Note-'''
{{BoxInfo|note|If you get an error like:}}
If you get an error like
  path '/boot/grub' is not readable by Grub on boot. Installation is impossible. Aborting
  path '/boot/grub' is not readable by Grub on boot. Installation is impossible. Aborting


Then you will need to [https://wiki.archlinux.org/index.php/Change_Root chroot] as described [[Restore_the_GRUB_Bootloader#Identify_and_Prepare_the_Installed_Partition.28s.29|here]], and then perform Step 5 again.
Then you will need to [https://wiki.archlinux.org/index.php/Change_Root chroot] as described [[Restore_the_GRUB_Bootloader#Identify_and_Prepare_the_Installed_Partition.28s.29|here]], and then perform Step 5 again.


If you get the following error :  
{{BoxInfo|note|If you get the following error:}}


  EFI variables are not supported on this system.
  EFI variables are not supported on this system.


then you could load the '''efivarfs''' module :
then you could load the '''efivarfs''' module :
sudo modprobe efivarfs
{{UserCmd|command=sudo modprobe efivarfs}}