Refind Boot Manager

29/12/2020
Most Linux systems boot using GRUB, however alternatives are always worth exploring. When the BURG project was started, the idea was to improve configuration and make it look better. This was quite successful but the software is now out of maintenance. An actively maintained alternative is rEFInd. This is much more refined but it only supports EFI capable hardware. You would be hard pressed to find any system that do not support the EFI or UEFI standard though! Windows 8 and newer are all required to have UEFI, so cannot be shipped for older systems. If you want to make sure on your Linux system, check the dmesg command.

$ dmesg |grep EFI

One small detail rEFInd is a boot manager, not a boot loader. This means you have to use a boot loader. In most cases, you can use the OS own boot loader though. With Linux kernel 3.3.0 and higher, the kernel itself can act as a boot-loader. Usually distributions compile the kernel with this active. In you computer, the UEFI actually have a choice menu in many cases. These systems are often over simplified though, so neat boot manager can be useful some times.

What is Refind enhancing?

It makes configuration easier and improves it. Some improvements are more manual features for passing parameters to the kernel, support for more operating systems and adding a iPXE boot path when the network allows it. rEFInd relies less on configuration files, as it scans for all bootable partitions available. This may make it slightly slower if you have many efi files. You can tell rEFInd not to scan them though.

Which features are worth it and when?

The rEFInd package is more versatile when it comes to the operating systems it supports. The theme support is a little better but the best features are when you have problems with your specific hardware.

How do you install it, safely?

Now that you have decided to use rEFInd, here’s how to install it. In Ubuntu and many other distributions, you already have the package available from repository. However, This is usually a version behind so if you want the newest, use the PPA for Ubuntu. When you are using another distribution, you have the option to use the source code from the Sourceforge Page. With all these options you can also install to a USB drive.

The simplest way to install rEFInd, on Ubuntu, is to use its PPA as below.

$ sudo apt-add-repository ppa:rodsmith/refind
$ sudo apt update $ sudo apt install refind

This method will do everything for you, and replace Grub, which you most likely have on your system. If you are uncertain if it is worth it and you want to try it out before you decide, there is a manual way. With this manual method can also install it to a USB stick and boot from there. To get started, download the binary zip-file from the rEFInd Getting page. Unpack the files in a directory of your choosing.

$ unzip ~/Downloads/refind-bin-0.11.4.zip
$ cd <Your Path>/refind-bin-0.11.4/

Inside, you have all the binaries that yo can install one by one but there is also a script that makes things easier. This is the refind-install script. You execute it with the –usedefault parameter, pointing it to your USB stick, i.e /dev/sdb1.

$ refind-install –usedefault /dev/sdb1

On /dev/sdb1, yo now have all the files needed including refind.conf which you need to edit to match your needs. You can install a theme if you are so inclined. Here is an example! Download rEFInd-sunset from the authors gitlab account. You can use git to clone it to the themes directory or use a packed version. Make sure all the files are in the themes/rEFInd-sunset/ directory and add ‘include themes/rEFIND-sunset/theme.conf’ in your ‘refind.conf’ file. Next time you boot, you will see a beautiful sunset when you start from that memory stick.

Now, you can test your install carefully without risking your regular setup. When you feel comfortable that it works and suit you, copy the configuration to your main disk. You have an option for this in the refind-install command.

$ refind-install –root main

Here ‘main’ should be mounted on your main system disk. The files will be installed under the ‘main’ mount point and your system should work well. If you prefer, you can also install rEFInd using your package manager and copy the theme files over. Also, change your refind.conf so you get the tweaks.

Conclusion

Most Linux system boot through Grub, this is usually enough and sometimes even overkill. However, in some case you have strange hardware or particular tastes. In those cases, you should consider rEFInd. You can create a much more pleasant boot experience and it is easier to use once it is installed.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

[Ubuntu] Hướng dẫn cài đặt LEMP Stack trên Ubuntu 20.04 Develop version

LEMP là một nhóm các phần mềm có thể dùng để phục vụ các trang web động và các ứng dụng...
30/12/2020

Moodle [Part 6] – Hướng dẫn tạo Category (Chủ đề hay Thể loại) và các Course (Khóa học)

Ở bài viết trước, Onet đã hướng dẫn cách thêm tài khoản vào hệ thống Moodle. Trong bài viết...
30/12/2020

How to Zip a Folder in Linux

In this article, I will show you how to Zip and Unzip a Folder or Directory in Linux.  This might seem trivial, but sometimes...
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Mua proxy v4 chạy socks5 để chơi game an toàn, tốc độ cao ở đâu?
18/05/2024

Thuê mua proxy Telegram trọn gói, tốc độ cao, giá siêu hời
18/05/2024

Thuê mua proxy Viettel ở đâu uy tín, chất lượng và giá tốt? 
14/05/2024

Dịch vụ thuê mua proxy US UK uy tín, chất lượng số #1
13/05/2024

Thuê mua proxy Việt Nam: Báo giá & các thông tin MỚI NHẤT
13/05/2024