Results 1 to 8 of 8

Thread: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

  1. #1
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Doesn't boot -server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    Doesn't boot -server 9.10: /etc/default/grub in grub2 ignored if "sudo reboot" not used

    Steps to reproduce
    1. install ubuntu server 9.10 from the CD
    2. remove CD
    3. login
    4. edit /etc/default/grub to put in a timeout (GRUB_TIMEOUT="0")
    5. at the command line, enter "sudo update-grub2"
    6. at the command line, enter "sudo reboot"
    7. observe that the timeout from Step 3 was used
    8. remove the power cord to simulate a power failure

    Actual results
    The default grub menu screen is displayed at power up and does not go away no matter how many times the computer is rebooted. The timeout set in Step 4 is ignored. If a menu option is selected at that grub screen, then the server can finish starting up and a user can login.

    Expected results
    User should not have to manually enter a menu option at power up to get server running.

    Issue notes
    After login, user can do "sudo reboot" to get the timeout from Step 4 to be used. The timeout was set so that if there was a power failure, then the server can get past the grub splash screen without a user being there or having a monitor connected.
    Last edited by Jason Heblack; November 3rd, 2009 at 05:36 PM.

  2. #2
    Join Date
    Jul 2005
    Beans
    1

    Re: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    Im having the same issue, is there any workaround for this bug?

    Edit: installed acpid module and so far on my tests, it solved the issue
    Last edited by DaBiTo; December 1st, 2009 at 11:01 PM. Reason: Update

  3. #3
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    There is an open ticket about this bug in the official bug tracking system that ubuntu has. I don't have the steps for how to log on to that system to read what is there about this bug. What I did to fix was downgrade from 9.10 to 8.04 LTS... Long term support (lts) is re-released every few years rather than twice a year and is less buggy supposedly.

    You can try to find a similar ticket here - keyword 'grub2'
    http://bugs.launchpad.net/ubuntu/

    If you find the 'official' fix, maybe post it here. I had 'fixed' the problem by downgrading... Hope this helps.
    Last edited by Jason Heblack; December 1st, 2009 at 11:10 PM.

  4. #4
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,741

    Re: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    You should not be mucking with Grub, use....


    sudo apt-get update
    sudo apt-get update

    and if anything is held back, name it directly.

    Then no problems with anything.

  5. #5
    Join Date
    Sep 2006
    Beans
    5

    Re: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    Quote Originally Posted by Vegan View Post
    You should not be mucking with Grub, use....


    sudo apt-get update
    sudo apt-get update

    and if anything is held back, name it directly.

    Then no problems with anything.
    How does running "sudo apt-get update" twice fix grub?

  6. #6
    Join Date
    Nov 2009
    Beans
    22

    Re: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    I think he wanted to write:

    sudo apt-get update
    sudo apt-get upgrade

    Leonardo.

  7. #7
    Join Date
    Sep 2009
    Beans
    17

    Re: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    I confirm having the same issue
    After a forced shutdown (power loss) Grub waits at the menu ignoring the timeout options, some sort of "do you want recovery or normal boot?"
    Ubuntu 9.10 Karmic, installed via the network, no updates available yet.

    Waiting for news.

  8. #8
    Join Date
    Jan 2008
    Beans
    22

    Re: server 9.10: /etc/default/grub in grub2 ignored if sudo reboot not used

    I just had this issue too. Shows how often I turn the power off on my server! I think the bug has been fixed, but it didn't do a full fresh install of grub following the update, so it doesn't actually fix it automatically. After reading about the bug in launchpad, I did the following to fix. . .

    Code:
    sudo grub-install /dev/sda
    Assuming /dev/sda is where you install grub normally. Then. . .

    Code:
    sudo update-grub
    Hope this helps someone.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •