<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.manjaro.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eleanorve</id>
	<title>Manjaro - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.manjaro.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eleanorve"/>
	<link rel="alternate" type="text/html" href="https://wiki.manjaro.org/index.php/Special:Contributions/Eleanorve"/>
	<updated>2026-04-07T13:14:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.manjaro.org/index.php?title=UEFI_-_Install_Guide&amp;diff=22502</id>
		<title>UEFI - Install Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.manjaro.org/index.php?title=UEFI_-_Install_Guide&amp;diff=22502"/>
		<updated>2021-04-20T12:36:07Z</updated>

		<summary type="html">&lt;p&gt;Eleanorve: The process described works fine with an MBR disk. Minor edits to grammar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
 UEFI is the commonly agreed on name for both the EFI &amp;amp; UEFI &lt;br /&gt;
 standards which merged. It does not include the old EFI v1, &lt;br /&gt;
 or Apple's own non-standard version of EFI.&lt;br /&gt;
&lt;br /&gt;
= Target computer =&lt;br /&gt;
&lt;br /&gt;
The following guide aims to install Manjaro on a machine with UEFI enabled, Secure boot disabled, and using GUID Partition Table (GPT) disk(s).&lt;br /&gt;
&lt;br /&gt;
For multi-boot, the EFI system partition which is already present (or will be created), can usually be shared amongst multiple Linux installs.&lt;br /&gt;
&lt;br /&gt;
= The steps =&lt;br /&gt;
&lt;br /&gt;
== Common ==&lt;br /&gt;
&lt;br /&gt;
* 1. Download your preferred Manjaro version (XFCE, Openbox, Cinnamon, KDE, ...), must be 64-bits.&lt;br /&gt;
&lt;br /&gt;
* 2. Burn the .iso to USB or DVD. See [[Burn_an_ISO_File]] for more details.&lt;br /&gt;
&lt;br /&gt;
* 3. Check your BIOS, UEFI must be ON and Secure boot OFF.&lt;br /&gt;
&lt;br /&gt;
* 4. Boot with your USB or DVD &amp;amp; use the rEFInd - Main Menu... to choose which GPU drivers you want to have installed, the open-source or proprietary:&lt;br /&gt;
&lt;br /&gt;
 * Boot Manjaro Linux ... (default) - &lt;br /&gt;
   This chooses the ''open-source - free'' GPU drivers.&lt;br /&gt;
 * Boot Manjaro Linux ... (nonfree) - &lt;br /&gt;
   This option chooses the '''proprietary''' GPU drivers&lt;br /&gt;
   from Nvidia or ATI.&lt;br /&gt;
&lt;br /&gt;
=== Graphical Installer ===&lt;br /&gt;
&lt;br /&gt;
{{Tip|Since Manjaro-0.8.9, UEFI support is also provided in the Graphical Installer, so one can simply try the Graphical installer and skip the instructions given below for the CLI installer.}}&lt;br /&gt;
&lt;br /&gt;
To use the Graphical Installer select the '''Install Manjaro''' option from the Manjaro Welcome screen or from the desktop.&lt;br /&gt;
&lt;br /&gt;
For the ESP (EFI system partition) which will store the EFI Grub binary, a 512mb partition of type fat32 can be created in the partitioning step, and mounted to ''/boot/efi''&lt;br /&gt;
&lt;br /&gt;
If you are dual booting then an EFI partition from a previous install can also be used.&lt;br /&gt;
&lt;br /&gt;
=== CLI installer ===&lt;br /&gt;
&lt;br /&gt;
* 5-b. Open terminal &amp;amp; enter:&lt;br /&gt;
&lt;br /&gt;
 $ sudo setup&lt;br /&gt;
&lt;br /&gt;
* 6. Now, we are in the CLI Installer. &lt;br /&gt;
&lt;br /&gt;
* 7. ''Choose 1.'' Set date and time - an easy intuitive configuration.&lt;br /&gt;
&lt;br /&gt;
==== Disk preparation ====&lt;br /&gt;
&lt;br /&gt;
{{Tip|If your hard disk is already partitioned the way you want, then this step can be skipped.}}&lt;br /&gt;
&lt;br /&gt;
 * When you ''click 2.'' Partition Hard Drives, &lt;br /&gt;
   you get a dialog saying &amp;quot;Do you want to use GUID&lt;br /&gt;
   Partition Table (GPT)&amp;quot;, '''choose Yes'''.&lt;br /&gt;
 * Partition your disk(s) as you want (Instructions on&lt;br /&gt;
   manually partitioning are beyond the scope of this&lt;br /&gt;
   guide, some deatils are available [[Cfdisk_Basic_Partitioning_Scenarios|here]]).&lt;br /&gt;
 * ''Important Step:'' Create a 50~250MB EFI Partition,&lt;br /&gt;
   mine is 100MB (code: ef00)&lt;br /&gt;
&lt;br /&gt;
==== Setting filesystem mount points ====&lt;br /&gt;
&lt;br /&gt;
 * After the partitioning is done, go to ''4. Set Filesystem''&lt;br /&gt;
   ''Mountpoints.''&lt;br /&gt;
 * '''Important Step:''' Format the EFI Partition you&lt;br /&gt;
   created as '''VFAT''' and mount on /boot/efi&lt;br /&gt;
&lt;br /&gt;
{{Note|If you are re-using your EFI partition (that was created by Windows previously (or any other OS), then there is no need to format. Formatting will wipe the previous bootloader. Only mounting the EFI partition as '''/boot/efi''' is required in that case.}}&lt;br /&gt;
&lt;br /&gt;
==== Installation ====&lt;br /&gt;
&lt;br /&gt;
* 9. ''Choose 3.'' Install system and wait...&lt;br /&gt;
&lt;br /&gt;
* 10. Now, go to ''4. Configure System'' and configure it the way you like (username, password, mirrorlist, system-name, ...).&lt;br /&gt;
&lt;br /&gt;
* 11. When you are done, go to ''5. Install bootloader.'' Choose EFI_x86_64 &amp;gt; GRUB (2) UEFI x86_64,  ''DON'T select BIOS GRUB.''&lt;br /&gt;
&lt;br /&gt;
* 11.1 It will ask to format the EFI Partition you created earlier as FAT32, yes can be chosen.&lt;br /&gt;
{{Note|Formatting not required if reusing previous EFI partition.}}&lt;br /&gt;
&lt;br /&gt;
* 12. If it gives a error in the final stages saying &amp;quot;efivars kernel module was not properly loaded&amp;quot;, don't worry, the system will work fine!&lt;br /&gt;
&lt;br /&gt;
* 13. If the installer asks you about copying grub/efi files to another folder in order to maintain compatibility in some systems, choose Yes.&lt;br /&gt;
&lt;br /&gt;
* 14. ''Click 6.'' Quit&lt;br /&gt;
&lt;br /&gt;
* 15. Shutdown, remove the DVD or USB, and boot. Your system should appear now!&lt;br /&gt;
&lt;br /&gt;
= Switching from BIOS to UEFI =&lt;br /&gt;
&lt;br /&gt;
1) You need to create an ''ESP (EFI System Partition)''.&lt;br /&gt;
&lt;br /&gt;
It is a FAT32 partition which has the .efi files for booting, which you can create using gparted or gdisk. (Size at least 200-300 MiB.) Ensure the flags `boot` and `esp` are set on this partition.&lt;br /&gt;
&lt;br /&gt;
You should also install/check whether following packages are present-&lt;br /&gt;
&lt;br /&gt;
 1. efibootmgr&lt;br /&gt;
 2. dosfstools&lt;br /&gt;
 3. grub&lt;br /&gt;
&lt;br /&gt;
[[Pacman_Overview | (How to install packages)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Create the ''/boot/efi'' directory&lt;br /&gt;
 sudo mkdir /boot/efi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.) Mount the EFI partition as ''/boot/efi''&lt;br /&gt;
 sudo mount /dev/sdXY /boot/efi&lt;br /&gt;
X = Alphabet of the drive = a,b,c ...&lt;br /&gt;
Y = Partition number of the EFI partition = 1,2,3,4...&lt;br /&gt;
&lt;br /&gt;
Example - ''/dev/sda4''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.) Install Grub according to UEFI&lt;br /&gt;
 sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck&lt;br /&gt;
&lt;br /&gt;
5.) Update Grub configuration file.&lt;br /&gt;
 sudo update-grub&lt;br /&gt;
&lt;br /&gt;
'''Note-'''&lt;br /&gt;
If you get an error like&lt;br /&gt;
 path '/boot/grub' is not readable by Grub on boot. Installation is impossible. Aborting&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you get the following error : &lt;br /&gt;
&lt;br /&gt;
 EFI variables are not supported on this system.&lt;br /&gt;
&lt;br /&gt;
then you could load the '''efivarfs''' module :&lt;br /&gt;
 sudo modprobe efivarfs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''See also'''&lt;br /&gt;
&lt;br /&gt;
[[Restore the GRUB Bootloader]]&lt;br /&gt;
&lt;br /&gt;
[https://forum.manjaro.org/t/using-livecd-v17-0-1-as-grub-to-boot-os-with-broken-bootloader/24916]&lt;br /&gt;
&lt;br /&gt;
= Dual booting with Windows =&lt;br /&gt;
&lt;br /&gt;
{{tip|Some manufactures EFI implementations cause GRUB not to be showed in the Boot Menu, or even if its there it can't be made default.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''In such cases ''[http://www.rodsbooks.com/refind/index.html rEFInd]''''' can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Refind.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are two ways to install rEFInd-&lt;br /&gt;
&lt;br /&gt;
1.Install rEFInd from its website [http://www.rodsbooks.com/refind/installing.html] (detailed) or '''install using pacman'''''(preferred)''-&lt;br /&gt;
 sudo pacman -S refind&lt;br /&gt;
&lt;br /&gt;
Files will be present in  /usr/share/refind .&lt;br /&gt;
&lt;br /&gt;
2.Or using the instructions on the rEFInd website: [http://www.rodsbooks.com/refind/installing.html]&lt;br /&gt;
&lt;br /&gt;
== Instructions ==&lt;br /&gt;
&lt;br /&gt;
The '''refind-install''' command can be used to automatically install rEFInd (the EFI partition may need to be mounted for this to work). See the [https://wiki.archlinux.org/index.php/REFInd#Installation Arch wiki] for more details.&lt;br /&gt;
&lt;br /&gt;
=== Manual install ===&lt;br /&gt;
&lt;br /&gt;
Inside the refind folder ('''/usr/share/refind'''), copy the files and folders to-&lt;br /&gt;
&lt;br /&gt;
 /boot/efi/EFI/Boot/&lt;br /&gt;
&lt;br /&gt;
'''Note-'''&lt;br /&gt;
&lt;br /&gt;
My ESP (EFI System Partition) is mounted at /boot/efi.&lt;br /&gt;
&lt;br /&gt;
You need to copy these files to the Boot folder on your EFI partition, and the Boot folder itself will be present inside the EFI folder on the EFI Partition, so take note of it.&lt;br /&gt;
&lt;br /&gt;
You can check which partition is your ESP using Gparted; find which partition is formatted as fat32 and has size around 200mb-1gb.&lt;br /&gt;
&lt;br /&gt;
Can mount it as /boot/efi by&lt;br /&gt;
&lt;br /&gt;
 sudo mount /dev/sdXN /boot/efi&lt;br /&gt;
X=a,b,c...&lt;br /&gt;
N=1,2,3...&lt;br /&gt;
These depend on which partition your ESP is present which can be obtained via Gparted as mentioned earlier.&lt;br /&gt;
&lt;br /&gt;
Now inside the /boot/efi/EFI/Boot/ folder, there should already be a file present-&lt;br /&gt;
 bootx64.efi&lt;br /&gt;
&lt;br /&gt;
You can '''''rename''''' it as  ''windows.bootx64.efi''&lt;br /&gt;
Then you can rename ''refind_x64.efi'' to ''bootx64.efi''&lt;br /&gt;
&lt;br /&gt;
The bootx64.efi files boot by default, hence rEFInd should now boot by default, and detect grubx64.efi(linux-manjaro) and efibootmgfw.efi (windows) automatically.&lt;br /&gt;
&lt;br /&gt;
'''Note'''-&lt;br /&gt;
&lt;br /&gt;
A folder Manjaro (name could be some other also) containing the file grubx64.efi should also be present in /boot/efi/EFI/ folder, which should contain the grubx64.efi file which will be used by rEFInd to boot Grub.&lt;br /&gt;
&lt;br /&gt;
So it could be like-&lt;br /&gt;
 /boot/efi/EFI/Manjaro/grubx64.efi&lt;br /&gt;
&lt;br /&gt;
rEFInd would use this file for booting Manjaro.&lt;br /&gt;
&lt;br /&gt;
If you do not have this file or folder, try-&lt;br /&gt;
&lt;br /&gt;
 sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --recheck&lt;br /&gt;
&lt;br /&gt;
to create '''/boot/efi/EFI/Manjaro/grubx64.efi'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See also- [http://www.rodsbooks.com/refind/installing.html#naming http://www.rodsbooks.com/refind/installing.html#naming]&lt;br /&gt;
&lt;br /&gt;
=== An alternative: chainloading via GRUB ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An entry can be added to ''/etc/grub.d/40_custom''&lt;br /&gt;
&lt;br /&gt;
 menuentry 'Windows8 (UEFI)' {&lt;br /&gt;
 insmod ntfs&lt;br /&gt;
 set root=(hd0,gpt4)&lt;br /&gt;
 chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi&lt;br /&gt;
 boot&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
In this case (hd0,4) or /dev/sda4 is the EFI System partition where the Windows bootloader is present.&lt;br /&gt;
&lt;br /&gt;
After adding the above entry, running '''sudo update-grub''' updates the GRUB configuration file so that an entry named '''Windows8 (UEFI)''' is added to the GRUB boot menu.&lt;br /&gt;
&lt;br /&gt;
Related Forum thread: [https://forum.manjaro.org/t/detecting-efi-files-and-booting-them-from-grub/38083]&lt;br /&gt;
&lt;br /&gt;
The chainloading will fail on some hardware (Lenovo Ideapad 110) with the &amp;quot;invalid signature&amp;quot; message - the Refind method will still work.&lt;br /&gt;
&lt;br /&gt;
= Extras =&lt;br /&gt;
&lt;br /&gt;
== Using Rufus on Windows to create installation media ==&lt;br /&gt;
&lt;br /&gt;
[http://rufus.akeo.ie/ Rufus] users can use the following settings:&lt;br /&gt;
&lt;br /&gt;
 * Click on the DVD icon and load your .iso&lt;br /&gt;
 * In the menu left of the DVD icon, select DD Image&lt;br /&gt;
 * Device: &amp;quot;choose your USB&amp;quot; (Attention: choose correctly,&lt;br /&gt;
   the device selected here will be formatted!!!)&lt;br /&gt;
 * Partition scheme: GPT partition scheme for UEFI computer&lt;br /&gt;
 * File system: FAT32&lt;br /&gt;
 * Cluster size: &amp;quot;Don't modify&amp;quot;&lt;br /&gt;
 * Volume label: &amp;quot;Don't modify&amp;quot;&lt;br /&gt;
 * Click Start, and you are done (takes 2~5 min to complete).&lt;br /&gt;
&lt;br /&gt;
= Feedback =&lt;br /&gt;
&lt;br /&gt;
Questions, suggestions, critics? Please post here: [http://forum.manjaro.org/]&lt;br /&gt;
&lt;br /&gt;
= External Links =&lt;br /&gt;
&lt;br /&gt;
Youtube video: https://www.youtube.com/watch?v=36tDZIXn3-k&lt;br /&gt;
&lt;br /&gt;
[[Category:Contents Page]]&lt;/div&gt;</summary>
		<author><name>Eleanorve</name></author>
	</entry>
</feed>