FYI: The Ubuntu community proposes the use of a grub2 error script to
deactivate the recordfail logic, preventing from problems in
RAID/LVM/btrfs environments. I find that a somewhat "cleaner" approach
than to edit 00_header directly, whose changes might be overwritten by
upgrades. The error script replaces the according functions by hollow
routines.

Here's the link to the workaround/solution from the german ubuntuusers wiki:
http://wiki.ubuntuusers.de/GRUB_2/Skripte#Fehlerskript-LVM-RAID

Put this as an executable script under /etc/grub.d/02_kill-save_env, do
an update-grub, and you should be set up. At least in my case it seems
to have worked (can't say exactly, because I used the fix on a headless
system and cannot debug completely _why_ it works now :-)

Cheerz, Martin

PS: I strictly vote for a server version/mode of grub2 in Ubuntu. We (I)
don't need recordfail, recovery, os-prober or pretty gui there, and it's
cumbersome to strip down the grub2 functionality monster to a sweet
server-compliant puppy. I really like the monster on desktops, but IMO
it bears too much potential to break servers "by default".

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

Title:
  grub2 recordfail logic prevents headless system from rebooting after
  power outage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/872244/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to