Results 1 to 10 of 12

Thread: downgrading kernel or setting grub default kernel

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Beans
    41

    downgrading kernel or setting grub default kernel

    I recently allowed update manager to install a new kernel which has broken X, ie. I can only get to command prompt on boot. I have a dual screen setup which took me a fair while to get working.

    If I select the old kernel from GRUB everything is okay. Is there any way I can downgrade the kernel back to what it used to be? [Or maybe change the default kernel in GRUB?]

    The same thing happened when I upgraded to Hardy, I'm currently on Feisty. When I have time I'll upgrade and get the dual monitors working again but for now I'm happy to stick to Feisty since it works well.

    Many thanks, Cham.

  2. #2
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: downgrading kernel or setting grub default kernel

    Maybe all you need with your new kernel is reinstalling your video driver

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  3. #3
    Join Date
    Apr 2007
    Beans
    41

    Re: downgrading kernel or setting grub default kernel

    Maybe, but I tried for a couple of days to get nvida working with Hardy kernel a few weeks back. I don't have time at the moment to 'play' with it. I use Ubuntu for everyday work as a Ruby programmer. When I get more time I'll get it working, for now I just need to boot to a working kernel Cheers.

  4. #4
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: downgrading kernel or setting grub default kernel

    All you have to do is choose the kernel you want to boot at the Grub menu. Or edit menu.lst and change default=0 for the corresponding number keeping in mind that Grub starts to count from 0.

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  5. #5
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: downgrading kernel or setting grub default kernel

    An easy way to set the default is to edit /boot/grub/menu.lst:

    Code:
    gksudo gedit /boot/grub/menu.lst
    Look for the line towards the top that says "default 0" and change it to "default saved". Then find the line towards the bottom of the huge comment block that says: "# savedefault=false" and change "false" to "true". Save the file and then run:

    Code:
    sudo update-grub
    The next time you restart, whatever kernel you choose will be become the default for future restarts.
    Don't try to make something "fast" until you are able to quantify "slow".

  6. #6
    Join Date
    Apr 2007
    Beans
    41

    Re: downgrading kernel or setting grub default kernel

    Cheers Vor, I just needed to change default to saved.

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
  •