|
各位,这是我的burg.conf文件内容,现在问题是,开机时出现的是gurb2的文本菜单,需要按F8才能出现图形菜单。是哪项设置没有对呢?(已解决)
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by ./burg-mkconfig using templates
# from /home/zhangzhy/burg_install/etc/burg.d and settings from /home/zhangzhy/burg_install/etc/default/burg
#
### BEGIN /home/zhangzhy/burg_install/etc/burg.d/00_header ###
set theme_name=winter
set gfxmode=1024x768x24
if [ -s $prefix/burgenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
function select_menu {
if menu_popup -t template_popup theme_menu ; then
free_config template_popup template_subitem menu class screen
load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
save_env theme_name
menu_refresh
fi
}
function toggle_fold {
if test -z $theme_fold ; then
set theme_fold=1
else
set theme_fold=
fi
save_env theme_fold
menu_refresh
}
function select_resolution {
if menu_popup -t template_popup resolution_menu ; then
menu_reload_mode
save_env gfxmode
fi
}
if test -f ${prefix}/themes/${theme_name}/theme ; then
insmod coreui
menu_region.text
load_string '+theme_menu { -arabic_and_freedom { command="set theme_name=arabic_and_freedom" }}'
load_string '+theme_menu { -black_and_white { command="set theme_name=black_and_white" }}'
load_string '+theme_menu { -burg { command="set theme_name=burg" }}'
load_string '+theme_menu { -chiva { command="set theme_name=chiva" }}'
load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
load_string '+theme_menu { -minimum { command="set theme_name=minimum" }}'
load_string '+theme_menu { -proto { command="set theme_name=proto" }}'
load_string '+theme_menu { -radiance { command="set theme_name=radiance" }}'
load_string '+theme_menu { -radiancetext { command="set theme_name=radiancetext" }}'
load_string '+theme_menu { -refit { command="set theme_name=refit" }}'
load_string '+theme_menu { -sora { command="set theme_name=sora" }}'
load_string '+theme_menu { -sora_clean { command="set theme_name=sora_clean" }}'
load_string '+theme_menu { -sora_extended { command="set theme_name=sora_extended" }}'
load_string '+theme_menu { -ubuntu { command="set theme_name=ubuntu" }}'
load_string '+theme_menu { -ubuntu2 { command="set theme_name=ubuntu2" }}'
load_string '+theme_menu { -winter { command="set theme_name=winter" }}'
load_config ${prefix}/themes/conf.d/10_hotkey
load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
controller.ext
fi
insmod reiserfs
insmod png
insmod jpeg
menu_region.gfx
vmenu resolution_menu
controller.ext
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 2fa3e9d7-32ae-437f-af86-a0cd6ff6da74
set locale_dir=($root)/boot/burg/locale
set lang=zh
insmod gettext
set timeout=5
### END /home/zhangzhy/burg_install/etc/burg.d/00_header ###
### BEGIN /home/zhangzhy/burg_install/etc/burg.d/10_linux ###
menuentry "Gentoo linux" --class gentoo --class os {
insmod reiserfs
set root='(hd0,6)'
linux /boot/kernel root=/dev/sda6 quiet
}
### END /home/zhangzhy/burg_install/etc/burg.d/10_linux ###
### BEGIN /home/zhangzhy/burg_install/etc/burg.d/30_os-prober ###
#menuentry "Windows Recovery Environment" --class windows --class os {
# insmod ntfs
# set root='(hd0,1)'
# search --no-floppy --fs-uuid --set 8014f3fe14f3f4ce
# drivemap -s (hd0) ${root}
# chainloader +1
##}
menuentry "" --class windows --class os {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set da9ec1079ec0dcdf
chainloader +1
}
### END /home/zhangzhy/burg_install/etc/burg.d/30_os-prober ###
### BEGIN /home/zhangzhy/burg_install/etc/burg.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
#set gfxmode="640x480"
set gfxfont="Unifont Regular 16"
loadfont /boot/burg/themes/fonts/unifont.pf2
loadfont /boot/burg/themes/fonts/aqui.pf2
loadfont /boot/burg/themes/fonts/edges.pf2
loadfont /boot/burg/themes/fonts/lime.pf2
loadfont /boot/burg/themes/fonts/7x13B.pf2
loadfont /boot/burg/themes/fonts/smoothansi.pf2
loadfont /boot/burg/themes/fonts/Helvetica-Bold-14.pf2
insmod vbe
insmod png
insmod coreui
load_config /boot/grub/themes/winter/theme.txt zh_CN?action=AttachFile&do=get&target=winter.png
#load_config /boot/burg/themes/winter/theme.txt
### END /home/zhangzhy/burg_install/etc/burg.d/40_custom ### |
|