Welcome 微信登录

首页 / 操作系统 / Linux / rEFInd启动管理器配置文件详解

关于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 oolsconsos_win8.1.icns
      loader EFIwindowsootmgfw.efi
 } 【rEFInd启动管理器简介】rEFInd Boot Manager
  • Mircosofot Boot Manager 是windows引导程序
  • grub、grub2、lilo 是linux下的引导程序
  • refit 是MAC系统的引导程序
rEFInd 是一个第三方启动管理器,并不是引导加载程序,主要用于加载操作系统内核和关闭计算机本文永久更新链接地址