Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 23-08-2007, 11:20 PM   #1 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn


Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

Quote:
Currently Feisty Fawn users (7.04) using the generic kernel (which is 2.6.20-16-generic). This tutorial will explain howto upgrade you to kernel version 2.6.22-9-generic(as of 07AUG07).

Before attempting this backup your grub menu list:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.bak

First you need to add the Gutsy repository (this is only temporary to pull the new kernel)

echo ‘deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted’ | sudo tee -a /etc/apt/sources.list

Update the source list using the following command

sudo apt-get update

you need to install the new kernel using the following command

sudo apt-get install linux-backports-modules-2.6.22-9-generic linux-headers-2.6.22-9 linux-headers-2.6.22-9-generic linux-image-2.6.22-9-generic linux-restricted-modules-2.6.22-9-generic linux-ubuntu-modules-2.6.22-9-generic

Now you should remove the Gutsy repository from your sources.list

sudo vi gedit /etc/apt/sources.list

Now you can remove the line or simply comment it out

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

Now save the file and exit.

Update the source list using the following command

sudo apt-get update

If you’ve done all of the above without errors, you’ve successfully installed 2.6.22-9-generic. Now you need to reboot into the new kernel

sudo reboot

Troubleshooting

After rebooting if you have any problem you need to follow this procedure to revert back your changes.

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

Remove the installed kernel packages

sudo apt-get remove linux-backports-modules-2.6.22-9-generic linux-headers-2.6.22-9 linux-headers-2.6.22-9-generic linux-image-2.6.22-9-generic linux-restricted-modules-2.6.22-9-generic linux-ubuntu-modules-2.6.22-9-generic

Removing the packages will remove the kernel from your Grub menu. But for some reason it doesn’t follow these steps to remove it

sudo vi gedit /boot/grub/menu.lst

Now remove the following and save the file

#Add Windows entries (if any) after this line and then the Ubuntu kernel line

title Ubuntu, kernel 2.6.22-9-generic
root (hd0,0) #or whatever was the previous value
kernel /boot/vmlinuz-2.6.22-9-generic root=<whatever value was there previously> ro quiet splash
initrd /boot/initrd.img-2.6.22-9-generic
quiet
savedefault

title Ubuntu, kernel 2.6.22-9-generic (recovery mode)
root (hd0,0) #or whatever was the previous value
kernel /boot/vmlinuz-2.6.22-9-generic root=root=<whatever value was there previously> ro single
initrd /boot/initrd.img-2.6.22-9-generic

Those previous values can be obtained from /boot/grub/menu.lst.bak which was backup up earlier.
Now reboot your system.
source: ubuntu geek
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com

Last edited by infra_red_dude; 24-08-2007 at 01:04 AM.
infra_red_dude is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-08-2007, 12:09 PM   #2 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Default Re: Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

does this remove old kernel ?
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra
vish786 is offline  
Old 24-08-2007, 12:25 PM   #3 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

remove the old one wid apt-get remove or thru synaptic
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 24-08-2007, 12:28 PM   #4 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Default Re: Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

i prefer to keep the old kernels & use them, if theirs some prob with new one.
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra
vish786 is offline  
Old 24-08-2007, 12:34 PM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

newer kernels are better(inside).as with utnubu they may had fixed some bugs with libata old pata driver problem(s).
newer kernel includes many features(not necessarily enabled) do see:
http://kernelnewbies.org
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 24-08-2007, 12:54 PM   #6 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default Re: Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

changes: http://kernelnewbies.org/Linux_2_6_22
(this is the first release, more changes in 2.6.22-9 i guess)

lotsa changes there. people wid intel gma 3x00 will surely be happy and so will the ati xpress 200m owners
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 28-08-2007, 10:41 AM   #7 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

Just one warning while updating to Gutsy kernel DO NOT UPDATE any appz, just upgrade the kernel and then remove the gutsy repo from the source.list and then do the appz updating.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 28-08-2007, 10:55 AM   #8 (permalink)
In The Zone
 
Nav11aug's Avatar
 
Join Date: Sep 2006
Location: Kharagpur for now
Posts: 362
Default Re: Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn

Quote:
Originally Posted by vish786
i prefer to keep the old kernels & use them, if theirs some prob with new one.
ya ...itz better to keep the old one... the new 2.6.22 has a problem wid NTFS drives if u r bootin into linux after a restart from Windows... I am having to boot into an older kernel and then reboot to the new one.
__________________
http://www.last.fm/user/NOLFxceptMe/
http://naveendageek.blogspot.com

Back after a long time. And well, EndSems screwed up as usual :)
Nav11aug is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kubuntu 7.04 Feisty Fawn da_tcpip Open Source 8 31-07-2007 09:51 PM
people using Broadband in Feisty Fawn.... Manshahia Open Source 19 05-06-2007 02:16 PM
softwares for Feisty Fawn... Manshahia Open Source 3 01-06-2007 09:12 AM
Audio not smooth in Feisty Fawn... ~Phenom~ Open Source 17 02-05-2007 02:14 AM
Ubuntu Feisty Fawn Drawing Near freebird Open Source 1 01-03-2007 11:40 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 12:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2