xggrnx@slowpoke~=> sudo grub-mkconfig -o /boot/grub/grub.cfg
Генерируется файл настройки grub …
Найден фон: /boot/grub/grub-calculate.png
Найден образ linux: /boot/vmlinuz-5.10.26-calculate
Найден образ initrd: /boot/initramfs-5.10.26-calculate.img
Найден образ linux: /boot/vmlinuz-5.10.26-calculate.old
Найден образ initrd: /boot/initramfs-5.10.26-calculate.img
Найден образ linux: /boot/vmlinuz-5.10.26-SafeMode-calculate
Найден образ initrd: /boot/initramfs-5.10.26-SafeMode-calculate.img
Предупреждение: os-prober will be executed to detect other bootable partitions.
It's output will be used to detect bootable binaries on them and create new boot entries.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest image: /boot/memtest86plus/memtest.bin
Found memtest image: /boot/memtest86plus/memtest
/etc/grub.d/40_custom: строка 2: menuentry: команда не найдена
/etc/grub.d/40_custom: строка 4: chainloader: команда не найдена
/etc/grub.d/40_custom: строка 5: синтаксическая ошибка рядом с неожиданным маркером «}»
/etc/grub.d/40_custom: строка 5: ` }'