Upgrading to BackTrack 5 R2

The release of the BackTrack 5 R2 kernel has arrived with a brand new 3.2.6 kernel and a tons of new and updated tools and security fixes, BT5 R2 will provide a more stable and complete penetration testing environment than ever before. I will post more on upgrading new tools but for now though, here’s how to get the new kernel and all of the updated package:

1. Update and upgrade your BT5 (R1) installation:

apt-get update
apt-get dist-upgrade
apt-get install beef
reboot

Once that’s done, you should already have the new kernel installed as well as any last updates we have for the official R2 release. You need to reboot to have the 3.2.6 kernel kick in.

During the last upgrade you’ll be asked about file revision updates. Make sure to always keep the locally installed file. Feel free to press “Enter” and accept all the defaults.

Note: if some problem comes of X wont start and showing an error for Nvidia go below process:

Nvidia driver install on BT5r2 Kernel 3.2.6

prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/

gedit /etc/modprobe.d/blacklist.conf

>>  blacklist vga16fb

blacklist nouveau

blacklist rivafb

blacklist nvidiafb

blacklist rivatv

then save and close file

Now, remove old nvidia driver

apt-get –purge remove nvidia-*

reboot

echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf

vi /boot/grub/grub.cfg

inserted ‘nouveau.modeset=0’ just before ‘vga=791’ (if two display= 2 insertion)

esc :wq!

update-initramfs-u

reboot

Now,install latest Nvidia from its site for your linux architecture

sh <NVidiafile.run> –kernel-source-path /usr/src/linux-source-3.2.6

or install automatically

add-apt-repository ppa:ubuntu-x-swat/x-updates

apt-get update && apt-get install nvidia-current nvidia-current-modaliases nvidia-settings

reboot

2. OPTIONAL – Once rebooted, log back in, and get your pretty splash screen back.

fix-splash
reboot

On the next reboot, you should see the red console splash screen appear.

3. Verify that you are running a 3.2.6 kernel:

uname -a

You should see something like “Linux bt 3.2.6 …”

4. Feel free to install any or all of the new tools featured in BackTrack 5 R2:

apt-get install pipal findmyhash metasploit joomscan hashcat-gui golismero easy-creds pyrit sqlsus vega libhijack tlssled hash-identifier wol-e dirb reaver wce sslyze magictree nipper-ng rec-studio hotpatch xspy arduino rebind horst watobo patator thc-ssl-dos redfang findmyhash killerbee goofile bt-audit bluelog extundelete se-toolkit casefile sucrack dpscan dnschef

5. Add the new security updates repository to /etc/apt/sources.list, and run another upgrade.

echo “deb http://updates.repository.backtrack-linux.org revolution main microverse non-free testing” >> /etc/apt/sources.list
apt-get update
apt-get dist-upgrade

6. Some of the newly installed services will be set to start on boot. We like disabling these as needed:

/etc/init.d/apache2 stop
/etc/init.d/cups stop
/etc/init.d/winbind stopupdate-rc.d -f cups remove
update-rc.d -f apache2 remove
update-rc.d -f winbind remove

And…you’re done!

see ya!!! cheers 🙂

Advertisements

2 thoughts on “Upgrading to BackTrack 5 R2

Add yours

Join the Discussion

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

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: