Comment 20 for bug 439784

Revision history for this message
Stefan Berge (olyckholm) wrote : Re: invalid: environment block

Eh... just one more thing. I am not a real newbie, but I don´t type in Terminal more than necessary. So, I got some help with the linux commands here: http://www.tuxfiles.org/linuxhelp/fileman.html

Deleting grubenv was no problem (rm grubenv after doing sudo su). Then I typed sudo gedit to open gedit but after erasing the two lines recordfail=1 and save_env recordfail, I couldn´t save it, I got the complaint that I was trying to write to a read-only media.
I don´t know what I did wrong, but as the rm command had already worked, I got around this problem by doing this:
I tested "save as" and that worked, and saved my new config-file as grub2.cfg.
Then I erased grub.cfg (rm grub.cfg) and renamed grub2.cfg to grub.cfg (mv grub2.cfg grub.cfg). It worked.
Then restart and...
Perfect! Opened a few applications and with all of them running, pushed the restart-button on my computer (a really ugly shutdown).
The computer booted up, and everything works perfectly. I have done it over and over again, no problem. Thanks again.