Установка burg для Ubuntu 13.10: различия между версиями
Перейти к навигации
Перейти к поиску
Vovan (обсуждение | вклад) |
Avp (обсуждение | вклад) (Дополнил) |
||
Строка 116: | Строка 116: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | == Настройка доступа к изменению настроек загрузчика по паролю == | ||
+ | * https://kubuntu.ru/node/10636 |
Текущая версия на 10:55, 18 мая 2017
http://askubuntu.com/questions/354150/how-to-install-burg-on-ubuntu-13-04-with-windows-8-dual-boot
cat /etc/default/burg | egrep -v '^#|^$'
GRUB_DEFAULT=0 GRUB_TIMEOUT=300 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" GRUB_GFXMODE=800x600 GRUB_DISABLE_LINUX_RECOVERY="true" GRUB_INIT_TUNE="480 440 1" GRUB_THEME=refit GRUB_FOLD=false
cat /boot/burg/burg.cfg | egrep -v '^#|^$'
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 } set gfxmode=800x600 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} menu_refresh fi } set theme_name=refit function toggle_fold { if test -z $theme_fold ; then set theme_fold=1 else set theme_fold= fi menu_refresh } set theme_fold= 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,2)' search --no-floppy --fs-uuid --set c371555b-79cc-46e1-bb9b-8cb749bf0c25 set locale_dir=($root)/boot/burg/locale set lang=en insmod gettext set timeout=300 insmod play play 480 440 1 set superusers="administrator" password administrator PASSWORD menuentry 'Ubuntu GNU/Linux, with Linux 2.6.32-47-generic' --class ubuntu --class gnu-linux --class gnu --class os --group group_main { insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set c371555b-79cc-46e1-bb9b-8cb749bf0c25 echo 'Loading Linux 2.6.32-47-generic ...' linux /boot/vmlinuz-2.6.32-47-generic root=UUID=c371555b-79cc-46e1-bb9b-8cb749bf0c25 ro quiet splash echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-47-generic } menuentry "Microsoft Windows XP Professional RU (on /dev/sda1)" --class windows --class os { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set 8e3c74ec3c74d127 drivemap -s (hd0) ${root} chainloader +1 }