Linux Manjaro Switching from BIOS to UEFI

Linux Manjaro Switching from BIOS to UEFI

For UEFI install the Disk partition table should be of type GPT (Guid Partition Table).

If you dont want to format your hard disk to GPT, but instead want to migrate from MBR to GPT while trying to save your data, can have a look at http://www.rodsbooks.com/gdisk/mbr2gpt.html

1) You would need to create an ESP (EFI System Partition).

It is a FAT32 partition which has the .efi files for booting, which you can create using Gparted or gdisk. (Size 200-512 MiB).

You would also need to install/check whether following packages are present-

1. efibootmgr
2. dosfstools
3. grub

(How to install packages)

2) Create the /boot/efi directory

sudo mkdir /boot/efi

3.) Mount the EFI partition as /boot/efi

sudo mount /dev/sdXY /boot/efi

X = Alphabet of the drive = a,b,c … Y = Partition number of the EFI partition = 1,2,3,4…

Example – /dev/sda4

4.) Install Grub according to UEFI

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck

5.) Update Grub configuration file.

sudo update-grub

Note- If you get an error like

path '/boot/grub' is not readable by Grub on boot. Installation is impossible. Aborting

Then you will need to chroot as described here, and then perform Step 5 again.

If you get the following error :

EFI variables are not supported on this system.

then you could load the efivarfs module :

sudo modprobe efivarfs

Source : https://wiki.manjaro.org/index.php?title=UEFI_-_Install_Guide

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.