once again, I am replying to my own post ;-)
I made a mistake - the 'config' file that you intend to use to compile the
kernel should be in the path /usr/src/linux-2.4.2/.config and not inside the
configs folder as previous indicated.
Craig
----:----|----:----|----:----|----:----|----:----|----:----|
- Craig White - PO Box 8634 - Scottsdale, Arizona - 85252
- e-mail address ................ -
CraigWhite@AzApple.com
- world wide web address ........ -
http://www.AzApple.com
- e-mail my pager address ....... -
6023779752@airtouch.net
- cellular phone ................ - (602) 377-9752
- voice/facsimile ............... - (480) 945-8445
----:----|----:----|----:----|----:----|----:----|----:----|
> -----Original Message-----
> From: plug-discuss-admin@lists.plug.phoenix.az.us
> [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Craig
> White
> Sent: Sunday, May 27, 2001 10:44 AM
> To: plug-discuss@lists.plug.phoenix.az.us
> Subject: RE: More Kernel 2.4 Q's
>
>
> At the risk of boring everyone, I have ascertained this much information
> regarding compiling a kernel on RedHat 7.1 though I am certain that the
> process is likely to be much the same with most all other distributions...
>
> The proper procedure to maintain the original kernel and ability to boot
> from that kernel & set of modules when compiling a new kernel would be to:
>
> first - install
> kernel-source-2.4.2-2.i386.rpm (located on Binary CD 2)
>
> cd /usr/src/linux-2.4.2/configs
> cp (desired config file) .config
> (i.e. cp kernel-2.4.2-i586.config .config
>
> cd .. (your path should be /usr/src/linux-2.4.2 or whichever source you
> intend to compile)
>
> make mrproper
> (only necessary if previous attempts at compiling have failed)
> (not necessary if fresh untar/rpm sources)
> make EXTRAVERSION=-foo menuconfig
> make EXTRAVERSION=-foo dep
> make EXTRAVERSION=-foo clean
> (only necessary if previous attempts at compiling have failed)
> (not necessary if fresh untar/rpm sources)
> make EXTRAVERSION=-foo bzImage
> make EXTRAVERSION=-foo modules
> make EXTRAVERSION=-foo modules_install
>
> ---
> note to Steve - initial configuration of make menuconfig (or gui's
> equivalent) would be obtained from the file called .config in the configs
> folder in the /usr/src/linux-version tree.
>
> Hey as of last Wednesday I had never compiled a new kernel and in fact was
> intimidated by the process. I would probably recommend that the first time
> or two, you don't do it on a production computer in case you screw up and
> forget to protect the initially installed kernel & modules from being
> over-written.
>
> Craig
>
> ----:----|----:----|----:----|----:----|----:----|----:----|
> - Craig White - PO Box 8634 - Scottsdale, Arizona - 85252
> - e-mail address ................ - CraigWhite@AzApple.com
> - world wide web address ........ - http://www.AzApple.com
> - e-mail my pager address ....... - 6023779752@airtouch.net
> - cellular phone ................ - (602) 377-9752
> - voice/facsimile ............... - (480) 945-8445
> ----:----|----:----|----:----|----:----|----:----|----:----|
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail
> doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss