2023年11月24日发(作者:)
rEFind引导使⽤教程安装中柏平板双系统Ubuntu
refind介绍
⾸先,refind⼀般在UEFI启动环境下使⽤,他可以⽤来引导各类的启动(Windows 8+,Linux,Mac OS),不基于任何操作系统平台,
总之,当refind被选为系统⾸选引导项的时候,可以实现如下的效果:
⼆、rEFind的使⽤
⽂件的所有内容,很长,我只选了⼀部分,挑中⽂注释看就好了,你们编辑的时候选择对应的内容搜索就好了,以下的“#”代
表注释的意思,没有执⾏的作⽤,若是去掉某⼀⾏的#,则代表执⾏这条指令。
#
#
# Configuration file for the rEFInd boot menu
#
# Timeout in seconds for the main menu screen. Setting the timeout to 0
# disables automatic booting (i.e., no timeout). Setting it to -1 causes
# an immediate boot to the default OS *UNLESS* a keypress is in the buffer
# when rEFInd launches, in which case that keypress is interpreted as a
# shortcut key. If no matching shortcut is found, rEFInd displays its
# menu with no timeout.
#
# 设置默认等待时间为5s
# timeout 0代表⽆限等待timeout -1代表⽴即进⼊对应的系统
timeout 5
#
# items.
# The file may be specified as a bare name (e.g., ""), as
# a complete pathname (e.g., "/EFI/somedir/"), or as a
# complete pathname with volume (e.g., "SOMEDISK:/EFI/somedir/"
# or 2C17D5ED-850D-4F76-BA31-47A561740082:/EFI/somedir/").
# OS tags hidden via the Delete or '-' key in the rEFInd menu are
# added to this list, but stored in NVRAM.
# The default is ,,,,
# ,,,,,
# ,,fb{arch}.efi
# (where "{arch}" is the architecture code, like "x64").
#
# 这部分和上⾯那部分类似,都是屏蔽之⽤,区别在于上⾯部分是针对⽂件夹,这部分是针
# 对具体⽂件,这部分在去除某些启动项有着极为关键的作⽤,我将详细展开叙述。
# dont_scan_files ,
多余启动项的删除策略:
⾸选,我们可以先看⼀下EFI分区的⽂件信息:(Linux系统中的位置:boot/efi/EFI)
⽐如我的theme⽂件位于refind⽬录下的themes/rEFInd-minimal处,所以我的指令是:
include themes/rEFInd-minimal/
⾄此,关于⽂件的介绍就完毕了,下⾯是关于theme⽂件的介绍
⾸先,看refind⽂件夹结构(refind⽂件夹位于EFI分区⽬录)
主题⽂件位于theme⽂件夹:
# the default.
# 默认全屏填充
banner_scale fillscreen
sudo cp -a ****/refind /boot/efi/EFI/
(****代表你的refind⽂件夹的路径)
点那个⼩加号,找到refind:
上移,移动到第⼀个为⽌,到此,即已完成。以上便是整个教程了,赶快定制你喜欢的启动页⾯吧(主要是主题,背景也可单独更换)。
发布评论