Page 1 of 56 1231151 ... LastLast
Results 1 to 10 of 552

Thread: Howto: Simple kernel upgrade (Feisty or Edgy) to Gutsy's developing kernel.

  1. #1
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Howto: Simple kernel upgrade (Feisty or Edgy) to Gutsy's developing kernel.

    This should work for Feisty Fawn and Edgy Eft users. This will install the current developing kernel that will be realeased with Gutsy Gibbon.

    Check out my new thread > Upgrade to 2.6.24

    Do not upgrade any packages while you have the Gutsy repository open.

    Disclaimer: This is how I successfully upgraded my kernel without having to compile it myself. A couple of users have had issues with this method so be aware that problems can arise. At this point removing the new kernel using the instructions at the end of the post should do the trick, but if it doesn't I take no responsibility. I will monitor this thread to try to help out anyone thats had issues.

    With that being said, most users have not had any problems and are enjoying the new kernel. Also, this will not remove your current kernels.

    After you've upgraded please reply with your machine Model and specs so that others can benefit


    You can download the script I've attached and do the following:

    kernel.sh will upgrade to the current kernel using meta packages, meaning if you run this every week or so it will upgrade your kernel if a new version has been released. Current version is 2.6.22-14

    Move to the directory in which you downloaded the script.. for example:
    Code:
    cd /path/to/file/
    make the script executable:
    Code:
    chmod +x kernel.py
    run it:
    Code:
    sudo python kernel.py
    This installed the new kernel. Enjoy



    Or you can do it manually...

    First you need to add the Gutsy repository (this is only temporary to pull the new kernel):
    Code:
    echo 'deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted' | sudo tee -a /etc/apt/sources.list
    Now that you've added the repository you need to update:
    Code:
    sudo apt-get update
    Next you need to install the new kernel:
    Code:
    sudo apt-get -y install linux linux-generic linux-headers-generic linux-image-generic linux-restricted-modules-generic
    Now that you've pulled the kernel you should remove the Gutsy repository from your sources.list:
    Code:
    gksudo gedit /etc/apt/sources.list
    Now you can remove the line or simply comment it out: (It'll be the last line of the file)
    Code:
    #deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted
    Once again you need to update so that you'll stop pulling updates from the Gutsy repository:
    Code:
    sudo apt-get update
    Alright. If you've done all of the above without errors, you've successfully installed 2.6.22-14-generic. Now you need to reboot into the new kernel:
    Code:
    sudo reboot
    Enjoy

    Miscellaneous fixes
    1. Having issues with your nVidia video cards?
    > A possible fix: Look here
    > Use Envy. Post: http://ubuntuforums.org/showpost.php...&postcount=520 / Envy's offical website


    2. Is Nautilus crashing?
    > Update it using the gutsy repository:
    Look here

    3. Are having issues with direct rendering and such with ATI video (specifically 200M chipset)?
    > Take a look at jamiepluncinski's post:
    Here
    Ok.. Did it hose your box? Too easy.

    Reboot your computer and at Grub press esc to boot into your last kernel. (probably 2.6.20-16-*)

    Remove the installed kernel and then upgrade.
    Code:
    sudo apt-get remove linux-image-2.6.22-14-generic linux-headers-2.6.22-14-generic linux-headers-2.6.22-14 linux-restricted-modules-2.6.22-14-generic linux-ubuntu-modules-2.6.22-14-generic
    Code:
    sudo apt-get upgrade
    Updates
    10/08/07: Cleaned up the network test
    09/20/07: Added a network test
    09/18/07: Cleaned up the python script...
    09/08/07: Updated to python.
    08/12/07: Added GUI (zenity dialogs) to the script
    08/08/07: Changed script to look for and install Meta packages
    08/07/07: Cleaned up kernel.sh
    Attached Files Attached Files
    Last edited by walkerk; January 24th, 2008 at 06:47 PM.

  2. #2
    Join Date
    Dec 2006
    Location
    Sydney, Australia
    Beans
    Hidden!
    Distro
    Fluxbuntu

    Re: Howto: Simple kernel upgrade. Feisty to Gutsy's (2.6.22-8-generic)

    Excellent, Thanks for the info.

    One thing though, I notice multiple "old" kernels in my grub that I never use that seem to be placed there after I finish doing major updates, how do i get rid of them? or is that not advisable?
    An intelligent man is sometimes forced to be drunk to spend time with his fools.

  3. #3
    Join Date
    Jul 2006
    Location
    South Florida
    Beans
    Hidden!
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Howto: Simple kernel upgrade. Feisty to Gutsy's (2.6.22-8-generic)

    I think it would only be necessary to temporarily add the main and restricted Gutsty repositories, since all the kernel packages come from there. So you would add this line instead:

    deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted

    I don't think the src line is needed either.

  4. #4
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: Howto: Simple kernel upgrade. Feisty to Gutsy's (2.6.22-8-generic)

    Quote Originally Posted by Blindraven View Post
    Excellent, Thanks for the info.

    One thing though, I notice multiple "old" kernels in my grub that I never use that seem to be placed there after I finish doing major updates, how do i get rid of them? or is that not advisable?
    you can remove the listings by removing them from /boot/grub/menu.lst..

    you can remove them through synaptic (easiest method) or you can delete them by removing them from /boot. though i strong advise you to leave a back up kernel on your system. i actually keep two backups in there..
    Last edited by walkerk; July 31st, 2007 at 04:33 PM.

  5. #5
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: Howto: Simple kernel upgrade. Feisty to Gutsy's (2.6.22-8-generic)

    Quote Originally Posted by Frostmourne View Post
    I think it would only be necessary to temporarily add the main and restricted Gutsty repositories, since all the kernel packages come from there. So you would add this line instead:

    deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted

    I don't think the src line is needed either.
    good call.

  6. #6
    Join Date
    Sep 2005
    Location
    Hungary
    Beans
    68

    Re: HOWTO: Simple kernel upgrade for Feisty Fawn (2.6.22-9-generic)

    hey, i'm going to try it now, thanks for the post. anyway, why did you changed the header packae to "linux-headers-2.6.22-8"it doesn't exist to me...?
    Code:
    Couldn't find any package whose name or description matched "linux-headers-2.6.22-8"
    i'll go with the "linux-headers-2.6.22-9" and let you know if it's ok.

  7. #7
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: HOWTO: Simple kernel upgrade for Feisty Fawn (2.6.22-9-generic)

    Quote Originally Posted by rebegin View Post
    hey, i'm going to try it now, thanks for the post. anyway, why did you changed the header packae to "linux-headers-2.6.22-8"it doesn't exist to me...?
    Code:
    Couldn't find any package whose name or description matched "linux-headers-2.6.22-8"
    i'll go with the "linux-headers-2.6.22-9" and let you know if it's ok.
    Yep.. Sorry for the confusion. You're right, I missed that one package when I updated the thread. It's fixed now 2.6.22-9 works great..

    Let me know how it goes..
    Last edited by walkerk; July 31st, 2007 at 04:49 PM.

  8. #8
    Join Date
    Sep 2005
    Location
    Hungary
    Beans
    68

    Re: Howto: Simple kernel upgrade. Feisty to Gutsy's (2.6.22-8-generic)

    i've rebooted to the new kernel (2.6.22-9-generic) and so far everything is working well. thanks again.

  9. #9
    Join Date
    Jun 2007
    Location
    Vienna
    Beans
    133
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Howto: Simple kernel upgrade. Feisty to Gutsy's (2.6.22-8-generic)

    Very cool. It worked like a charm!

  10. #10
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: Howto: Simple kernel upgrade. Feisty to Gutsy's (2.6.22-8-generic)

    Quote Originally Posted by rebegin View Post
    i've rebooted to the new kernel (2.6.22-9-generic) and so far everything is working well. thanks again.
    Quote Originally Posted by jspangler View Post
    Very cool. It worked like a charm!
    Good to hear guys

Page 1 of 56 1231151 ... LastLast

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
  •