-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 06 November 2002 09:43 pm, Edward Benson wrote:

> Is there an easy way with SRPMs or RPMs to configure kernel options?
> Since I have convinced myself that I am incompetent at configuring a
> working kernel, is there a way I can grab the configuration that RH8
> install used, change _just_ the Toshiba Laptop Support option, and
> recompile it?  Using a source tarball is fine w/ me as long as I can
> start from RH8's default configuration.

You can start with the same options used to build the Red Hat kernel. 
Just:
Install the kernel-source rpm for the appropriate kernel version.
Here are the steps I used recently on a Red Hat 8.0 system:
# rpm -Fvh kernel-source-2.4.18-17.8.0.i386.rpm
# cd /usr/src/linux-2.4.18-17.8.0/
# Edit the Makefile, and set EXTRAVERSION to something unique)
# make mrproper
# cp configs/kernel-2.4.18-athlon.config .config
(use the config file specific to your machine- i386, 586, 686, etc. The 
config files in the configs directory are the ones used to create the Red 
Hat kernels. Select one, and copy it to .config)
# make config/menuconfig/xconfig (select one, and enable your options)
# make dep
# make bzImage && make modules && echo "Finished!"
# make modules_install
# make install

Check grub/lilo config and make sure the new kernel has been entered.

reboot, and select the new kernel.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9yd7An/07WoAb/SsRAsmCAJsGdKBV65hV5EmmTB8fL64K2QZe3gCdFyeq
ZaBJWmRKuhJ3y5MNMdsrfig=
=jY+p
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to