如何自定义Ubuntu Bootloader屏幕

We all know Grub2 is the default bootloader for Ubuntu, but it isn’t the prettiest bootloader ever. Since we also know that Ubuntu is highly customizable, this week we’re going to show you how to beautify your bootloader.

我们都知道Grub2是Ubuntu的默认引导程序,但它并不是有史以来最漂亮的引导程序。 由于我们也知道Ubuntu是高度可定制的,因此本周我们将向您展示如何美化Bootloader。

To accomplish this, we’re going to utilize an add-on called BURG, which is a Brand-new Universal loadeR based on Grub and is created by Bean. It has much prettier GUI and it supports themes and customizations.

为此,我们将使用一个名为BURG的附加组件 ,它是一个基于Grub的全新通用加载程序,由Bean创建。 它具有更漂亮的GUI,并且支持主题和自定义。

安装BURG (Installing BURG)

First, start by adding the PPA. Open a terminal window and insert the following command:

首先,首先添加PPA。 打开一个终端窗口,并插入以下命令:

sudo add-apt-repository ppa:bean123ch/burg && sudo apt-get update

sudo add-apt-repository ppa:bean123ch / burg && sudo apt-get更新

如何自定义Ubuntu Bootloader屏幕

Once completed, close the terminal window and start Synaptic Package Manager. You’ll find it in System > Administration > Synaptic Package Manager. Use the search box to search for “burg” and mark it for installation then click apply.

完成后,关闭终端窗口并启动Synaptic Package Manager。 您可以在系统>管理> Synaptic软件包管理器中找到它。 使用搜索框搜索“ burg”并将其标记为要安装,然后单击“应用”。

如何自定义Ubuntu Bootloader屏幕

Note: Use Synaptic Package Manager to install Burg instead of the terminal as you may face problems.

注意:使用Synaptic Package Manager 来安装Burg而不是安装终端,因为您可能会遇到问题。

While installation is in progress you’ll be faced by Burg settings window. For the first window, Just don’t make any changes and click forward.

在安装过程中,您将看到Burg设置窗口。 对于第一个窗口,只需不进行任何更改,然后单击前进。

如何自定义Ubuntu Bootloader屏幕

In the second window, you’ll have to tell Burg where to be installed. Choose your Ubuntu’s root drive, or if you have a separate /boot partition choose it instead.

在第二个窗口中,您必须告诉Burg在哪里安装。 选择您的Ubuntu根驱动器,或者如果您有单独的/ boot分区,请选择它。

如何自定义Ubuntu Bootloader屏幕

Last thing to do is make sure Burg will boot up correctly and that’s by entering this command in a terminal window.

最后要做的是确保Burg可以正确启动,即在终端窗口中输入此命令。

sudo update-burg

须藤更新堡

The installation and configuration is now done. You can now restart and the Grub bootloader screen will be replaced by Burg. While at the boot screen, press F1 for help and other shortcuts, F2 for a list of themes you can use and F3 to change screen resolution.

现在已经完成安装和配置。 现在,您可以重新启动,并且Grub引导程序屏幕将被Burg替换。 在启动屏幕上,按F1获得帮助和其他快捷方式,按F2获得可以使用的主题列表,按F3更改屏幕分辨率。

如何自定义Ubuntu Bootloader屏幕

安装主题 (Installing Themes)

This is the best feature in Burg. You can install themes all the time. Better still, it’s as easy as downloading a file and copying it to /boot/burg/themes. First off, we start by downloading the theme from gnome-look.org. Unfortunately, There is no category yet on the site for Burg so you’ll have to use the search box on the left to find the themes. You can also find themes using Google. Once you download the theme, copy it to /boot/burg/themes using this command:

这是Burg的最佳功能。 您可以一直安装主题。 更妙的是,它就像下载文件并将其复制到/ boot / burg / themes一样容易。 首先,我们首先从gnome-look.org下载主题。 不幸的是,Burg网站上尚无类别,因此您必须使用左侧的搜索框来查找主题。 您也可以使用Google查找主题。 下载主题后,使用以下命令将其复制到/ boot / burg / themes:

sudo cp *PathToFile*/Fortune-BURG-v03.tar.gz /boot/burg/themes

须藤cp * PathToFile * / Fortune-BURG-v03.tar.gz / boot / burg / themes

如何自定义Ubuntu Bootloader屏幕

Adjust the command according to your download location and file name. After downloading and copying the theme, run the following command so Burg know what you have done.

根据您的下载位置和文件名调整命令。 下载并复制主题后,运行以下命令,使Burg知道您做了什么。

sudo update-burg

须藤更新堡

Now the theme has been added to the list. Now restart and press F2 to use. Now you have a nice colorful theme for your boot menu.

现在,主题已添加到列表中。 现在重新启动,然后按F2键使用。 现在,您的启动菜单有了一个漂亮的多彩主题。

翻译自: https://www.howtogeek.com/howto/45164/how-to-customize-the-ubuntu-bootloader-screen/

相关文章: