Compile Kernel in Slackware64

cd /usr/src

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2

tar xvfj linux-2.6.31.tar.bz2

cd /var/adm/packages

removepkg *kernel*

cd /usr/src

ln -s linux-2.6.31 linux

cd /usr/include

rm -R scsi
ln -s /usr/src/linux/arch/ia64/include/asm

ln -s /usr/src/linux/include/asm-generic

ln -s /usr/src/linux/include/linux

ln -s /usr/src/linux/include/mtd

ln -s /usr/src/linux/include/rdma

ln -s /usr/src/linux/include/scsi

ln -s /usr/src/linux/include/sound

ln -s /usr/src/linux/include/video

cd /usr/src/linux

make mrproper

make menuconfig

->Configure your kernel

make

make install

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: