Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi, I'm having a few issues with Grub 2 in Karmic. Before I go into details two real basic questions: If I re-install Grub 2 from the live CD should ...
  1. #1
    oxf
    oxf is offline
    Linux Newbie
    Join Date
    May 2009
    Location
    Oxfordshire, UK
    Posts
    180

    [SOLVED] Having some problems with Grub 2

    Hi,

    I'm having a few issues with Grub 2 in Karmic. Before I go into details two real basic questions:

    If I re-install Grub 2 from the live CD should that reset all the personalisations such as as splash screen and colours in the Grub splash to default? In my case they are not resetting. I would expect them to revert to the default black/white you get when initially installing the OS

    And.. anyone else experienced the Grub timeout to be a lot less than its supposed to be? e.g. the default timeout setting of 5 seconds is more like 2 or 3 in reality, and when I set my prefered value to 2 seconds it results in being about 1/4 sec or so!

    Thanks
    Ubuntu Lucid 10.10

  2. #2
    oxf
    oxf is offline
    Linux Newbie
    Join Date
    May 2009
    Location
    Oxfordshire, UK
    Posts
    180
    OK I've been looking at this and reading documentation etc. The personalisations are stored in:
    /etc/grub.d/05_debian_theme
    So I'm going to assume this wont be changed when when I reinstall Grub2 from the CD. Correct me if I'm wrong..

    However, whats really driving me nuts is the issue with the countdown timer. I've checked in Startup Manager and have it set to 2 seconds but its only there for a fraction of a sec. Any ideas whats going on?
    Ubuntu Lucid 10.10

  3. #3
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    I've never used the GUI to make changes to Grub2. The timeout can be altered in the file /etc/default/grub. There is a line that reads GRUB_TIMEOUT=xx where xx is the time in seconds. Change that to what you want, save and exit. Issue sudo update-grub from the command line. Reboot to see if the change takes effect.
    Glenn
    Powered by Fedora 16 and Arch Linux

  4. #4
    oxf
    oxf is offline
    Linux Newbie
    Join Date
    May 2009
    Location
    Oxfordshire, UK
    Posts
    180
    Quote Originally Posted by glennzo View Post
    I've never used the GUI to make changes to Grub2. The timeout can be altered in the file /etc/default/grub. There is a line that reads GRUB_TIMEOUT=xx where xx is the time in seconds. Change that to what you want, save and exit. Issue sudo update-grub from the command line. Reboot to see if the change takes effect.
    Thanks! I'll check that again but I recall it was changed in there too. The changes do take effect but whats happening is whatever value I select for Timeout when I boot it turns out to be much less.
    eg two seconds results in a fraction of a second. This all started yesterday after I made some changes to Splash colors, before it was fine, and cant understand why reinstalling Grub to won't fix it!
    Ubuntu Lucid 10.10

  5. #5
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    I had this problem a few years back and I never did figure out what the problem was, I just assumed that grub was actually pausing for the allotted timeout but it probably started the timeout count sooner than I thought it did, which made it seem like the count was wrong. My solution was to increase the timeout to about 6.
    I know it's an ugly work around but it should work.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  6. #6
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    This is a good page to check
    https://help.ubuntu.com/community/Grub2

  7. #7
    oxf
    oxf is offline
    Linux Newbie
    Join Date
    May 2009
    Location
    Oxfordshire, UK
    Posts
    180
    Quote Originally Posted by MikeTbob View Post
    I had this problem a few years back and I never did figure out what the problem was, I just assumed that grub was actually pausing for the allotted timeout but it probably started the timeout count sooner than I thought it did, which made it seem like the count was wrong. My solution was to increase the timeout to about 6.
    I know it's an ugly work around but it should work.
    Yes I set it to 4 secs now which gives me much less than 4 but about what I need around 2 secs.

    Now after looking around on my system I don't believe it has anything to with the color problem and may have been there all along with the Timer set high. Strange thing is that it only occurs on one of my PC's

    Quote Originally Posted by ptkobe View Post
    This is a good page to check
    https://help.ubuntu.com/community/Grub2
    Yes I have that, quite useful but doesnt deal with my problem.

    I will now post the real problem in a new thread...
    Ubuntu Lucid 10.10

  8. #8
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    oxf:
    I have
    GRUB_TIMEOUT="5"
    and it waits for about 5 secs, indeed

    Note: Don't know why its ="5" and not plain =5, it was that way. I didn't change it, that is.

    I have a non-graphical boot, but I can imagine that graphics may be eating almost 2 secs of the countdown, so when you really see the menu it almost end.

    If you wish, try to set GRUB_TIMEOUT to 15, and see if it shows for about 13 secs. That will tell us something.

    Or try it with a non-graphical conf.

    Regards
    Luis

  9. #9
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    Quote Originally Posted by oxf View Post
    Strange thing is that it only occurs on one of my PC's
    What are the differences?

  10. #10
    oxf
    oxf is offline
    Linux Newbie
    Join Date
    May 2009
    Location
    Oxfordshire, UK
    Posts
    180
    Quote Originally Posted by ptkobe View Post
    What are the differences?
    Well on the other one, my laptop, if I set the timeout = 5 the splash screen really is displayed for about 5 seconds. However, on this one, desktop, its much less! I guess it one of those strange things we never know the answer to. Anyway I've set timeout =4 which gives me about 2 seconds which is what I want.
    Ubuntu Lucid 10.10

Page 1 of 2 1 2 LastLast

Posting Permissions

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