• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do I recompile a kernel

zogg

Senior member
I am told I have to recompile a kernal in Slackware 7.1(linux).
because I have a problem with slackware trying to open a frame_buffer when it shouldnt.

How does one go about recompiling a kernel in slackware or any version of linux if you dont know slackware.


Thanks
zogg
 
cd /usr/src/linux
make mrproper
make menuconfig

Choose your options accordingly

make dep
make clean
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-<kernel version number (e.g. vmlinuz-2.2.17)>
cp System.map /boot/System.map-<kernel version number>

Use your favorite editor to edit the file /etc/lilo.conf, add the new kernel accordingly. Look at the file it's pretty self explanatory, but something like:

image=/boot/vmlinuz-2.2.17
root=/dev/hdxx (where xx is that proper parition number, use what the others are already pointing to there)
label=linux
read-only

Now, change the old kernel named linux to old.

Now, rerun LILO /sbin/lilo

Finally, reboot.

You might just looking at your current /etc/lilo.conf and seeing what kernels came pre-compiled. You may already have one that doesn't have the frame buffering stuff in it.
 
Back
Top