При этом после установки ROSA Fresh R5 на том же самом компьютере искомый пункт меню присутствует.
Вот такого фрагмента не хватает в /boot/grub2/grub.cfg:
Код: Выделить всё
### BEGIN /etc/grub.d/42_efi ###
menuentry "Microsoft Windows Vista/7/8 UEFI-GPT" {
savedefault
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 ECB8-DB78
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/42_efi ###
Код: Выделить всё
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-efi-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### 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_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 8503f471-b2ab-4990-a774-8677b61a87fe
else
search --no-floppy --fs-uuid --set=root 8503f471-b2ab-4990-a774-8677b61a87fe
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x768,1024x600,800x600,640x480
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 8503f471-b2ab-4990-a774-8677b61a87fe
else
search --no-floppy --fs-uuid --set=root 8503f471-b2ab-4990-a774-8677b61a87fe
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/rosa/dejavu_sans_bold_14.pf2
loadfont ($root)/boot/grub2/themes/rosa/dejavu_sans_mono_11.pf2
loadfont ($root)/boot/grub2/themes/rosa/terminal_font_11.pf2
insmod png
set theme=($root)/boot/grub2/themes/rosa/theme.txt
export theme
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 8503f471-b2ab-4990-a774-8677b61a87fe
else
search --no-floppy --fs-uuid --set=root 8503f471-b2ab-4990-a774-8677b61a87fe
fi
insmod png
background_image -m stretch /boot/grub2/themes/rosa/terminal_background.png
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'ROSA Desktop Fresh R5' --class rosa --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8503f471-b2ab-4990-a774-8677b61a87fe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 8503f471-b2ab-4990-a774-8677b61a87fe
else
search --no-floppy --fs-uuid --set=root 8503f471-b2ab-4990-a774-8677b61a87fe
fi
echo 'Загружается Linux 3.14.25-nrj-desktop-1rosa …'
linux /boot/vmlinuz-3.14.25-nrj-desktop-1rosa root=UUID=8503f471-b2ab-4990-a774-8677b61a87fe ro splash=silent logo.nologo resume=UUID=6372c3fd-63b7-48a3-824b-ca875e56e75e
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.14.25-nrj-desktop-1rosa.img
}
submenu 'Дополнительные параметры для ROSA Desktop Fresh R5' $menuentry_id_option 'gnulinux-advanced-8503f471-b2ab-4990-a774-8677b61a87fe' {
menuentry 'ROSA Desktop Fresh R5 - Linux 3.14.25-nrj-desktop-1rosa' --class rosa --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.25-nrj-desktop-1rosa-advanced-8503f471-b2ab-4990-a774-8677b61a87fe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 8503f471-b2ab-4990-a774-8677b61a87fe
else
search --no-floppy --fs-uuid --set=root 8503f471-b2ab-4990-a774-8677b61a87fe
fi
echo 'Загружается Linux 3.14.25-nrj-desktop-1rosa …'
linux /boot/vmlinuz-3.14.25-nrj-desktop-1rosa root=UUID=8503f471-b2ab-4990-a774-8677b61a87fe ro splash=silent logo.nologo resume=UUID=6372c3fd-63b7-48a3-824b-ca875e56e75e
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.14.25-nrj-desktop-1rosa.img
}
}
### 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 ###
### 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 ###
### BEGIN /etc/grub.d/42_efi ###
menuentry "Microsoft Windows Vista/7/8 UEFI-GPT" {
savedefault
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 ECB8-DB78
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/42_efi ###
### BEGIN /etc/grub.d/43_rescue ###
if [ -f /boot/rescue.iso -o -f /boot/sgb.iso ]; then
submenu 'Repair tools' {
if [ -f /boot/rescue.iso ]; then
menuentry "Boot rescue CD" {
loopback loop /boot/rescue.iso
linux (loop)/isolinux/vmlinuz0 boot=live iso_filename=/boot/rescue.iso root=live:/dev/sr0 rootfstype=auto ro rd.live.image rhgb splash=silent logo.nologo rd.luks=0 rd.md=0 rd.dm=0
initrd (loop)/isolinux/initrd0.img
}
fi
if [ -f /boot/sgb.iso ]; then
menuentry "Run Grub2 repair" {
loopback loop /boot/sgb.iso
linux16 /boot/memdisk iso
initrd16 /boot/sgb.iso
}
fi
}
fi
### END /etc/grub.d/43_rescue ###
### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
Также сохранился grub.cfg после установки R6 на другом компьютере такой же модели:
Код: Выделить всё
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-efi-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### 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_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 eab92eb1-7765-4537-aff4-28ad2bd09eb8
else
search --no-floppy --fs-uuid --set=root eab92eb1-7765-4537-aff4-28ad2bd09eb8
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x768,1024x600,800x600,640x480
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 eab92eb1-7765-4537-aff4-28ad2bd09eb8
else
search --no-floppy --fs-uuid --set=root eab92eb1-7765-4537-aff4-28ad2bd09eb8
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/rosa/dejavu_sans_bold_14.pf2
loadfont ($root)/boot/grub2/themes/rosa/dejavu_sans_mono_11.pf2
loadfont ($root)/boot/grub2/themes/rosa/terminal_font_11.pf2
insmod png
set theme=($root)/boot/grub2/themes/rosa/theme.txt
export theme
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 eab92eb1-7765-4537-aff4-28ad2bd09eb8
else
search --no-floppy --fs-uuid --set=root eab92eb1-7765-4537-aff4-28ad2bd09eb8
fi
insmod png
background_image -m stretch /boot/grub2/themes/rosa/terminal_background.png
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'ROSA Desktop Fresh R6' --class rosa --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-eab92eb1-7765-4537-aff4-28ad2bd09eb8' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 eab92eb1-7765-4537-aff4-28ad2bd09eb8
else
search --no-floppy --fs-uuid --set=root eab92eb1-7765-4537-aff4-28ad2bd09eb8
fi
echo 'Загружается Linux 3.14.44-nrj-desktop-2rosa-x86_64 …'
linux /boot/vmlinuz-3.14.44-nrj-desktop-2rosa-x86_64 root=UUID=eab92eb1-7765-4537-aff4-28ad2bd09eb8 ro splash=silent logo.nologo
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.14.44-nrj-desktop-2rosa-x86_64.img
}
submenu 'Дополнительные параметры для ROSA Desktop Fresh R6' $menuentry_id_option 'gnulinux-advanced-eab92eb1-7765-4537-aff4-28ad2bd09eb8' {
menuentry 'ROSA Desktop Fresh R6 - Linux 3.14.44-nrj-desktop-2rosa-x86_64' --class rosa --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.44-nrj-desktop-2rosa-x86_64-advanced-eab92eb1-7765-4537-aff4-28ad2bd09eb8' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 eab92eb1-7765-4537-aff4-28ad2bd09eb8
else
search --no-floppy --fs-uuid --set=root eab92eb1-7765-4537-aff4-28ad2bd09eb8
fi
echo 'Загружается Linux 3.14.44-nrj-desktop-2rosa-x86_64 …'
linux /boot/vmlinuz-3.14.44-nrj-desktop-2rosa-x86_64 root=UUID=eab92eb1-7765-4537-aff4-28ad2bd09eb8 ro splash=silent logo.nologo
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.14.44-nrj-desktop-2rosa-x86_64.img
}
}
### 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 ###
### 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 ###
### BEGIN /etc/grub.d/42_efi ###
### END /etc/grub.d/42_efi ###
### BEGIN /etc/grub.d/43_rescue ###
if [ -f /boot/rescue.iso -o -f /boot/sgb.iso ]; then
submenu 'Repair tools' {
if [ -f /boot/rescue.iso ]; then
menuentry "Boot rescue CD" {
loopback loop /boot/rescue.iso
linux (loop)/isolinux/vmlinuz0 boot=live iso_filename=/boot/rescue.iso root=live:/dev/sr0 rootfstype=auto ro rd.live.image rhgb splash=silent logo.nologo rd.luks=0 rd.md=0 rd.dm=0
initrd (loop)/isolinux/initrd0.img
}
fi
if [ -f /boot/sgb.iso ]; then
menuentry "Run Grub2 repair" {
loopback loop /boot/sgb.iso
linux16 /boot/memdisk iso
initrd16 /boot/sgb.iso
}
fi
}
fi
### END /etc/grub.d/43_rescue ###
### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###