Created
March 16, 2013 06:37
-
-
Save harmy/5175275 to your computer and use it in GitHub Desktop.
devops Q&A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Q:Grub2 wont start after power failure | |
A:This was actually new for me - but it seems that this behaviour is caused by the last lines in /etc/grub.d/00_header | |
if [ \${recordfail} = 1 ]; then | |
set timeout=-1 | |
else | |
set timeout=${GRUB_TIMEOUT} | |
fi | |
I suggest that you create a /etc/grub.d/01_recordfail_override, set the +x permission, and make it look like this: | |
cat << EOF | |
set timeout=${GRUB_TIMEOUT} | |
EOF | |
then run dpkg-reconfigure grub-pc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment