Difference between revisions of "UEFI - Install Guide"
Views
Actions
Namespaces
Variants
Tools
→Remove old note about not supporting uefi in graphical
imported>Aaditya |
imported>Aaditya |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 43: | Line 43: | ||
from Nvidia or ATI. | from Nvidia or ATI. | ||
* 5. Open terminal & enter: | |||
{{Note|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.}} | |||
* 5. To use the Graphical Installer select the '''Install Manjaro''' option from the Manjaro Welcome screen or from the desktop. | |||
=== Advanced instructions (for CLI installer) === | |||
* 5-b. Open terminal & enter: | |||
$ sudo setup | $ sudo setup | ||
* 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). | ||
Line 63: | Line 73: | ||
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. | |||
* When you '''click 2.''' Partition Hard Drives, | * When you '''click 2.''' Partition Hard Drives, | ||
Line 108: | Line 118: | ||
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).''' | ||
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 | |||
Line 114: | Line 127: | ||
Its basically a fat32 partition which has the .efi files for booting. | Its basically a fat32 partition which has the .efi files for booting. | ||
You can create the partition using Gparted. | You can create the partition using Gparted (type- fat32 or fat16 and size around 512 mb). | ||
You would also need to install/check whether following packages are present- | You would also need to install/check whether following packages are present- | ||
Line 121: | Line 134: | ||
2. dosfstools | 2. dosfstools | ||
3. grub | 3. grub | ||
[[Pacman_Overview | (How to install packages)]] | |||
Line 140: | Line 155: | ||
5.) Update Grub configuration file. | 5.) Update Grub configuration file. | ||
sudo update-grub | 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 [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 : | |||
EFI variables are not supported on this system. | |||
then you should load the '''efivars''' module : | |||
sudo modprobe efivars | |||
Line 145: | Line 173: | ||
[[Restore the GRUB Bootloader]] | [[Restore the GRUB Bootloader]] | ||
[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 == | ||
Line 151: | Line 181: | ||
'''In such cases | '''In such cases ''[http://www.rodsbooks.com/refind/index.html rEFInd]''''' can be used. | ||
Line 164: | Line 194: | ||
Files will be present in /usr/share/refind . | Files will be present in /usr/share/refind . | ||
2.Or | 2.Or using the instructions on the rEFInd website: [http://www.rodsbooks.com/refind/installing.html] | ||
=== Instructions === | === Instructions === | ||
Inside the refind folder ('''/usr/share/refind'''), copy the files and folders to- | |||
/boot/efi/EFI/Boot/ | /boot/efi/EFI/Boot/ | ||
Line 191: | Line 220: | ||
bootx64.efi | bootx64.efi | ||
You | You can '''''rename''''' it as ''windows.bootx64.efi'' | ||
Then you | Then you can rename ''refind_x64.efi'' to ''bootx64.efi'' | ||
The bootx64.efi files boot by default, hence rEFInd | 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. | ||
'''Note'''- | '''Note'''- | ||
Line 213: | Line 241: | ||
See | See also- [http://www.rodsbooks.com/refind/installing.html#naming http://www.rodsbooks.com/refind/installing.html#naming] | ||
=== An alternative: chainloading via GRUB === | |||
An entry can be added to ''/etc/grub.d/40_custom'' | |||
menuentry 'Windows8 (UEFI)' { | |||
insmod ntfs | |||
set root=(hd0,gpt4) | |||
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi | |||
boot | |||
} | |||
In this case (hd0,4) or /dev/sda4 is the EFI System partition where the Windows bootloader is present. | |||
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. | |||
Related Forum thread: [http://forum.manjaro.org/index.php?topic=11998.0] | |||
==Feedback:== | ==Feedback:== |