|
|
|
|
August 18th, 2011, 19:01 GMT · By Marius Nestor
How to Install Linux Kernel 3.0 on Ubuntu 11.04 |
|
|
|
|
SHARE:
Adjust text size: 
|
|
At the request of our readers, the following tutorial will teach Ubuntu users how to install the Linux kernel 3.0 packages on their Ubuntu 11.04 (Natty Narwhal) operating system.
Announced by Linus Torvalds on July 21st, Linux kernel 3.0 brings nice features, such as Btrfs data scrubbing and automatic defragmentation, Berkeley Packet Filter JIT filtering, unprivileged ICMP_ECHO, XEN Dom0 support, wake on WLAN, lots of new drivers and support for many hardware components, support for Microsoft Kinect, support for Apple iSight webcam, support for AMD Llano Fusion APUs, and much more. Today's tutorial is for those of you who want to install Linux kernel 3.0 on their Ubuntu 11.04 (Natty Narwhal) systems. In other words, with this guide, we will teach you, step by step, how to install Linux kernel 3.0 on your existing Ubuntu 11.04 (Natty Narwhal) installation, replacing the old 2.6 kernel. WARNING: UNINSTALL YOUR NVIDIA or ATI VIDEO DRIVERS BEFORE DOING ANYTHING ELSE!Step 1 - Downloading Linux kernel 3.0 for Ubuntu 11.04Download the following files for your architecture, one by one, and place them on your home folder (click on the links below to download them): For Ubuntu 11.04 32-bitlinux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deblinux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deblinux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.debFor Ubuntu 11.04 64-bitlinux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deblinux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_amd64.deblinux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_amd64.debStep 2 - Install Linux kernel 3.0 on Ubuntu 11.04Hit the CTRL+ALT+T key combination on your keyboard and paste the following command in the terminal window: For Ubuntu 11.04 32-bitsudo dpkg -i linux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deb linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb For Ubuntu 11.04 64-bit sudo dpkg -i linux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deb linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_amd64.deb linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_amd64.debWait for the installation to finish. It should not output any errors. If so, reboot your computer and select the Linux kernel 3.0 entry on your GRUB boot loader. That's it! You are now running Linux kernel 3.0 on your Ubuntu 11.04 (Natty Narwhal) operating system. If you encounter any hardware issues with this kernel, you can always reboot your machine and select the old kernel from the GRUB boot loader. WARNING: YOU CAN NOW REINSTALL YOUR NVIDIA or ATI VIDEO DRIVERS! WARNING: Do NOT remove the old Linux kernel packages from your Ubuntu machine!If you encounter any issues with the tutorial, do not hesitate to use our commenting system below.
|
|
|
|
|
 |
39,011 hits
· 40 comments
Link to this article
· Print article
· Send to friend
|
MUST-READ RELATED ARTICLES:
READER COMMENTS: |
| Comment #1 by: chemist on 18 Aug 2011, 19:45 UTC | reply to this comment | and what about nvidia drivers?
after installing 3.0 nvidia drivers will not be available any more... |
| Comment #1.1 by: smittie on 14 Sep 2011, 17:40 GMT | Neither are the ATI thats why I wish these guys would test this stuff before posting and you have to remove old kernels if you want graphic drivers to work I ended reinstalling after this untested tutorial, but I do appreciate the direction and the availability Thanks |
| Comment #1.2 by: pan_cyantist on 09 Nov 2011, 16:04 GMT | just download the nvidia drivers from nvidia, boot in rescue mode, at the console type: init 3 then sudo sh nvidia*.run and if a gcc conflict arises, choose the override option and it'll build the kernel module and install the opengl files just fine. also have other options with the official nvidia package you don't get from jockey, like the ability to install the driver on a non running kernel and have multiple kernels all with nvidia modules in tact... |
| Comment #2 by: Ghorab on 19 Aug 2011, 00:59 UTC | reply to this comment | hello,
can anyone help me?
i got this error in terminal
dpkg: error processing linux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deb (--install):
cannot access archive: No such file or directory
dpkg: error processing linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb (--install):
cannot access archive: No such file or directory
dpkg: error processing linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
linux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deb
linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb
linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb |
| Comment #2.1 by: Marius Nestor on 19 Aug 2011, 09:48 GMT | Place the files on your home folder (NOT on your desktop) and then run the command in the terminal. |
| Comment #3 by: smittie46 on 19 Aug 2011, 01:24 UTC | reply to this comment | Didnt work errors followed as said is this a new install not much for directions seems like you think its flawless directions had my hopes up but as usual with linux its a disaster waiting to be fixed god I wish linux could just be stable |
| Comment #3.1 by: Wolf-001 on 19 Aug 2011, 13:17 GMT | I do this quite often, it will work everytime on any ubuntu based distro. All you need to do is download the files, open the folder they are in, and then install them.
So lets say i have them in my "Downloads" folder. I would run these commands
cd ./Downloads
sudo dpkg -i *.deb
Which will install all ".deb" files in the folder, you could also use the command above or use a package installer like GDebi. When it asks for you password type it then press enter again. The key here is to open the folder the files are located in.
Wolf-001 |
| Comment #3.2 by: ronaldgibson on 19 Aug 2011, 16:00 GMT | Same here installing on Zorin which is Ubuntu based. I tried both in the article and the *.deb. I'm in the correct directory. Even moved them to my home directory.
batteryman@batteryman-OptiPlex-GX620:~$ sudo dpkg -i *.deb
(Reading database ... 282348 files and directories currently installed.)
Preparing to replace linux-headers-3.0.0-0300 3.0.0-0300.201107220917 (using linux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deb) ...
Unpacking replacement linux-headers-3.0.0-0300 ...
dpkg: error processing linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb (--install):
package architecture (i386) does not match system (amd64)
dpkg: error processing linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb (--install):
package architecture (i386) does not match system (amd64)
Setting up linux-headers-3.0.0-0300 (3.0.0-0300.201107220917) ...
Errors were encountered while processing:
linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb
linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb |
| Comment #3.3 by: PhantomFox on 26 Aug 2011, 18:04 GMT | Yeah, the directions on here are a little unclear. What you're supposed to do is download the files and then run "sudo dpkg -i" on them... but the article's instructions don't work unless you're in the correct directory. True, it says to put them in your home directory, the default when you open a terminal, but if the debs wind up in Downloads instead (default for Firefox, and probably most other browsers too) you need to cd to ~/Downloads.
@ronaldgibson: looks like you need the debs for a 64-bit system, but you downloaded the 32-bit ones. The bottom three links in the article (under "For Ubuntu 11.04 64-bit") should work. |
| Comment #4 by: crion on 19 Aug 2011, 04:57 UTC | reply to this comment | Used the above mentioned steps for Kubuntu 11.04 but no luck. |
| Comment #5 by: yanski on 19 Aug 2011, 11:48 UTC | reply to this comment | Downloaded, Installed & Rebooted as per instructions...
Booted into desktop straight away no problems.
Nvidia working OK too.. Yay..!!
Thanks.
Installed on Linux Mint 11 LXDE 32 bit |
| Comment #6 by: TDASSA on 19 Aug 2011, 14:12 UTC | reply to this comment | it didnt work with my nvidia..
found this ppa:xorg-edgers/ppa
it has all new drivers and now its working fine with kernel 3.0 |
| Comment #7 by: Dave on 19 Aug 2011, 15:23 UTC | reply to this comment | Thanks for the quick wright up. Changing kernels is one of the things I'm always trying to learn more about. I read about people changing around from the .35 to the .38 to 3.0 to see which one works best with their hardware/drivers and it's something I've always wished I knew how to do.
One question, why keep the old kernel on your machine? Are you just leaving it there as a backup incase something doesn't work right with the new kernel? Or does it need to be left on the machine for some other reason? |
| Comment #7.1 by: yanski on 20 Aug 2011, 11:08 GMT | As a backup just in case the new kernel does not play nice with your hardware. |
| Comment #8 by: alex_from_belgium on 19 Aug 2011, 16:41 UTC | reply to this comment | This helps a lot with sandy bridge hardware... Good enough at least, until Oneiric |
| Comment #9 by: Carlos on 19 Aug 2011, 19:39 UTC | reply to this comment | Thanks for the share. I have successfully install it on Ubuntu 11.04 on my acer netbook and all is well. I've even experience faster boot time by at least two seconds!Nice!!! |
| Comment #10 by: Carllos on 19 Aug 2011, 20:03 UTC | reply to this comment | I notice that after doing this, you cant check the status of apparmor. |
| Comment #11 by: gulogulo on 20 Aug 2011, 07:41 UTC | reply to this comment | ubuntu 11.04 kernel 3.0 no nvidia drivers can only boot in safe mode |
| Comment #11.1 by: RodneyLee on 20 Aug 2011, 23:36 GMT | it didn't work for me either, same problem with Nvidia Drivers, now how to restore to older Kernal |
| Comment #11.2 by: dreck on 26 Aug 2011, 16:18 GMT | initial problems with the nvidia current (recommended) driver.
deinstalled the nvidia current before upgrade!
after restart the 3D Experimental driver from Nuoveau was the current driver set... everything working fine just now... |
| Comment #12 by: Duncan on 21 Aug 2011, 07:19 UTC | reply to this comment | So, if it's a good chance it will break my nvidia drivers.
Should I , uninstall nvidia (current-280) drivers, revert to nouveau, install kernel 3.0, reboot, check its ok, then reinstall nvidia drivers?
Also given I have a fairly old system, will I encounter any problems?
specs: * Peppermint 2 * AMD Sempron 2600+ * 1 gig ddr-400 ram * nvidia geforce 6200-512mb agp *
* AOC 24" @ 1920by1200 * 3G mobile broadband * browsers: chromium / opera * |
| Comment #13 by: joaquinx on 21 Aug 2011, 21:38 UTC | reply to this comment | Selecting previously deselected package linux-headers-3.0.0-0300.
(Reading database ... 203626 files and directories currently installed.)
Unpacking linux-headers-3.0.0-0300 (from linux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deb) ...
dpkg: error processing linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb (--install):
cannot access archive: No such file or directory
dpkg: error processing linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb (--install):
cannot access archive: No such file or directory
Setting up linux-headers-3.0.0-0300 (3.0.0-0300.201107220917) ...
Errors were encountered while processing:
linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb
linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb |
| Comment #13.1 by: higuita on 24 Aug 2011, 13:25 GMT | why cant people read?! the errors say it all !!
-->> cannot access archive: No such file or directory package architecture (i386) does not match system (amd64) |
| Comment #13.2 by: jay on 07 Oct 2011, 16:51 GMT | youre an idiot! |
| Comment #15 by: Marcin Juszkiewicz on 26 Aug 2011, 13:01 UTC | reply to this comment | I wrote similar HOWTO 2 months ago:
http://marcin.juszkiewicz.com.pl/2011/06/20/linux-3-0-under-ubuntu-natty-11-04/
Covered how to use APT to make whole work for user with all updated from Ubuntu kernel team. Your way is nearly same as "let's install any random kernel image" as mainline builds (to which you link) are not supported.
My way also allows to use oneiric packages for additional kernel drivers (like NVidia ones). |
| Comment #16 by: ed on 26 Aug 2011, 16:22 UTC | reply to this comment | I was able to install the kernel on my Debian squeeze after installing
wireless-crda
thank you |
| Comment #17 by: Sudarshan on 27 Aug 2011, 03:35 UTC | reply to this comment | sudo dpkg -i linux-headers-3.0.0-0300_3.0.0-0300.201107220917_all.deb linux-headers-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb linux-image-3.0.0-0300-generic_3.0.0-0300.201107220917_i386.deb
This works only for 32 bit users.
Just use
dpkg -i linux-*.deb
It works in both the cases. |
| Comment #18 by: Taz on 27 Aug 2011, 09:33 UTC | reply to this comment | My WiFi on my laptop stopped working after performing this kernel upgrade. I use NDIS Wrapper and a Windows Wireless Driver for my Netgrear card. This is due to a bug relating to the NDISWrapper and I managed to fix it in the end by following the advice below (the post by System Shock):
http://forums.debian.net/viewtopic.php?p=100586 |
| Comment #19 by: chvytruk on 28 Aug 2011, 05:27 UTC | reply to this comment | This broke my display. I get black screen on boot; no Grub menu, no cursor. It seems to boot and start up, but I have no screen. How can I undo? |
| Comment #21 by: 123 on 03 Sep 2011, 17:58 UTC | reply to this comment | How about we type sudo dpkg -i *.deb
just to prevent any typo. |
| Comment #22 by: Just me on 05 Sep 2011, 10:44 UTC | reply to this comment | i installed this way on three machines all running linux mint 8 , worked like a charm on my laptop no problems.Had to completely remove my nvidia and dkms but works well now , but not so lucky on my other computer , the nvidia driver is the older 173 driver , so not sure if i can use this method |
| Comment #23 by: rewr2rwere on 06 Sep 2011, 03:56 UTC | reply to this comment | why do i have to UNINSTALL my gfx drivers to do this??? |
| Comment #23.1 by: Marius Nestor on 06 Sep 2011, 11:51 GMT | You need to rebuild ALL the proprietary drivers after installing a new kernel. But uninstalling it's easier :) |
| Comment #23.2 by: jay on 07 Oct 2011, 16:52 GMT | You need to build the modules to the new kernel. Without uninstalling first could break your gfx modules. |
| Comment #24 by: cmolinap on 09 Sep 2011, 01:50 UTC | reply to this comment | Working 100% in an Asus Eee PC 701SD with Linux Mint 10 (Julia). No problem at all. Everything is working fine. |
| Comment #25 by: HappyCamper on 14 Sep 2011, 23:46 UTC | reply to this comment | All went well.
Kubuntu 11.04 x64
Asus K52J series, using Intel GPU (no real Linux support for Nvidia-Optimus) |
| Comment #26 by: peep on 24 Dec 2011, 09:23 UTC | reply to this comment | http://blog.mxd.cz/clanky-2011/kernel-316-ubuntu-1004\
WORKING, I HAVE JUST DID IT! |
| Comment #27 by: Agus on 10 Nov 2012, 09:27 UTC | reply to this comment | what effect if added module-init-tools and procpc package, before third packages intallation. I have to becarefull to do upgrade it | |
Copyright © 2001-2013 Softpedia. Contact/Tip us at 
|
|