1713
Grub не работает сразу после установки monjaro
Никак не могу сообразить, не работает grub от слова совсем, подскажите, пожалуйста куда копать, перерыл, вроде, все, вроде все настроено, но никак. Перестал работать, ещё когда ubuntu был, всё снёс, накатил заново Винду, и monjaro. В uefi ничего особо не трогал. Помогите, пожалуйста, разобраться, всё логи, какие нужны будут, предоставлю
20 комментариев
santehnika-terra.ru/articles/nastroyka-grub-linux-manjaro.html
GRUB_TIMEOUT=20
GRUB_TIMEOUT_STYLE=menu
Сгенерил grub.cfg вроде нормально
Но все равно не работает
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
}
set menu_color_normal=light-gray/black
set menu_color_highlight=green/black
if [ x$feature_default_font_path = xy ]; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 56f95de4-044a-475e-980d-d426e2113b54
else
search --no-floppy --fs-uuid --set=root 56f95de4-044a-475e-980d-d426e2113b54
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 56f95de4-044a-475e-980d-d426e2113b54
else
search --no-floppy --fs-uuid --set=root 56f95de4-044a-475e-980d-d426e2113b54
fi
insmod gfxmenu
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
insmod png
set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
export theme
if [ x$feature_timeout_style = xy ]; then
set timeout_style=menu
set timeout=20
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=20
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-56f95de4-044a-475e-980d-d426e2113b54' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 56f95de4-044a-475e-980d-d426e2113b54
else
search --no-floppy --fs-uuid --set=root 56f95de4-044a-475e-980d-d426e2113b54
fi
linux /boot/vmlinuz-6.1-x86_64 root=UUID=56f95de4-044a-475e-980d-d426e2113b54 rw quiet splash udev.log_priority=3
initrd /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
}
submenu 'Дополнительные параметры для Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-56f95de4-044a-475e-980d-d426e2113b54' {
menuentry 'Manjaro Linux (Kernel: 6.1.9-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.9-1-MANJARO x64-advanced-56f95de4-044a-475e-980d-d426e2113b54' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 56f95de4-044a-475e-980d-d426e2113b54
else
search --no-floppy --fs-uuid --set=root 56f95de4-044a-475e-980d-d426e2113b54
fi
linux /boot/vmlinuz-6.1-x86_64 root=UUID=56f95de4-044a-475e-980d-d426e2113b54 rw quiet splash udev.log_priority=3
initrd /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 6.1.9-1-MANJARO x64 — fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.9-1-MANJARO x64-fallback-56f95de4-044a-475e-980d-d426e2113b54' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 56f95de4-044a-475e-980d-d426e2113b54
else
search --no-floppy --fs-uuid --set=root 56f95de4-044a-475e-980d-d426e2113b54
fi
linux /boot/vmlinuz-6.1-x86_64 root=UUID=56f95de4-044a-475e-980d-d426e2113b54 rw quiet splash udev.log_priority=3
initrd /boot/initramfs-6.1-x86_64-fallback.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 ###
menuentry 'Windows Boot Manager (на /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-2C17-5BE1' {
savedefault
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 2C17-5BE1
else
search --no-floppy --fs-uuid --set=root 2C17-5BE1
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### 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/41_snapshots-btrfs ###
### END /etc/grub.d/41_snapshots-btrfs ###
### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == «pc» ]; then
menuentry «Memory Tester (memtest86+)» --class memtest86 --class gnu --class tool {
search --fs-uuid --no-floppy --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 56f95de4-044a-475e-980d-d426e2113b54
linux16 /boot/memtest86+/memtest.bin
}
fi
### END /etc/grub.d/60_memtest86+ ###
### BEGIN /etc/grub.d/60_memtest86+-efi ###
if [ "${grub_platform}" == «efi» ]; then
menuentry «Memory Tester (memtest86+)» --class memtest86 --class gnu --class tool {
if loadfont unicode; then
set gfxmode=1024x768,800x600,auto
set gfxpayload=800x600,1024x768
terminal_output gfxterm
fi
search --fs-uuid --no-floppy --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 56f95de4-044a-475e-980d-d426e2113b54
linux /boot/memtest86+/memtest.efi
}
fi
### END /etc/grub.d/60_memtest86+-efi ###
Попробуйте увеличить раздел. Загрузчик винды всегда проще восстановить
Вот такая модалка выскакивает