Установка manjaro kde uefi ssd
Install dual boot Manjaro in Asus GL552VW using UEFI on SSD alongside Windows 10
Most of the people who use Linux have their system installed in the same disk as a Windows installation. This dual boot configuration often goes wrong, as it was my case, so after some research in internet, here's how to do it properly. To clarify, this set up would be with an Asus GL552VW with two disk: Samsung EVO 860 SSD for the OS, previous HDD for the data.
I'm making this as I had a lot of problems trying to boot in UEFI: usb getting grub rescue with Unknown filesystem error code, SSD getting a stuck at boot after a fresh install, etc. One of these troubles was I wasn't able to boot in the usb in UEFI mode. I tried changing every BIOS parameter and nothing worked, so I decided to boot in ACPI (BIOS) mode, install Manjaro in this mode and then install the EFI support. If you can boot the usb in UEFI mode, you just have to install the OS and EFI support will be available. But, if your case is similar to mine and you cannot boot any usb in UEFI mode, follow next steps.
BIOS settings, disk format and Windows set up
First of all, boot into the BIOS and disable Secure Boot option in the security options if you haven't done it before. Don't exit the BIOS yet.
If you cannot boot in UEFI, switch Launch CSM option in boot menu to enabled and be sure Launch PXE OpROM policy is disabled. BIOS settings is ok for now.
We start from an empty SSD disk. We would need to use GPT partition table for this disk, as we want to set it up with a UEFI boot system. For that task, we can boot from a Windows usb bootable (use Windows media creation tool) and install the OS using the typical next-clicking installer, setting the correct size for this system (I'm using a 500GB SSD, so 300-350GB it's ok for me for Windows) and GPT.
The installer will create 4 partitions, usually in this order:
Device | Start | End | Size | Filesystem | Info | Flags |
---|---|---|---|---|---|---|
/dev/sdb1 | 1049kB | 524MB | 523MB | ntfs | Basic data partition | hidden, diag |
/dev/sdb2 | 524MB | 629MB | 105MB | fat32 | EFI system partition | boot, esp |
/dev/sdb3 | 629MB | 646MB | 16,8MB | Microsoft reserved partition | msftres | |
/dev/sdb4 | 646MB | 323GB | 322GB | ntfs | Basic data partition | msftdata |
It's important to remember the second partition, as it's the ESP (EFI System Partition) partition where we will need to install the grub in afterwards.
When Windows is installed, we need to disable the Hibernation (which also disables the Fast Boot). Disabling also Hibernation, we avoid any kind of problem mounting the Windows partition on our Linux system in a future. For that issue, boot up the system and open a cmd window with admin privileges and run the next command:
We can also run this command to force Windows to use UTC time. This would help us for making sure the time is the same in both OS.
Most people have just Windows installed in their system. If it's your case and you want to install Manjaro, you have to be sure your disk have GPT and disable the hibernation.
As I said, there're no way for me to boot the manjaro bootable usb in UEFI mode, so I needed to install it first in ACPI (BIOS) mode and then install EFI system. Plug the usb, boot your Asus and press ESC to select the USB. Manjaro installation grub will appear, keep options like that and boot. Install Manjaro using the installation wizard. I always prefer manual partitioning to set different partitions for /, /boot and /home (at least). These are the partitions I used:
Device | Size | Filesystem | Mount point | |
---|---|---|---|---|
/dev/sdb1 | 523MB | ntfs | Installed by W10. Do not modify | |
/dev/sdb2 | 105MB | fat32 | ||
/dev/sdb3 | 16,8MB | |||
/dev/sdb4 | 322GB | ntfs | ||
/dev/sdb5 | 94GB | ext4 | / | Linux partitions to create |
/dev/sdb6 | 800MB | ext4 | /boot | |
/dev/sdb7 | 8GB | linuxswap | ||
/dev/sdb8 | 65.5GB | ext4 | /home |
If you use the manual partitioning, don't select any flag creating these partitions, as it's not needed and it could be wrong later. Before going to the next step, select the ESP partition (/dev/sdb2) in the installation wizard, click in edit and be sure the flags boot and esp are clicked. If not, do it and proceed to install.
When the install finishes, don't reboot the computer as it will not boot with the default grub options. As we still are using the usb bootable, we can mount the system and modify the grub for a proper boot.
Open a terminal, mount your system and chroot on it:
Open /etc/default/grub and modify GRUB_CMDLINE_LINUX_DEFAULT, adding next kernel parameters:
After that, save and update grub and umount the filesystems.
Boot the system and everything should be well. We have now a Manjaro fresh installation in ACPI (BIOS) mode, so we need to change it to UEFI.
Change Manjaro from ACPI to UEFI
For this task we can use the entry that is in the Manjaro documentation. Follow all steps and remember our EFI partition is /dev/sdb2. Maybe you get some warnings while using command grub-install, don't mind about them if they're just warnings.
Take in care you maybe need to run these commands in chroot if some error is found in fresh installed Manjaro with grub-install . This is because we cannot modify some ESP files while system is booted up. In that case, mount root partition, chroot in it with manjaro-chroot and execute last commands. Don't forget to exit chroot/umount partitions when the configuration is done.
After that, reboot the system and boot into the BIOS. Disable the option Launch CSM to avoid any BIOS boot system and select the new Linux bootloader option if exists. If not, go to Boot menu -> Add new boot option and select the file grubx64.efi in path /EFI/manjaro/. Set a name to that bootloader, save and boot it up.
So both systems are now installed, included grub to select the OS we want to boot up. Maybe Windows 10 entry isn't shown in grub OS list. If it's your case, check there's a file called bootmgfw.efi in /EFI/Microsoft/Boot/ in ESP partition (/dev/sdb2). If exists and no entry appears in grub, your Windows bootloader may be broken, but you'll probably be able to save it. Create a new menu entry in your grub by creating file /etc/grub.d/05_custom and saving after pasting the following text. Of course, you need to update the grub afterwards.
All installed, it's now time for optimizations. I chose KDE as environment due to its features and performance. I also decided to boot Manjaro every time with non-proprietary graphics drivers (video-linux) as I wans't able to install Nvidia drivers and boot up correctly the system; always got stuck at boot, no matter what kernel parameters I wrote to boot the system.
So if everything is ok, open a terminal and run the next commands to optimize our OS:
If your system also uses a SSD disk, continuous TRIM is enabled by default in Linux. It's known by the last years it's bad for our SSD performance in a long time, so we can disable it and enable periodic TRIM. Open /etc/fstab and remove all discard parameters from the mount options in fstab file. After that, save the file, run next command and reboot:
Modern computers may have a large amount of RAM. If it's your case, you would maybe want to reduce the probabilty your system uses the swap memory instead of the RAM memory. Swappiness value goes from 0 to 100. Run the following command to modify it. I selected 10%, but you're free to choose the value you consider. Settings will be taken in count after rebooting.
You can mount your Windows filesystem or an additional hard drive in Linux by using the file manager. Anyway, if you want to mount them every time you boot up Manjaro, you can do it by editing the /etc/fstab file. Run:
You can also add this stuff to the .bashrc file. Feel free to add your personalized alias.
You may also want to use different keyboard layouts. I will add the proper configuration for Spanish and English US layout in this laptop. Go to System Settings -> Input devices and select:
- Hardware -> Keyboard model: Generic | Generic 104-key PC with L-shaped Enter key
- Layouts:
- English (US) - English (US intl. with dead keys) - us
- Spanish - Spanish (Sun type 6/7) - es
I also recommend you Dolphin plugins/services. It offers you additional functions that can help you.
In my opinion, KDE is the best Linux desktop environment by far for medium or hight level computers. It offers a lot of tools and personalization. These are my theming choices and some screenshots. Selected option is marked in bold.
- Global theme: Arc Dark, Aritim-Dark, ChromeOS-dark, Layan, McMojave, Numix, Qogir-dark.
- Plasma style: Layan
- Application style -> Windows decorations: ChromeOS-dark
- Colors: Layan
- Fonts: All types +2 pts.
- Icons: Tela dark
- Cursors: Arc-ICONS
- Workspace behaviour -> Screen Locking -> Appereance: img/Minimalism_wallpaper.jpg
- Startup and Shutdown -> Login Screen (SDDM): Layan with modified background img/Minimalism_wallpaper.jpg
- Startup and Shutdown -> Splash Screen: Qogir-dark
- Desktop wallpaper: EarthPlasma1080
You can also install grub-customizer for installing different grub themes. For that matter, type the following command:
There are a lot of themes, but I recommend Tela1080p personally.
About
Step by step to install dual boot Manjaro in Asus GL552VW using UEFI on SSD alongside Windows 10
The following guide aims to install Manjaro on a machine with UEFI enabled, Secure boot disabled, and using GUID Partition Table (GPT) disk(s).
For multi-boot, the EFI system partition which is already present (or will be created), can usually be shared amongst multiple Linux installs.
An alternative: chainloading via GRUB
An entry can be added to
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.
The chainloading will fail on some hardware (Lenovo Ideapad 110) with the "invalid signature" message - the Refind method will still work.
The following guide aims to install Manjaro on a machine with UEFI enabled, Secure boot disabled, and using GUID Partition Table (GPT) disk(s).
For multi-boot, the EFI system partition which is already present (or will be created), can usually be shared amongst multiple Linux installs.
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 Arch wiki for more details.
An alternative: chainloading via GRUB
An entry can be added to
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.
The chainloading will fail on some hardware (Lenovo Ideapad 110) with the "invalid signature" message - the Refind method will still work.
Most of the people who use Linux have their system installed in the same disk as a Windows installation. This dual boot configuration often goes wrong, as it was my case, so after some research in internet, here's how to do it properly. To clarify, this set up would be with an Asus GL552VW with two disk: Samsung EVO 860 SSD for the OS, previous HDD for the data.
I'm making this as I had a lot of problems trying to boot in UEFI: usb getting grub rescue with Unknown filesystem error code, SSD getting a stuck at boot after a fresh install, etc. One of these troubles was I wasn't able to boot in the usb in UEFI mode. I tried changing every BIOS parameter and nothing worked, so I decided to boot in ACPI (BIOS) mode, install Manjaro in this mode and then install the EFI support. If you can boot the usb in UEFI mode, you just have to install the OS and EFI support will be available. But, if your case is similar to mine and you cannot boot any usb in UEFI mode, follow next steps.
BIOS settings, disk format and Windows set up
First of all, boot into the BIOS and disable Secure Boot option in the security options if you haven't done it before. Don't exit the BIOS yet.
If you cannot boot in UEFI, switch Launch CSM option in boot menu to enabled and be sure Launch PXE OpROM policy is disabled. BIOS settings is ok for now.
We start from an empty SSD disk. We would need to use GPT partition table for this disk, as we want to set it up with a UEFI boot system. For that task, we can boot from a Windows usb bootable (use Windows media creation tool) and install the OS using the typical next-clicking installer, setting the correct size for this system (I'm using a 500GB SSD, so 300-350GB it's ok for me for Windows) and GPT.
The installer will create 4 partitions, usually in this order:
Device Start End Size Filesystem Info Flags /dev/sdb1 1049kB 524MB 523MB ntfs Basic data partition hidden, diag /dev/sdb2 524MB 629MB 105MB fat32 EFI system partition boot, esp /dev/sdb3 629MB 646MB 16,8MB Microsoft reserved partition msftres /dev/sdb4 646MB 323GB 322GB ntfs Basic data partition msftdata It's important to remember the second partition, as it's the ESP (EFI System Partition) partition where we will need to install the grub in afterwards.
When Windows is installed, we need to disable the Hibernation (which also disables the Fast Boot). Disabling also Hibernation, we avoid any kind of problem mounting the Windows partition on our Linux system in a future. For that issue, boot up the system and open a cmd window with admin privileges and run the next command:
We can also run this command to force Windows to use UTC time. This would help us for making sure the time is the same in both OS.
Most people have just Windows installed in their system. If it's your case and you want to install Manjaro, you have to be sure your disk have GPT and disable the hibernation.
As I said, there're no way for me to boot the manjaro bootable usb in UEFI mode, so I needed to install it first in ACPI (BIOS) mode and then install EFI system. Plug the usb, boot your Asus and press ESC to select the USB. Manjaro installation grub will appear, keep options like that and boot. Install Manjaro using the installation wizard. I always prefer manual partitioning to set different partitions for /, /boot and /home (at least). These are the partitions I used:
Device Size Filesystem Mount point /dev/sdb1 523MB ntfs Installed by W10. Do not modify /dev/sdb2 105MB fat32 /dev/sdb3 16,8MB /dev/sdb4 322GB ntfs /dev/sdb5 94GB ext4 / Linux partitions to create /dev/sdb6 800MB ext4 /boot /dev/sdb7 8GB linuxswap /dev/sdb8 65.5GB ext4 /home If you use the manual partitioning, don't select any flag creating these partitions, as it's not needed and it could be wrong later. Before going to the next step, select the ESP partition (/dev/sdb2) in the installation wizard, click in edit and be sure the flags boot and esp are clicked. If not, do it and proceed to install.
When the install finishes, don't reboot the computer as it will not boot with the default grub options. As we still are using the usb bootable, we can mount the system and modify the grub for a proper boot.
Open a terminal, mount your system and chroot on it:
Open /etc/default/grub and modify GRUB_CMDLINE_LINUX_DEFAULT, adding next kernel parameters:
After that, save and update grub and umount the filesystems.
Boot the system and everything should be well. We have now a Manjaro fresh installation in ACPI (BIOS) mode, so we need to change it to UEFI.
Change Manjaro from ACPI to UEFI
For this task we can use the entry that is in the Manjaro documentation. Follow all steps and remember our EFI partition is /dev/sdb2. Maybe you get some warnings while using command grub-install, don't mind about them if they're just warnings.
Take in care you maybe need to run these commands in chroot if some error is found in fresh installed Manjaro with grub-install . This is because we cannot modify some ESP files while system is booted up. In that case, mount root partition, chroot in it with manjaro-chroot and execute last commands. Don't forget to exit chroot/umount partitions when the configuration is done.
After that, reboot the system and boot into the BIOS. Disable the option Launch CSM to avoid any BIOS boot system and select the new Linux bootloader option if exists. If not, go to Boot menu -> Add new boot option and select the file grubx64.efi in path /EFI/manjaro/. Set a name to that bootloader, save and boot it up.
So both systems are now installed, included grub to select the OS we want to boot up. Maybe Windows 10 entry isn't shown in grub OS list. If it's your case, check there's a file called bootmgfw.efi in /EFI/Microsoft/Boot/ in ESP partition (/dev/sdb2). If exists and no entry appears in grub, your Windows bootloader is broken, you need to fix it.
All installed, it's now time for optimizations. I chose KDE as environment due to its features and performance. I also decided to boot Manjaro every time with non-proprietary graphics drivers (video-linux) as I wans't able to install Nvidia drivers and boot up correctly the system; always got stuck at boot, no matter what kernel parameters I wrote to boot the system.
So if everything is ok, open a terminal and run the next commands to optimize our OS:
If your system also uses a SSD disk, continuous TRIM is enabled by default in Linux. It's known by the last years it's bad for our SSD performance in a long time, so we can disable it and enable periodic TRIM. Open /etc/fstab and remove all discard parameters from the mount options in fstab file. After that, save the file, run next command and reboot:
You can mount your Windows filesystem in Linux by using the file manager. Anyway, if you want to mount your Windows partition every time you boot up Manjaro, you can do it by editing the /etc/fstab file. Run:
CLI installer
- 6. Now, we are in the CLI Installer.
- 7. Choose 1. Set date and time - an easy intuitive configuration.
Disk preparation
Setting filesystem mount points
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.
Installation
- 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, . ).
- 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, yes can be chosen.
- 12. If it gives a error in the final stages saying "efivars kernel module was not properly loaded", don't worry, the system will work fine!
- 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
- 15. Shutdown, remove the DVD or USB, and boot. Your system should appear now!
1) You 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 at least 200-300 MiB.) Ensure the flags `boot` and `esp` are set on this partition.
You should also install/check whether following packages are present-
2) Create the /boot/efi directory
3.) Mount the EFI partition as /boot/efiX = 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 UEFIuser $ sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck COPY TO CLIPBOARD
5.) Update Grub configuration file.
Then you will need to chroot as described here, and then perform Step 5 again.
then you could load the efivarfs module :
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.
In such cases rEFInd can be used.
There are two ways to install rEFInd-1.Install rEFInd from its website (detailed) or install using pacman(preferred)-
Files will be present in /usr/share/refind .
2.Or using the instructions on the rEFInd website: [1]
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.
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.
An alternative: chainloading via GRUB
An entry can be added to
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.
The chainloading will fail on some hardware (Lenovo Ideapad 110) with the "invalid signature" message - the Refind method will still work.
The following guide aims to install Manjaro on a machine with UEFI enabled, Secure boot disabled, and using GUID Partition Table (GPT) disk(s).
For multi-boot, the EFI system partition which is already present (or will be created), can usually be shared amongst multiple Linux installs.
Common
- 1. Download your preferred Manjaro version (XFCE, Openbox, Cinnamon, KDE, . ), must be 64-bits.
- 2. Burn the .iso to USB or DVD. See Burn an ISO File for more details.
- 3. Check your BIOS, UEFI must be ON and Secure boot OFF.
- 4. Boot with your USB or DVD & use the rEFInd - Main Menu. to choose which GPU drivers you want to have installed, the open-source or proprietary:
Manual install
Inside the refind folder (/usr/share/refind), copy the files and folders to-
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.
You can check which partition is your ESP using Gparted; find which partition is formatted as fat32 and has size around 200mb-1gb.
Can mount it as /boot/efi by
X=a,b,c. N=1,2,3. These depend on which partition your ESP is present which can be obtained via Gparted as mentioned earlier.
Now inside the /boot/efi/EFI/Boot/ folder, there should already be a file present-
You can rename it as windows.bootx64.efi Then you can rename refind_x64.efi to bootx64.efi
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 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.
So it could be like-
rEFInd would use this file for booting Manjaro.
If you do not have this file or folder, try-
user $ sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --recheck COPY TO CLIPBOARD
to create /boot/efi/EFI/Manjaro/grubx64.efi
Common
- 1. Download your preferred Manjaro version (XFCE, Openbox, Cinnamon, KDE, . ), must be 64-bits.
- 2. Burn the .iso to USB or DVD. See Burn an ISO File for more details.
- 3. Check your BIOS, UEFI must be ON and Secure boot OFF.
- 4. Boot with your USB or DVD & use the rEFInd - Main Menu. to choose which GPU drivers you want to have installed, the open-source or proprietary:
CLI installer
- 6. Now, we are in the CLI Installer.
- 7. Choose 1. Set date and time - an easy intuitive configuration.
Disk preparation
Setting filesystem mount points
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.
Installation
- 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, . ).
- 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, yes can be chosen.
- 12. If it gives a error in the final stages saying "efivars kernel module was not properly loaded", don't worry, the system will work fine!
- 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
- 15. Shutdown, remove the DVD or USB, and boot. Your system should appear now!
1) You 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 at least 200-300 MiB.) Ensure the flags `boot` and `esp` are set on this partition.
You should also install/check whether following packages are present-
2) Create the /boot/efi directory
3.) Mount the EFI partition as /boot/efiX = 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 UEFIuser $ sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck COPY TO CLIPBOARD
5.) Update Grub configuration file.
Then you will need to chroot as described here, and then perform Step 5 again.
then you could load the efivarfs module :
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.
In such cases rEFInd can be used.
There are two ways to install rEFInd-1.Install rEFInd from its website (detailed) or install using pacman(preferred)-
Files will be present in /usr/share/refind .
2.Or using the instructions on the rEFInd website: [1]
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.
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.
Common
- 1. Download your preferred Manjaro version (XFCE, Openbox, Cinnamon, KDE, . ), must be 64-bits.
- 2. Burn the .iso to USB or DVD. See Burn an ISO File for more details.
- 3. Check your BIOS, UEFI must be ON and Secure boot OFF.
- 4. Boot with your USB or DVD & use the rEFInd - Main Menu. to choose which GPU drivers you want to have installed, the open-source or proprietary:
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 Arch wiki for more details.
Manual install
Inside the refind folder (/usr/share/refind), copy the files and folders to-
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.
You can check which partition is your ESP using Gparted; find which partition is formatted as fat32 and has size around 200mb-1gb.
Can mount it as /boot/efi by
X=a,b,c. N=1,2,3. These depend on which partition your ESP is present which can be obtained via Gparted as mentioned earlier.
Now inside the /boot/efi/EFI/Boot/ folder, there should already be a file present-
You can rename it as windows.bootx64.efi Then you can rename refind_x64.efi to bootx64.efi
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 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.
So it could be like-
rEFInd would use this file for booting Manjaro.
If you do not have this file or folder, try-
user $ sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --recheck COPY TO CLIPBOARD
to create /boot/efi/EFI/Manjaro/grubx64.efi
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.
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.
Manual install
Inside the refind folder (/usr/share/refind), copy the files and folders to-
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.
You can check which partition is your ESP using Gparted; find which partition is formatted as fat32 and has size around 200mb-1gb.
Can mount it as /boot/efi by
X=a,b,c. N=1,2,3. These depend on which partition your ESP is present which can be obtained via Gparted as mentioned earlier.
Now inside the /boot/efi/EFI/Boot/ folder, there should already be a file present-
You can rename it as windows.bootx64.efi Then you can rename refind_x64.efi to bootx64.efi
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 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.
So it could be like-
rEFInd would use this file for booting Manjaro.
If you do not have this file or folder, try-
user $ sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --recheck COPY TO CLIPBOARD
to create /boot/efi/EFI/Manjaro/grubx64.efi
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 Arch wiki for more details.
CLI installer
- 6. Now, we are in the CLI Installer.
- 7. Choose 1. Set date and time - an easy intuitive configuration.
Disk preparation
Setting filesystem mount points
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.
Installation
- 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, . ).
- 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, yes can be chosen.
- 12. If it gives a error in the final stages saying "efivars kernel module was not properly loaded", don't worry, the system will work fine!
- 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
- 15. Shutdown, remove the DVD or USB, and boot. Your system should appear now!
1) You 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 at least 200-300 MiB.) Ensure the flags `boot` and `esp` are set on this partition.
You should also install/check whether following packages are present-
2) Create the /boot/efi directory
3.) Mount the EFI partition as /boot/efiX = 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 UEFIuser $ sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck COPY TO CLIPBOARD
5.) Update Grub configuration file.
Then you will need to chroot as described here, and then perform Step 5 again.
then you could load the efivarfs module :
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.
In such cases rEFInd can be used.
There are two ways to install rEFInd-1.Install rEFInd from its website (detailed) or install using pacman(preferred)-
Files will be present in /usr/share/refind .
2.Or using the instructions on the rEFInd website: [1]
Читайте также: