Here's a patch to allow empty config options. It returns the entire opt=value line and then breaks off the value part. This way it will know that it found a blank option rather than nothing at all.
** Attachment added: "Change ExtractMenuOpt and GetMenuOpt to support empty options" http://librarian.launchpad.net/4564077/update-grub.diff -- defoptions overwritten by update-grub https://launchpad.net/bugs/35839 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs