buchin

Upgrade BT3 Kernel

the Backtrack logo
Image via Wikipedia

Is it time to update your BT3 kernel?

Your box probably have backtrack 3 installed already, and update your backtrack 3 kernel is easy enough. Aside from allowing you to install and reinstall, Backtrack 3 kernel update can be done by this step by step instructions:

Source

Been rebuilding my hdd this morning and thought people might want to do this at some point.

Download the latest kernel from http://www.kernel.org/

If you would like to add a bootsplash also get the bootsplash patch here

ftp://ftp.openbios.org/pub/bootsplas….6-2.6.15.diff

Ok now extract the kernel to the /usr/src folder..

Code:
mv linux-2.6.24.4.tar.gz /usr/src
cd /usr/src
tar zxvf linux-2.6.24.4.tar.gz

Next lets patch up our kernel for bootsplashes. First extract the patch to the kernel dir and..

Code:
patch -p1 < bootsplash-3.1.6-2.6.22.diff

Now lets create a symbolic link to the kernel dir.

Code:
cd /usr/src
ln -s linux-2.6.24.4 linux

I noticed is that the Back Track guys decided to remove the kernel build folder, probably because of space ??? So I extracted the bt3 configuration.

Code:
cd /usr/src/linux
make mrproper
zcat /proc/config.gz > .config

And now lets start the configuration..

Code:
make xconfig

Now you have to setup you hardware and strip of all the crap you don’t need. There is no tutorial for this I’m afraid Just match your hardware to the kernel configuration.

When you are done save and exit the configuration utility and we can now build the kernel.

Code:
make bzImage && make modules && make modules_install

Now lets backup the old kernel just in case we have errors.

Code:
cd /boot
rename vmlinuz vmlinuz-old

Now lets add our old kernel to the lilo.conf. Here’s my lilo.conf as an example..

Code:
boot = /dev/sda
prompt
timeout = 60
#bitmap=/boot/splash.bmp
change-rules
reset
#vga = 769,771/773/792
vga = 769
image = /boot/vmlinuz-old
  root = current
  label = BackTrack-Old
  read-only
image = /boot/vmlinuz
  root = current
  label = BackTrack-New
  read-only

Save the config file and then install the kernel

Code:
cd /usr/src/linux
make install

Reboot and test your new kernel

Related articles:

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>