set isofile="/home/funk2256/MX-21.2.1_x64.iso" set root='(hd1,3)' search --no-floppy --file --set=root ${isofile} loopback loop ${isofile} linux (loop)/antiX/vmlinuz fromiso=${isofile} from=all lang=ru_RU initrd (loop)/antiX/initrd.gz ❯ sudo grub-mkconfig -o /boot/grub/grub.cfg Генерируется файл настройки grub … Найдена тема: /boot/grub/themes/poly-dark/theme.txt Найден образ linux: /boot/vmlinuz-6.1.1-gentoo Найден Windows 10 на /dev/sdc1 /etc/grub.d/40_custom: строка 3: search: команда не найдена /etc/grub.d/40_custom: строка 4: loopback: команда не найдена /etc/grub.d/40_custom: строка 5: синтаксическая ошибка рядом с неожиданным маркером «loop» /etc/grub.d/40_custom: строка 5: `linux (loop)/antiX/vmlinuz fromiso=${isofile} from=all lang=ru_RU'