
Jul 5, 2010
How to Update to BackTrack 2.6.34
Howto Update BackTrack to the latest Kernel 2.6.34
Several people have been asking for instructions on updating hard drive installs of BackTrack – here’s a quick set of commands to upgrade your machine and prepare the kernel sources. This is required for VMWare tools or VirtualBox tools module compilations, for example.
Start by updating and upgrading your local BackTrack install. IMPORTANT – If asked if you want to proceed with the kernel updates,agree, by typing “n”.
[cc lang=”bash”]
apt-get update
apt-get dist-upgrade
[/cc]
Install new drivers as needed, as well as kernel sources:
[cc lang=”bash”]
apt-get install madwifi-drivers broadcom-sta r8187-drivers linux-source-2.6.34
apt-get clean
depmod -a
[/cc]
Now prepare your kernel sources:
[cc lang=”bash”]
cd /usr/src/
rm -rf linux linux-source-2.6.30.9*
rm -rf /lib/modules/2.6.30.9/
tar jxpf linux-source-2.6.34.tar.bz2
ln -s linux-source-2.6.34 linux
cd linux
cp /boot/config-2.6.34 .config
ln -s /usr/src/linux /lib/modules/2.6.34/build
make scripts && make prepare
apt-get clean && updatedb
reboot # dont forget to reboot!
[/cc]
Your BackTrack Install is now fully updated and kernel sources are in place. Running a VMWare / VirtualBox tools install should complete without a problem.
Stay in the know: Become an OffSec Insider
Get the latest updates about resources, events & promotions from OffSec!
Latest from OffSec

Research & Tutorials
CVE-2025-29306 – Unauthenticated Remote Code Execution in FoxCMS v1.2.5 via Unserialize Injection
Discover details about CVE-2025-29306, a critical RCE vulnerability in FoxCMS 1.2.5. Learn how unsafe use of PHP’s unserialize() function enables remote attackers to execute arbitrary system commands.
Jul 3, 2025
2 min read

Research & Tutorials
CVE-2024-39914 – Unauthenticated Command Injection in FOG Project’s export.php
Discover details about CVE-2024-39914, a critical unauthenticated command injection vulnerability in FOG Project ≤ 1.5.10.34. Learn how attackers can exploit export.php to execute system commands or deploy persistent webshells.
Jun 26, 2025
2 min read

OffSec News
What It Really Means to “Try Harder”
Discover how OffSec’s “Try Harder” mantra evolved into a mindset, and how it helps learners build grit, creativity, and real-world problem-solving skills.
Jun 23, 2025
7 min read