Article View: ch.comp.os.linux
Article #20432Re: Kernel recompiling in Redhat 6.0
From: Marc SCHAEFER
Date: Sat, 09 Oct 1999 00:00
Date: Sat, 09 Oct 1999 00:00
24 lines
1276 bytes
1276 bytes
slammam@my-deja.com wrote: > I just upgraded to redhat Linux 6.0 and wanted to compile a new kernel The procedure is (e.g with VERSION=2.0.38, and assuming Red Hat has the boot files in /boot like SuSE 6.0 BOOT_DIR=/boot). cd /usr/src rm linux ln -s linux-$VERSION linux cd linux # possibly make menuconfig, etc. make dep zImage modules modules_install mv arch/i386/boot/zImage $BOOT_DIR/vmlinuz-$VERSION cp System.map $BOOT_DIR/System.map-$VERSION chmod 444 $BOOT_DIR/*-$VERSION # In theory the system will try System.map-$VERSION first # and System.map last. Else you can # ln -sf $BOOT_DIR/System.map-$VERSION $BOOT_DIR/System.map # Note that the format of $VERSION is implied to # be the one above. Now edit /etc/lilo.conf and add a new section for your new kernel (keep the old one). Now type /sbin/lilo
Technical Details
Message-ID:
<7tmqht$716$1@vulcan.alphanet.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7tkdpt$921$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4b73,1d4a5ecbaec39719 X-Google-Attributes: gidf4b73,public From: Marc SCHAEFER <schaefer@alphanet.ch> Subject: Re: Kernel recompiling in Redhat 6.0 Date: 1999/10/09 Message-ID: <7tmqht$716$1@vulcan.alphanet.ch> X-Deja-AN: 534619408 References: <7tkdpt$921$1@nnrp1.deja.com> Organization: ALPHANET NF -- Not for profit telecom research Newsgroups: ch.comp.os.linux