Instead of changing grub.cfg, what I've done on my computer was to
change /etc/grub.d/10_linux (the source file when generating the
grub.cfg):

Remove the lines that mentions recordfail:

$ diff /etc/grub.d/10_linux /etc/grub.d/.10_linux.bak 
59a60,61
>         recordfail=1
>         save_env recordfail

I then run:
$ sudo chmod u+w /boot/grub/grub.cfg
$ sudo grub-mkconfig > /boot/grub/grub.cfg
$ sudo chmod u-w /boot/grub/grub.cfg

This should stop update-grub from adding the lines back.

-- 
invalid: environment block
https://bugs.launchpad.net/bugs/439784
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to