grub2-mkconfig
Генерируется grub.cfg …
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x768
load_video
# vga= is deprecated, grub2 handles this just fine
# making grub2 res == linux fb res
set gfxpayload=keep
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
Найден фон: /boot/grub/default-splash.png
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
insmod png
background_image -m stretch /boot/grub/default-splash.png
if sleep --interruptible 0 ; then
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
Найден образ linux: /boot/kernel-genkernel-x86-3.9.0-sabayon
Найден образ initrd: /boot/initramfs-genkernel-x86-3.9.0-sabayon
menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c127a616-9d13-46cc-9357-73677c63b410' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
echo 'Загружается Linux x86-3.9.0-sabayon …'
linux /boot/kernel-genkernel-x86-3.9.0-sabayon ro splash video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet domdadm resume=swap:UUID=0954a892-352c-4bac-bd2b-404831ab7a94 real_resume=UUID=0954a892-352c-4bac-bd2b-404831ab7a94 dolvm root=UUID=c127a616-9d13-46cc-9357-73677c63b410 docrypt
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initramfs-genkernel-x86-3.9.0-sabayon
}
submenu 'Дополнительные параметры для Sabayon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c127a616-9d13-46cc-9357-73677c63b410' {
menuentry 'Sabayon GNU/Linux, с Linux x86-3.9.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86-3.9.0-sabayon-advanced-c127a616-9d13-46cc-9357-73677c63b410' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
echo 'Загружается Linux x86-3.9.0-sabayon …'
linux /boot/kernel-genkernel-x86-3.9.0-sabayon ro splash video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet domdadm resume=swap:UUID=0954a892-352c-4bac-bd2b-404831ab7a94 real_resume=UUID=0954a892-352c-4bac-bd2b-404831ab7a94 dolvm root=UUID=c127a616-9d13-46cc-9357-73677c63b410 docrypt
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initramfs-genkernel-x86-3.9.0-sabayon
}
menuentry 'Sabayon GNU/Linux, с Linux x86-3.9.0-sabayon (режим восстановления)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86-3.9.0-sabayon-recovery-c127a616-9d13-46cc-9357-73677c63b410' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
echo 'Загружается Linux x86-3.9.0-sabayon …'
linux /boot/kernel-genkernel-x86-3.9.0-sabayon ro single init_opts=single splash video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet domdadm resume=swap:UUID=0954a892-352c-4bac-bd2b-404831ab7a94 real_resume=UUID=0954a892-352c-4bac-bd2b-404831ab7a94 dolvm root=UUID=c127a616-9d13-46cc-9357-73677c63b410 docrypt
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initramfs-genkernel-x86-3.9.0-sabayon
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
WARNING: Failed to connect to lvmetad: Нет такого файла или каталога. Falling back to internal scanning.
No volume groups found
Найден Windows 7 (loader) на /dev/sdb1
menuentry 'Windows 7 (loader) (на /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-128C8CFA8C8CD99D' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 128C8CFA8C8CD99D
else
search --no-floppy --fs-uuid --set=root 128C8CFA8C8CD99D
fi
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
завершено