Difference between revisions of "UEFI - Install Guide"

imported>Aaditya
imported>Aaditya
Line 1: Line 1:
= Introduction =
= Introduction =
At this stage of the game, installing a Linux distro on a UEFI can be the trickiest part of the installation.


  UEFI is the commonly agreed on name for both the EFI & UEFI  
  UEFI is the commonly agreed on name for both the EFI & UEFI  
Line 7: Line 5:
  or Apple's own non-standard version of EFI.
  or Apple's own non-standard version of EFI.


So the following guide can be a huge time & frustration saver for some users.
= Target computer =


<br clear="all" />
The following guide will install Manjaro as the sole installation on a machine with UEFI enabled, Secure boot disabled using GUID Partition Table  (GPT) disk(s).


== Target computer ==
For multi-boot, the EFI system partition which is already present (or will be created), can usually be shared amongst multiple Linux installs.


The following guide will install Manjaro as the sole installation on a machine with UEFI enabled, Secure boot disabled using GUID Partition Table  (GPT) disk(s).
= The steps =


<br clear="all" />
== Common ==
== The steps ==


* 1. Download your preferred Manjaro version (XFCE, Openbox, Cinnamon, KDE, ...), must be 64-bits.
* 1. Download your preferred Manjaro version (XFCE, Openbox, Cinnamon, KDE, ...), must be 64-bits.


* 2. Burn the .iso to USB or DVD. For Windows users using USB media, Rufus [http://rufus.akeo.ie/] is highly recommended.
* 2. Burn the .iso to USB or DVD. See [[Burn_an_ISO_File]] for more details.
 
* 2.1. Rufus (Windows) users should use the following settings:
 
* Click on the DVD icon and load your .iso
* Device: "choose your USB" (Attention: choose correctly,
  the device selected here will be formatted!!!)
* Partition scheme: GPT partition scheme for UEFI computer
* File system: FAT32
* Cluster size: "Don't modify"
* Volume label: "Don't modify"
* Click Start, and you are done (takes 2~5 min to complete).


* 3. Check your BIOS, UEFI must be ON and Secure boot OFF.
* 3. Check your BIOS, UEFI must be ON and Secure boot OFF.
Line 43: Line 29:
   from Nvidia or ATI.
   from Nvidia or ATI.


=== Graphical Installer ===


{{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.}}
{{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.}}


To use the Graphical Installer select the '''Install Manjaro''' option from the Manjaro Welcome screen or from the desktop.


* 5. To use the Graphical Installer select the '''Install Manjaro''' option from the Manjaro Welcome screen or from the desktop.
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''


If you are dual booting then an EFI partition from a previous install can also be used.


=== Advanced instructions (for CLI installer) ===
=== CLI installer ===
 


* 5-b. Open terminal & enter:
* 5-b. Open terminal & enter:
Line 58: Line 46:


* 6. Now, we are in the CLI Installer.  
* 6. Now, we are in the CLI Installer.  
'''Choose 2.''' Use testing installer (EFI support).
''Choose 2.'' Use testing installer (EFI support).


* 7. '''Choose 1.''' Set date and time - an easy intuitive configuration.
* 7. ''Choose 1.'' Set date and time - an easy intuitive configuration.


* 8. Now, '''Choose 2.''' Disk(s) preparation.  
* 8. Now, ''Choose 2.'' Disk(s) preparation.  
Go to '''2. Partition Hard Drives''' or follow the instruction in the next point '''8.1''' to automatically partition the entire disk.
Go to ''2. Partition Hard Drives'' or follow the instruction in the next point ''8.1'' to automatically partition the entire disk.


* 8.1 If you want to use the entire disk, and don't want to manually configure your partitions, you can choose '''1. Auto-Prepare.'''  
* 8.1 If you want to use the entire disk, and don't want to manually configure your partitions, you can choose ''1. Auto-Prepare.''


  Attention: I don't know for sure if using the  
  Attention: I don't know for sure if using the  
Line 73: Line 61:
  then please post here: [http://forum.manjaro.org/index.php?topic=5268.0]
  then please post here: [http://forum.manjaro.org/index.php?topic=5268.0]


'''If 8.1''' (Auto-Prepare) was chosen, you skip the process below and go to point 9 below.
''If 8.1'' (Auto-Prepare) was chosen, you skip the process below and go to point 9 below.


  * When you '''click 2.''' Partition Hard Drives,  
  * When you ''click 2.'' Partition Hard Drives,  
   you get a dialog saying "Do you want to use GUID
   you get a dialog saying "Do you want to use GUID
   Partition Table (GPT)", '''choose Yes'''.
   Partition Table (GPT)", '''choose Yes'''.
Line 81: Line 69:
   manually partitioning are beyond the scope of this
   manually partitioning are beyond the scope of this
   guide.)
   guide.)
  * '''Important Step:''' Create a 50~250MB EFI Partition,
  * ''Important Step:'' Create a 50~250MB EFI Partition,
   mine is 100MB (code: ef00)
   mine is 100MB (code: ef00)
{{Note|If you already have an EFI partition (for example created by Windows), then that can be also be used instead of creating a new EFI partition.}}
{{Note|If you already have an EFI partition (for example created by Windows), then that can be also be used instead of creating a new EFI partition.}}
  * When you are done, go to '''4. Set Filesystem'''
  * When you are done, go to ''4. Set Filesystem''
   '''Mountpoints.''' (Again, instructions on manually
   ''Mountpoints.'' (Again, instructions on manually
   partitioning are beyond the scope of this guide.
   partitioning are beyond the scope of this guide.
  * '''Important Step:''' Format the EFI Partition you
  * ''Important Step:'' Format the EFI Partition you
   created as '''VFAT''' and mount on /boot/efi
   created as '''VFAT''' and mount on /boot/efi
{{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.}}
{{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.}}


* 9. '''Choose 3.''' Install system and wait...
* 9. ''Choose 3.'' Install system and wait...


* 10. Now, go to '''4. Configure System''' and configure it the way you like (username, password, mirrorlist, system-name, ...).
* 10. Now, go to ''4. Configure System'' and configure it the way you like (username, password, mirrorlist, system-name, ...).


* 11. When you are done, go to '''5. Install bootloader.''' Choose EFI_x86_64 > GRUB (2) UEFI x86_64,  '''DON'T select BIOS GRUB.'''
* 11. When you are done, go to ''5. Install bootloader.'' Choose EFI_x86_64 > GRUB (2) UEFI x86_64,  ''DON'T select BIOS GRUB.''


* 11.1 It will ask to format the EFI Partition you created earlier as FAT32.
* 11.1 It will ask to format the EFI Partition you created earlier as FAT32.
Line 104: Line 92:
* 13. If the installer asks you about copying grub/efi files to another folder in order to maintain compatibility in some systems, choose Yes.
* 13. If the installer asks you about copying grub/efi files to another folder in order to maintain compatibility in some systems, choose Yes.


* 14. '''Click 6.''' Quit
* 14. ''Click 6.'' Quit
 
=== Note ===
 
To make sure that Grub was installed correctly, open a terminal and type-
 
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
 
To remake the Grub configuration so that any other OS can be detected, open a terminal and type-
sudo grub-mkconfig -o /boot/grub/grub.cfg


* 15. Shutdown, remove the DVD or USB, and boot. Your system should appear now!
* 15. Shutdown, remove the DVD or USB, and boot. Your system should appear now!


<br clear="all" />
= Switching from BIOS to UEFI =
 
== Switching from BIOS to UEFI ==  


For UEFI install the Disk partition table should be of type '''GPT (Guid Partition Table).'''
For UEFI install the Disk partition table should be of type '''GPT (Guid Partition Table).'''
Line 180: Line 157:
[https://forum.manjaro.org/index.php?topic=7315.msg120001#msg120001 https://forum.manjaro.org/index.php?topic=7315.msg120001#msg120001]
[https://forum.manjaro.org/index.php?topic=7315.msg120001#msg120001 https://forum.manjaro.org/index.php?topic=7315.msg120001#msg120001]


== Dual booting with Windows ==
= Dual booting with Windows =


{{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.}}
{{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.}}
Line 200: Line 177:
2.Or using the instructions on the rEFInd website: [http://www.rodsbooks.com/refind/installing.html]
2.Or using the instructions on the rEFInd website: [http://www.rodsbooks.com/refind/installing.html]


=== Instructions ===
== Instructions ==


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.
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.


==== Manual install ====
=== Manual install ===


Inside the refind folder ('''/usr/share/refind'''), copy the files and folders to-
Inside the refind folder ('''/usr/share/refind'''), copy the files and folders to-
Line 270: Line 247:




== Extras ==
= Extras =


=== Using Rufus on Windows to create installation media ===
== Using Rufus on Windows to create installation media ==


[http://rufus.akeo.ie/ Rufus] users can use the following settings:
[http://rufus.akeo.ie/ Rufus] users can use the following settings:
Line 285: Line 262:
  * Click Start, and you are done (takes 2~5 min to complete).
  * Click Start, and you are done (takes 2~5 min to complete).


== Feedback ==
= Feedback =


Questions, suggestions, critics? Please post here: [http://forum.manjaro.org/index.php?topic=5268.0]
Questions, suggestions, critics? Please post here: [http://forum.manjaro.org/index.php?topic=5268.0]


== External Links ==
= External Links =


Youtube video: https://www.youtube.com/watch?v=36tDZIXn3-k
Youtube video: https://www.youtube.com/watch?v=36tDZIXn3-k


[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user