Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.15.0-3-amd64 Found initrd image: /boot/initrd.img-5.15.0-3-amd64 Found linux image: /boot/vmlinuz-5.14.0-4-amd64 Found initrd image: /boot/initrd.img-5.14.0-4-amd64 Found Windows 7 on /dev/sda1 Found Slackware Linux (Slackware 8.1) on /dev/sda9 Found Windows 7 on /dev/sdb1 Found Slackware 14.2 on /dev/sdb3 error: out of memory. error: syntax error. error: Incorrect command. error: syntax error. Syntax error at line 447 Syntax errors are detected in generated GRUB config file. Ensure that there are no errors in /etc/default/grub and /etc/grub.d/* files or please file a bug report with /boot/grub/grub.cfg.new file attached.