Grub2-mkconfig报错解决一例
报错内容
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
[root@Derek derek.s]# grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.8-202.fc18.i686.PAE Found initrd image: /boot/initramfs-3.8.8-202.fc18.i686.PAE.img Found linux image: /boot/vmlinuz-3.8.8-202.fc18.i686 Found initrd image: /boot/initramfs-3.8.8-202.fc18.i686.img Found linux image: /boot/vmlinuz-3.6.10-4.fc18.i686 Found initrd image: /boot/initramfs-3.6.10-4.fc18.i686.img Found Windows 7 (loader) on /dev/sda1 错误:syntax error。 错误:Incorrect command。 错误:syntax error。 Syntax error at line 154 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/grub2/grub.cfg.new file attached.done |
大D在查看/boot/grub2/grub.cfg文件的154行后,汗都下来了。。。。[......]
本文被贴上了: Bug 929384 , Grub2 , 报错 标签