### BEGIN /etc/grub.d/30_os-prober ### menuentry 'Calculate/Linux (на /dev/sda3)' --unrestricted --class calculate --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ba57971a-608b-47a7-bd2c-8f44b2ddbb43' { insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' ba57971a-608b-47a7-bd2c-8f44b2ddbb43 else search --no-floppy --fs-uuid --set=root ba57971a-608b-47a7-bd2c-8f44b2ddbb43 fi linux /boot/vmlinuz-5.10.32-calculate root=UUID=ba57971a-608b-47a7-bd2c-8f44b2ddbb43 ro video=800x600 rd.retry=40 calculate=video:intel splash quiet initrd /boot/initramfs-5.10.32-calculate.img } menuentry 'Windows 7 (на /dev/sdc1)' --unrestricted --class windows --class os $menuentry_id_option 'osprober-chain-862A89E52A89D29B' { insmod part_msdos insmod ntfs set root='hd2,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 862A89E52A89D29B else search --no-floppy --fs-uuid --set=root 862A89E52A89D29B fi parttool ${root} hidden- chainloader +1 } ### END /etc/grub.d/30_os-prober ###