Results 1 to 9 of 9

Thread: Weird "update-grub" behavior

  1. #1
    Join Date
    Dec 2007
    Location
    Charlotte, NC
    Beans
    1,087
    Distro
    Ubuntu 12.04 Precise Pangolin

    Weird "update-grub" behavior

    I just update my kernel to 24.21 and my menu.lst wasn't automatically updated. I ran update-grub to no luck. The weird thing is that update-grub recognizes the new kernel, says that it updated /boot/grub/menu.lst but when I open it, it's not updated. I manually added the new kernel and all is fine but I'm just wondering WHY my menu.lst wasn't automatically updated. Any thoughts?
    "There are 10 types of people: Those who read binary and those who don't"
    >>>"who is general failure and why is he reading my files"<<<
    The Ubuntu Counter Project - user number # 22367
    Howto automount NTFS - My wallpaper

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Weird "update-grub" behavior

    Even if you update the kernel and update grub, there are settings within menu.lst that may preclude the menu changing. Here are some of the settings that influence what happens to grub when a kernel is added:

    Code:
    ## should update-grub create alternative automagic boot options
    ## should update-grub lock alternative automagic boot options
    ## should update-grub lock old automagic boot options
    ## controls how many kernels should be put into the menu.lst
    ## should update-grub adjust the value of the default booted system
    For instance, if your settings told grub to keep the last booted kernel and also told it to display only one kernel, even though a newer kernel was available on your machine your menu.lst display would not change.

    In another example, it may add a new kernel to the display but still boot to an older kernel if that is how the options are set up.

    A bit of this is discussed in the menu.lst link in my signature line.
    Back to Xorg...

    Retired.

  3. #3
    Join Date
    Dec 2007
    Location
    Charlotte, NC
    Beans
    1,087
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Weird "update-grub" behavior

    Yeah, I'm aware of those options. What's bugging me is that on the last kernel update there were no problems and I didn't change anything... at least not that I can remember...
    "There are 10 types of people: Those who read binary and those who don't"
    >>>"who is general failure and why is he reading my files"<<<
    The Ubuntu Counter Project - user number # 22367
    Howto automount NTFS - My wallpaper

  4. #4
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Weird "update-grub" behavior

    this won't help with an answer, but I had exactly the same issue with 2.6.xx-19, never worked out a solution.
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  5. #5
    Join Date
    Dec 2007
    Location
    Charlotte, NC
    Beans
    1,087
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Weird "update-grub" behavior

    that's why I didn't understand, because it's not normal... it's not a big deal, just weird...
    "There are 10 types of people: Those who read binary and those who don't"
    >>>"who is general failure and why is he reading my files"<<<
    The Ubuntu Counter Project - user number # 22367
    Howto automount NTFS - My wallpaper

  6. #6
    Join Date
    Dec 2007
    Beans
    27

    Re: Weird "update-grub" behavior

    No one has said how to manually update the kernel in the grub menu.lst?????????????????????????????????????????? ???????????

  7. #7
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Weird "update-grub" behavior

    Quote Originally Posted by epitaph123 View Post
    No one has said how to manually update the kernel in the grub menu.lst?????????????????????????????????????????? ???????????
    epitath123,

    Are you trying to
    1. Download and use a new kernel
    2. Change the kernel that boots to a newer one
    3. Add a new kernel's options in menu.lst but use an older one
    4. Something else

    If you post the results of the following and tell us what you want to do we can help:
    Code:
    cat /boot/grub/menu.lst
    Added: A few posts have been added after this one. Please note the previous post is not from the OP. It is a follow-on question from another user.
    Last edited by drs305; August 26th, 2008 at 03:07 PM.
    Back to Xorg...

    Retired.

  8. #8
    Join Date
    Jul 2008
    Beans
    871
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Weird "update-grub" behavior

    I know it's a simple thing but did you run update-grub as sudo? Not doing that could prevent the grub from overwriting the menu.lst due to permission issues.
    Any piece of knowledge I acquire today has a value at this moment exactly proportioned to my skill to deal with it. Tomorrow, when I know more, I recall that piece of knowledge and use it better.
    -Mark Van Doren

  9. #9
    Join Date
    Oct 2006
    Beans
    702

    Re: Weird "update-grub" behavior

    Kindly note that the 24.21 is not a standard kernel. It seems that you are using a unsuported developer kernel.

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
  •