What is the safest and fastest way to recompile the kernel?
Here are the commands you need to give them:
cp linux-x.y.z.tar.gz la /usr/src tar zxpvf linux-x.y.z.tar.gz cd linux-x.y.z make menuconfig make dep make clean make zImage
It is best to insert a floppy disk into the hard drive and write make zdisk. To cause LILO to consider the new kernel, run:
make zlilo
If this does not work try cp /usr/src/linux-2.0.35/arch/i385/boot/zImage / boot / vmlinux. Next run: vi /etc/lilo.conf and change the label to / boot / vmlinuz-xyz, and finally give the command / sbin / lilo.
Restart the system (use the floppy disk if something goes wrong). To compile the modules (the drivers you need for the sound card, network and others) give the commands:
make modules make modules_install