Ask Your Question
0

Installation of custom kernel

asked 2013-02-13 04:51:42 -0500

guitfdlr gravatar image

updated 2015-11-27 10:03:53 -0500

mether gravatar image

I've compiled a custom kernel, with a srpm. Everything went fine, and I have everything compiled, and sitting in RPMS waiting to be installed. My problem concerns firmware. i am using FedoraProject.org, Building a Kernel from the source RPM, link text to compile it, and everything went fairly smooth (considering its age, and a few typo's). My questions are, how to install it, how do i build or get the firmware. I used the builddid line,

if you changed the name of your kernel as requested, your firmware and kernel headers won't match. The simplest solution is to build new firmware as described in 'Build the New Kernel', then

su -c "rpm -ivh $HOME/rpmbuild/RPMS/<arch>/kernel-<version>.<arch>.rpm \

   $HOME/rpmbuild/RPMS/<arch>/kernel-firmware-<version>.<arch>.rpm \
   $HOME/rpmbuild/RPMS/<arch>/kernel-headers-<version>.<arch>.rpm \
   $HOME/rpmbuild/RPMS/<arch>/kernel-devel-<version>.<arch>.rpm"

and there is no firmware to be had. How do I install the kernel, so that everything is updated to use my new kernel, with a different name?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-14 13:47:55 -0500

Chad Farmer gravatar image

Most hardware does not need firmware from the kernel. Your PCI cards have ROM chip(s) that holds the firmware. I suggest you set up to dual boot between current and new kernels. After booting with the new kernel, hardware that does not work is probably missing a driver or firmware. But you may find that everything works.

It is pretty easy to install and boot multiple kernels on a system. Install each kernel rpm with 'rpm -i' (force if necessary). Do not use 'rpm -U' because that will delete all the other kernels. After installing a second kernel you should have two vmlinuz-<version> files and two initrd-<version>.img files. Modules are under /lib/modules/<version>, so multiple versions are OK. Update your bootloader config file to have entries for all installed kernels. Boot and select the kernel you want. If you have problems, boot with your kernel.

A few wireless Ethernet and video cards require firmware from the OS to run. These are sometimes described as "Windows only". Good luck.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-02-13 04:51:42 -0500

Seen: 441 times

Last updated: Feb 14 '13