用Burg双系统美化之后如何设置win默认启动
首先我痛恨看一行一行的设置,最后找到不同了, if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi } set gfxmode=1280x800 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 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} insmod vbe insmod png insmod jpeg set gfxfont="Unifont Regular 16" menu_region.gfx vmenu resolution_menu controller.ext fi insmod ext2 set root='(hd0,4)' search --no-floppy --fs-uuid --set 0df0aaff-c211-4ae9-918e-aec48fea93ca set locale_dir=($root)/boot/burg/locale set lang=zh insmod gettext set timeout=3 ### END /etc/burg.d/00_header ### ### BEGIN /etc/burg.d/10_linux ### menuentry 'Deepin GNU/Linux, with Linux 2.6.35-23-generic' --class deepin --class gnu-linux --class gnu --class os --group group_main { insmod ext2 set root='(hd0,4)' search --no-floppy --fs-uuid --set 0df0aaff-c211-4ae9-918e-aec48fea93ca echo 'Loading Linux 2.6.35-23-generic ...' linux /boot/vmlinuz-2.6.35-23-generic root=UUID=0df0aaff-c211-4ae9-918e-aec48fea93ca ro quiet splash echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-23-generic } menuentry 'Deepin GNU/Linux, with Linux 2.6.35-23-generic (recovery mode)' --class deepin --class gnu-linux --class gnu --class os --group group_main { insmod ext2 set root='(hd0,4)' search --no-floppy --fs-uuid --set 0df0aaff-c211-4ae9-918e-aec48fea93ca echo 'Loading Linux 2.6.35-23-generic ...' linux /boot/vmlinuz-2.6.35-23-generic root=UUID=0df0aaff-c211-4ae9-918e-aec48fea93ca ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-23-generic } ### END /etc/burg.d/10_linux ### ### BEGIN /etc/burg.d/30_os-prober ### menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows --class os { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set a670d46e70d446a9 drivemap -s (hd0) ${root} chainloader +1 } ### END /etc/burg.d/30_os-prober ### ### BEGIN /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 default="Boot Microsoft Windows XP Professional (on /dev/sda1)" ### END /etc/burg.d/40_custom ### 秘密就再红色的一行,名字随便改,把位置写对即可.希望对你有帮助。我看了一晚上搞定的 更简单的方法是 : 直接将menuentry为Window系统的代码块上移到第一位.
安裝 BURG Boot Loader
看效果
安裝 BURG Manager
整理開機清單
還原為 GRUB 選單
玩掛了: 開機後無法載入開機選單的處理
|