AS per /etc/grub.d/00_header, line 38
if [ "x${GRUB_DEFAULT}" = "x" ] ; then GRUB_DEFAULT=0 ; fi
so trying with a new grubenv made with:
oem@dev32:~$ sudo su
[sudo] password for oem:
root@dev32:/home/oem# cd /boot/grub
root@dev32:/boot/grub# rm grubenv
root@dev32:/boot/grub# grub-editenv grubenv create
root@dev32:/boot/grub# grub-editenv grubenv set default="x"
root@dev32:/boot/grub# grub-editenv grubenv list
the returned value is: default=x , so 00_header rule should now
understand 'GRUB_DEFAULT=0' as it might and stop grubenv be rewriten
with garbage. hm, will see if its true or not.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1311247
Title:
[Grubenv] error: malformed file, press any key to continue
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs