歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> rEFInd啟動管理器配置文件詳解

rEFInd啟動管理器配置文件詳解

日期:2017/2/28 14:32:09   编辑:Linux教程

關於refind.conf文件所有選項及參數的詳細說明

timeout 設置默認時間20s,時間到後進入默認操作系統。 0表示一直等待選擇
screensaver 設置在進入引導前的屏保時間,通常不啟用(加#注釋掉即可)
hideui 隱藏界面功能選項,可以隱藏的選項有
banner eEFInd標識圖 ->自己決定
label 每個標簽的文字描述以及timeout設置的倒數計時器 ->自己決定
singleuser 蘋果系統子菜單中單用戶選項 ->不需要顯示
safemode 蘋果系統子菜單中安全模式選項 ->不需要顯示
hwtest Mac硬件測試選項 ->不需要顯示
arrows 無法顯示所有的引導菜單時的左右指示箭頭 ->不需要顯示
hints 基本按鍵的簡要說明 ->自己決定
editor 選項編輯器 ->自己決定
or all 隱藏所有選項
icons_dir 指定自定義圖標目錄
banner
selection_big
selection_small
showtools
shell, memtest, gptsync, apple_recovery, mok_tool, about, exit, shutdown, reboot, and firmware
font
textonly
textmode
resolution
use_graphics_for
scan_driver_dirs
scanfor
scan_delay
also_scan_dirs
dont_scan_volumes or don't_scan_volumes
dont_scan_dirs or don't_scan_dirs
dont_scan_files or don't_scan_files
scan_all_linux_kernels
max_tags
default_selection
include

創建操作系統參數說明

menuentry
loader
initrd
icon
ostype
graphics
options
disabled
submenuentry

整個配置文件示例:
# Sample refind.conf file
timeout 5
banner custom.bmp
scan_driver_dirs drivers,EFI/tools/drivers
scanfor manual,external,optical
default_selection elilo

menuentry "CentOS 6.5" {
icon /EFI/tools/cons/os_centos.icns
loader /EFI/RedHat/grubx64.efi
}
menuentry "Windows 8.1" {
icon \EFI\tools\cons\os_win8.1.icns
loader \EFI\windows\bootmgfw.efi
}

【rEFInd啟動管理器簡介】rEFInd Boot Manager

  • Mircosofot Boot Manager 是windows引導程序
  • grub、grub2、lilo 是linux下的引導程序
  • refit 是MAC系統的引導程序

rEFInd 是一個第三方啟動管理器,並不是引導加載程序,主要用於加載操作系統內核和關閉計算機

Copyright © Linux教程網 All Rights Reserved