Announcement

Collapse
No announcement yet.

Kernel panic

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kernel panic

    Was trying to run updates, but it continued failing to get a few of them so I let it stop trying. Upon trying to boot again I got a kernel panic. It's failing on Kernel 2.*.*.13.

    It will boot on 2.*.*.11. How do I get to grub so I can edit it to point to .11 as the default? Can't seem to find it. Or is grub what I need to edit? If not, what is the file I need to edit and where is it? Or how do I safely backout the .13 kernel update attempt? I'm heading out on the road for a few weeks and can't afford to be down. Can live with it this way while on the road, but a simple fix will just make life a bit easier.

    #2
    Re: Kernel panic

    First, if you have the time, try running the updates again.

    To fix grub so it defaults to a different kernel, you will need to edit the /boot/grub/menu.lst file.First, make a backup. Then open an editor with sudo (or kedsudo, if you are using a gui editor like kate) and look for this item near the top of the file:
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0
    The "default" number is the number of the menu entry you want as default, starting with 0 as the first item. So if kernel -11 is third down, you would change the default number to 2.
    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    Comment


      #3
      Re: Kernel panic

      If this somehow goes wrong, how do I re-enable the backedup version of grub/menu.lst? If I can't boot, I can't access it so how would I get back to the old version in case of a problem?

      Comment


        #4
        Re: Kernel panic

        You can install kgrubeditor and then edit grub from System Settings -> Advanced

        If anything goes wrong, you can always boot from the live cd and tell it to use the HD

        Also: if you scew up grub, as long as it loads, you can edit it in real time, there are how to's for that (basically hit the key 'e' and edit)

        Comment


          #5
          <SOLVED> Re: Kernel panic

          OK, I don't have a live CD with me on the road. Thanks.

          Comment

          Working...
          X