LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Compiling Fedora Core Kernel (https://www.linuxquestions.org/questions/fedora-35/compiling-fedora-core-kernel-297425/)

betamike 03-03-2005 11:29 PM

Compiling Fedora Core Kernel
 
Hey guys,

I have Fedora Core 3 installed on an old Toshiba laptop, and I want to enable Toshiba support in the kernel. I've never done so before, so could someone please give me a step by step guide to doing so?

thank you in advance!

OptiX-Kill 03-04-2005 02:27 AM

betamike, first of all get the kernel sources. you can find them here: http://download.fedora.redhat.com/pu...dates/3/SRPMS/ or www.rpmfind.net .install them.
1. Obtain the kernel-<version>.src.rpm file from one of the following sources:

o The SRPMS directory on the appropriate "SRPMS" CD iso image

o The FTP site where you got the kernel package

o By running the following command:

up2date --get-source kernel

2. Install kernel-<version>.src.rpm (given the default RPM configuration, the files this package contains will be written to /usr/src/redhat/)

3. Change directory to /usr/src/redhat/SPECS/, and issue the following command:

rpmbuild -bp --target=<arch> kernel.spec

(Where <arch> is the desired target architecture.)

On a default RPM configuration, the kernel tree will be located in /usr/src/redhat/BUILD/.

4. In resulting tree, the configurations for the specific kernels shipped in Fedora Core 3 are in the /configs/ directory. For example, the i686 SMP configuration file is named /configs/kernel-<version>-i686-smp.config. Issue the following command to place the desired configuration file in the proper place for building:

cp <desired-file> ./.config

5. Issue the following command:

make oldconfig

You can then proceed as usual.
after doing all that, enable Toshiba support. finally, do the following:
make
make modules_install
make install

and reboot :) this is how I am doing all this..good luck!

betamike 03-04-2005 06:47 AM

Thank you very much! I'll give this a go as soon as I can!


All times are GMT -5. The time now is 05:49 AM.