Recompile kernel slackware
Here is a simple guide to recompile the kernel on Slackware. Firstly you must download the new kernel from the site www.kernel.org therefore Type:
cp linux-2.6. (new kernel). tarBz2 / usr / src
we now enter / usr / src
cd / usr / src
now proceed with the unpacking of the kernel and to compile
tar xjvf linux-2.6. (new kernel). tarBz2
rm linux; ln-s linux-2.6. (new kernel) linux
cd linux make
mrproper
cp / usr/src/linux-2.6 (old kernel). / config / usr/src/linux-2.6 (new kernel). / config
Choose:
make oldconfig (To maintain the configuration of the old kernel)
make menuconfig (to enter in the configuration of the kernel) type in
make-j3 (single core) or -j6
(if using a dual core)
check / usr/src/linux/arch/i386/boot / (in this directory there should be a file)
make modules_install
're still in / usr / src / linux cp
System . map / boot/System.map-2.6. (new kernel)
cp. config / boot/config-2.6. (new kernel)
arch/x86/boot/bzImage cp / boot/vmlinuz-2.6. (new kernel)
cd /
now that the kernel is updated you must make changes to the boot
sudo gedit / etc / lilo.conf:
find something like this:
image = / boot / vmlinuz root
= / dev/hda2 label = Slack_2.6. (old kernel) read only
below to add the following lines:
image = / boot/vmlinuz-2.6. (new kernel)
root = /
dev/hda2 label = Slack_2.6. (new kernel)
read only
're done. Now we have to restart your computer and select the new kernel from lilo.
0 comments:
Post a Comment