Thread: [SOLVED] Replacement Kernel?
View Single Post
  #6  
Old 24th March 2011, 08:53 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 876
Re: Replacement Kernel?

The way I would go about installing a different fedora versions kernel is:
Code:
su -c 'yum install rpmdevtools yum-utils'
rpmdev-setuptree
cd ~/rpmbuild/SRPMS
wget http://kojipkgs.fedoraproject.org/pa...6.fc15.src.rpm
su -c 'yum-builddep kernel-2.6.38.1-6.fc15.src.rpm'
rpmbuild --rebuild --with baseonly  --without debuginfo --target=`uname -m` kernel-2.6.38.1-6.fc15.src.rpm
and when finished you should have the new kernel.rpm in your ~/rpmbuild/RPM/...i686 or xx86_64 folder. You can then cd to the folder and install with something like:
Code:
su -
cd /home/YOURUSERNAME/rpmbuild/RPMS/XXXXXis either i686 or X86_64/
yum localinstall --nogpgcheck kernel-<version>.rpm


---------- Post added at 03:53 PM ---------- Previous post was at 03:43 PM ----------

EDIT: It is definitely a good idea to edit /boot/grub/grub.conf and match the following lines before a reboot:

Quote:
timeout=9
# hiddenmenu

Last edited by AndrewSerk; 24th March 2011 at 08:46 PM.