#
rEFInd Installation
#
What is rEFInd?
rEFInd is a GUI based boot manager for UEFI and EFI-based machines. It can be used to boot multiple operating systems that are installed on a single device. It also provide some basic theme Customisation options.
#
Installation
Now we are gonna learn how to install rEFInd from both Windows and Linux. Please note that it is recommended to know how to use terminal and have basic knowledge of partition in order to install rEFInd.
#
Getting rEFInd
If you'r in Linux you can use
#
Preparation
Before moving forward we first need to do some minor preparation for both Windows and Linux users who want to install rEFInd manually. After downlading rEFInd package, Extract it to your Desktop and rename it to "refind", open it, edit refind.conf and add the following text at the end of the file.
menuentry "Darkmatter" {
volume
loader /kernel
initrd /initrd.img
options "root=/dev/ram0 androidboot.hardware=android_x86_64 androidboot.selinux=permissive SRC=/"
}
Edit the location of required files if you have installed your OS in any other custom location.
#
Windows Installation
If you done downloading all required packages for windows, we're good-to-go for further steps.
- First extract EasyUEFI to your desktop and copy refind folder to
c:drive. - Setup EasyUEFI on your system and run it as
administrator. - Now open
Manage EFI System Partition>EFI System Partition Explorerin EasyUFI and select your fat32 EFI partition, which is most likely 500 MB in size. open it! - Right click on
\directory and select upload. Now select therefindfile you copied inc:drive and click ok. This will add refind file to\directory. - Click on Exit > Home to go back to main screen, select
Manage EFI Boot Optionsand click on Create new entry(Button with small '+' sign). - After new popup appears, setlect the Type as
Unix or Other OS, Type "refind" in Description and navigate to fat32 EFI partition, select\refind\refind_x64.efifor 64 bit or\refind\refind_ia32.efifor 32 bit CPUs and click ok to save changes. - Now a new boot entry with name "refind" will be created, select it and click on move up(button with small up arrow), click it untill "refind" boot menu reach at the top of all other boot menus. This will set rEFInd as our default bootloader.
- Lastly click on Home button and then close the EasyUEFI program.
#
If rEFInd does't bootup
Reboot to bios and select boot Sequence.If refind is already on the top of every other boot entry then click on save else select refind, click up arrow untill refind reaches the top of all other boot entries and then Save it.
#
Linux Installation
You can install rEFInd on linux via terminal or even manually.
#
Install through terminal
- Press
CTRL + ALT + Tto open terminal and then type these commands-
# for Ubuntu and Debain users
sudo apt install refind
# for Arch linux users
sudo pacman -S refind
If you're fedora, Mageia or other linux user then follow these steps-
- Go to this link and download latest
rpmordebfile according to your system.- If you install
rpmfile then cd to file and typesudo rpm -i refind*.rpm- If you install
dbmfile then cd to file and typesudo dpkg -i refind*.deb
rEFInd instllation start automatically if not then type-
sudo refind-install
- Now after your rEFInd is installed on your distro, open any filemanager as root and navigate to
/boot/efi/EFI/refind. - Edit
refind.confand add following text at the end of the file-
menuentry "Darkmatter" {
volume
loader /kernel
initrd /initrd.img
options "root=/dev/ram0 androidboot.hardware=android_x86_64 androidboot.selinux=permissive SRC=/"
}
Edit the location of required files if you have installed your OS in any other custom location.
- Save the file and reboot.
#
Install manually
If you done all
- Copy "refind" folder we extracted in Desktop.
- Open any filemanger as root and copy "refind" file to
/boot/efi/EFI/refind. - now reboot to bios and select
boot Sequence, click on New Entry button and name it "refind" and select location of the boot file/EFI/refind/refind_x64.efifor 64 bit or\refind\refind_ia32.efifor 32 bit CPUs. - Now click on save, select refind and click up arrow untill refind reaches the top of all other boot options.
- Now reboot!
#
Finally!!
And thats it! We have successfully installed rEFInd.