安装rEFInd
https://github.com/techysy/rEFInd
1sudo apt-get install refind
- 输入y继续执行,首次安装时,系统会询问你是否将rEFInd安装到ESP
- 关闭安全启动
安装主题
1cd /boot/efi/EFI/refind
2mkdir themes
3cd themes
4git clone https://github.com/kgoettler/ursamajor-rEFInd.git
屏蔽多余启动项
先注释include themes/ursamajor-rEFInd/theme.conf
,在选择界面使用delete
删除不需要的启动项
1cd /boot/efi/EFI/refind
2vim refind.conf
1uefi_deep_legacy_scan
2
3menuentry "Windows 10" {
4 icon \EFI\refind\themes\ursamajor-rEFInd\icons\os_win.png
5 loader \EFI\Microsoft\Boot\bootmgfw.efi
6}
7
8dont_scan_dirs ESP:/EFI/Boot,/EFI/tools,/EFI/debian,/EFI/Microsoft,/Windows
9include themes/ursamajor-rEFInd/theme.conf
除另有声明外,本博客文章均采用 知识共享 (Creative Commons) 署名 4.0 国际许可协议 进行许可。转载请注明原作者与文章出处。