|
grub2装了个主题,每次启动选择启动项按Enter之后都会弹出一个黑框(下面的图),有没有办法不显示这个黑框?
主题https://github.com/Generator/Grub2-themes
grub配置文件
- insmod png
- insmod vbe
- insmod gfxterm
- set root='hd0,3'
- loadfont /boot/grub/fonts/unicode.pf2
- set locale_dir=/boot/grub/locale
- set lang=en_US
- set default=2
- set timeout=5
- set gfxmode=1024x768x32
- set gfxpayload=keep
- set theme=/boot/grub/themes/Archxion/theme.txt
- terminal_input console
- terminal_output gfxterm
- menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os {
- insmod ext2
- linux /boot/vmlinuz-linux root=/dev/sda3 rw quiet
- initrd /boot/initramfs-linux.img
- }
- menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os {
- insmod ext2
- linux /boot/vmlinuz-linux root=/dev/sda3 rw quiet
- initrd /boot/initramfs-linux-fallback.img
- }
- menuentry 'Microsoft Windows XP Professional' --class windows --class os {
- insmod ntfs
- set root='hd0,1'
- drivemap -s (hd0) ${root}
- chainloader +1
- }
复制代码
|
|