tucaoxingren
deepin
2017-09-04 21:52 sudo update-grub 执行这个命令报错了
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
错误:out of memory。
错误:syntax error。
错误:Incorrect command。
错误:syntax error。
Syntax error at line 135
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.
done

Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
错误:out of memory。
错误:syntax error。
错误:Incorrect command。
错误:syntax error。
Syntax error at line 135
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.
done
Reply Like 0 View the author


中文 


后来安装deepin直接在原来Ubuntu的分区直接安装了(在Windows下用软件直接把Ubuntu分区删了)
我装的是win10+deepin双系统 uefi引导方式
使用refind分别引导win10和deepin
昨天用深度文件管理器打开 /boot/efi/EFI 发现ubuntu的efi引导还在 就顺手把那个文件夹直接删掉了
然后再次开机时就进不了deepin了 停在grub界面 就是下面的这个错误
deepin官网的修复方法
https://wiki.deepin.org/index.php?title=%E4%BF%AE%E5%A4%8D%E5%90%AF%E5%8A%A8
使用这个方法引导进系统了,按他的提示,进入系统也执行这个命令了:sudo update-grub
也没报错啥的,但是再次开机还是停在grub的界面,只能再次用 linux (hd2,gpt1)/boot/vmlinuz 和 initrd (hd2,gpt1)/boot/init命令引导进入deepin系统
不能每次都这样进系统把,太麻烦了