Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th October 2010, 03:12 PM
Stefano Teso Offline
Registered User
 
Join Date: Oct 2010
Posts: 5
linuxepiphany
Installing a vanilla kernel

Hi all,

I recently had to switch from Debian to Fedora for several hardware-related reasons. The change was beneficial, namely because my new laptop works pretty fine with Fedora 13. However, I am having trouble using a vanilla/git kernel in Fedora, as I am pretty new to rpm/dracut/grubby/whatever.

What I am trying to do -- to get my wifi card working, which requires a kernel > version that is in Fedora 13 -- is to take some new-ish kernel from kernel.org, compile it using some custom .config (to, e.g., disable selinux, that I don't really care about, and other misc stuff).

In Debian it was just a matter of "download; untar; make config; make bzImage modules; make modules_install; cp arch/$FOO/bzImage /boot/$BAR; mkinitramfs; update-grub". In Fedora however I am lost...

Up to compiling and module_installing the thing I can get to. However, it Fedora doesn't seem to ship mkinitramfs, using dracut instead. I am not clear on the usage / constraints / preconditions / differences of dracut wrt mkinitramfs. Same goes for grubby.

I would be very grateful if somebody could tell me just the very few commands to perform the same task I was used to in Debian. I have no special needs, I just want to add a new vanilla kernel + grub entry to my laptop's boot screen :-)

Thanks in advance,

S
Reply With Quote
  #2  
Old 5th October 2010, 04:08 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,108
linuxfedorafirefox
Re: Installing a vanilla kernel

It is the same procedure, but if your system is running F13, copy the .config
file from /boot/config-2.6....(whatever) to get the base configuration.

You can then use make menuconfig/gconfig/... to update any necessary
options for your hardware. The rest of the build should be the same.

The last step would be make install (as root) and it should copy the system
to /boot along with any initramfs required.

I haven't had to do anything else.
Reply With Quote
  #3  
Old 5th October 2010, 04:16 PM
Stefano Teso Offline
Registered User
 
Join Date: Oct 2010
Posts: 5
linuxubuntuepiphany
Re: Installing a vanilla kernel

Okay, thank you, I will try with `make install' alone, hopefully grub2 does get updated automagically?
Reply With Quote
  #4  
Old 6th October 2010, 01:10 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,108
linuxfedorafirefox
Re: Installing a vanilla kernel

Quote:
Originally Posted by Stefano Teso View Post
Okay, thank you, I will try with `make install' alone, hopefully grub2 does get updated automagically?
Hope so, but I'm not sure. My updates were with the traditional Fedora
grub.
Reply With Quote
  #5  
Old 6th October 2010, 09:00 AM
Stefano Teso Offline
Registered User
 
Join Date: Oct 2010
Posts: 5
linuxubuntuepiphany
Re: Installing a vanilla kernel

Appareantly the new kernel/initram pair are automatically added to the grub menu by fedora when installing a new kernel from yum, so for now the trick I use is to just reinstall a stock kernel (or one from koji) after adding them to /boot :-)

even though it is just a workaround, it seems to do the job :-)

thanks!

---------- Post added at 10:00 AM GMT ---------- Previous post was at 10:00 AM GMT ----------

Appareantly the new kernel/initram pair are automatically added to the grub menu by fedora when installing a new kernel from yum, so for now the trick I use is to just reinstall a stock kernel (or one from koji) after adding them to /boot :-)

even though it is just a workaround, it seems to do the job :-)

thanks!
Reply With Quote
Reply

Tags
compile, dracut, kernel, mkinitramfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing vanilla kernel 2.6.22 on Fedora 6 ole123 Installation and Live Media 2 20th August 2008 10:18 PM
fedora kernel spec file and vanilla kernel LocutusOfBorg Using Fedora 4 27th August 2007 07:23 AM
New Kernel/Vanilla Kernel good bad and ugly quik69 Fedora Focus 5 7th February 2007 05:09 AM
FC3: hal & vanilla kernel jwiz Using Fedora 0 29th November 2004 11:03 AM


Current GMT-time: 09:56 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

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

FedoraForum is Powered by RedHat