Thursday 22 November 2012

How to Install BackTrack 5 Proper Tutorial



For Security Researchers who wants to do penetration testing or some extra in Security Field then Backtrack 5 is a good choice...

First you need to download backtrack 5 from this link 

http://www.backtrack-linux.org/downloads/ 

and also download UNetbootin which is required For Creating Live Usb Of backtrack

http://unetbootin.sourceforge.net/ 

Requirement :
1. USB (Flash Drive) (Minimum USB Drive capacity 4 GB)
2. Backtrack 5 ISO file, md5sum verified(which is available on above link)
3. UNetbootin

Procedure to burn your USB.
> Plug in ur USB Drive
> Format the USB drive to FAT32
> Start Unetbootin and select the "diskimage" option, choose a BackTrack 5 ISO file which u've    
    downloaded at the first of this tutorial.
> Select the amount of space to use for persistence in MB (optional)
> Select your USB drive and click "OK" for creating a bootable BackTrack USB drive
> Once rebooted, remember that the default username is root and password toor

Your USB is ready to install BackTrack5...

first of all Boot the Backtrack Live Environment.
At the bash prompt, type startx to enter the GUI.
Double click the install-Backtrack.sh which u can see on the Desktop.

step by step Installation process...
Select the language and click on the forward button.
Select ur geographical location and time zone den click on the forward button.
Choose ur keyboard layout, or leave default.
now in the next screen choose the "Erase and use the entire disk" option If you Want To Format your whole hard drive and install only backtrack in a single partition, 
or  choose "manually advanced" option to select the drive you want to format and install backtrack.
and click Forward.
the next screen will show you the installation options, make sure everything is fine then click on forward button to start installation process.
when installation will finish you'll need to press the restart button and then enjoy Backtrack 5.

NOTE : default user name is : root and pass : toor

Dont forget to change it...
you can also use BackTrack 5 with different operating systems like Win XP, Win 7,etc with dual boot setup.
K33p growing, And K33p Yourself updated.

I Enjoyed the whole tutorial While Blogging.
Comments are welcomed...

Backtrack not Found After Installing new windows 8 ? Solved



Problem:
I had Windows 7 installed, and backtrack R2 (just upgraded to R3). I then installed Windows 8 (formatted my Main windows HDD, not my backtrack HDD). Now Windows installed his boot loader.
I Faced This Problem And Tackle My Worries Without reinstalling Any Os... I'm too Smart.
Coz I Know That If there is a problem then There is a solution for it also...
So, Is there anyway to get the GRUB loader back without reinstalling backtrack?

Solution:
Just please one thing that is not written in guides and I belive they take it for granted: If you are to recover the grub using a live CD, here is the "taken for granted" issue and looks pretty logic, but many many people do not do it: use the 64 bit distro if trying to recover a 64 bit system with grub, and use 32 bit live cd for 32-bit distro to recover...IF you do not do that, when recovering grub, you will get mounting errors ("chroot: cannot run command `/bin/bash': Exec format error").


Here is the way I do it, is the easiest way from live cd (remember to use the 32 or 64 bit version according to the one you want to recover):

Insert Live CD (Ubuntu distro with grub2 like Lucid 10.04) and load Ubuntu. 



then open a terminal and type(text in red only):

root@bt:~# sudo fdisk -l                                            ====> (See your BT partition: sda1, sda2, etc)

root@bt:~# sudo mount /dev/sdax /mnt                   ====> (mount it) {Where x is your sda drive                  
                                                                                             no. eg: sda7 is my drive and here x is 7}

root@bt:~# sudo grub-install --root-directory=/mnt/ /dev/sda            ====> (install grub, here DO     
                                                                                                            NOT install in sdax, just sda or  
                                                                                                       whatever your HDD is mapped at).

Reboot (# shutdown -r now) and if any OS is missing in grub menu, just enter BT and use the 

root@bt:~# os-prober 

command in terminal: "os-prober", 
then just update grub: 

root@bt:~# update-grub

Now You Are Free To Use Your Dual Boot System... Ready... :D

Be Brave, K33p Yourself Updated...

Suggestions and Questions are welcomed...