Here are the steps I took to install Backtrack 3 on to my laptop harddrive.
1. Boot system from Backtrack 3 CD.
2. Once booted, open a terminal and type; cfdisk
3. Re-configure your partitions. I made several; / , /boot, /var, /tmp, /home, swap. Be sure to set your / or /boot partition to be bootable.
4. When your changes are complete, use the write option and type YES to confirm the changes.
5. Reboot, booting from the Backtrack 3 CD again.
6. When the system restarts, open a terminal and enter preform the following;
bt~# mkswap /dev/sda5This formats and enables swap space. You’ll need this later
bt~# swapon /dev/sda5
7. Create directories needed to mount up the partitions you just created. I used the following;
bt~# mkdir -p /mnt/backtrack/{boot,home,tmp,var}8. Now format and mount the partitions you created earlier in steps 1-4. I used the following commands;
bt~# mkfs.ext3 /dev/sda69. Once all targets are mounted, use the following command to copy the live cd to your harddrive;
bt~# mount /dev/sda6 /mnt/backtrack/
bt~# mkfs.ext3 /dev/sda7
bt~# mount /dev/sda7/mnt/backtrack/var
bt~# mkfs.ext3 /dev/sda8
bt~# mount /dev/sda8 /mnt/backtrack/tmp
bt~# mkfs.ext3 /dev/sda9
bt~# mount /dev/sda9 /mnt/backtrack/home
cp --preserve -R /{bin,dev,pentest,root,usr,etc,lib,opt,sbin}10. Create additional directories
bt~# mkdir /mnt/backtrack/{mnt,proc,sys,tmp}11. Mount up /mnt/backtrack/dev
bt~# mount --bind /dev /mnt/backtrack/dev12. Mount slash proc!
bt~# mount -t proc proc /mnt/backtrack/proc13. Copy our Linux Kernel into place
bt~# cp /boot/vmlinuz /mnt/backtrack/boot14. Use choot to your new Backtrack 3 installation.
bt~# chroot /mnt/backtrack /bin/bash15. Edit /etc/lilo.conf
bt~# nano /etc/lilo.confand ensure both the boot and root reflect your local installation. I used options similar to the following;
boot /dev/sda16. When your changes are complete, write the file and exit nano.
root /dev/sda5
17. Install lilo on /dev/sda
bt~# lilo -v18. Almost done! Edit /etc/fstab to reflect your partition layout. It should be pretty simple to copy and modify existing entries. Check and double check. If this file is wrong, your system may not boot.
19. Once done, exit your chrooted environment
bt~# exit20. Reboot! Remove the CD from the drive. If everything has gone properly, your system should boot Backtrack 3. I had to login as root and use the startx command to start KDE.
BackTrack links
- BackTrack 4 Beta Hard Disk Install
- HowTo: Crack WPA with Backtrack 3
- HowTo: Crack WEP with BackTrack 3
- How To Install Backtrack4 Using Grub On Ubuntu
- How to install BT4 dualboot xp on your HDD without vmware or dvd disks
- Backtrack 4 – USB/Nessus Boot with Persistent Changes
- How to make Backtrack 4 boot from USB
- HowTo: Backtrack 4 (Pre Release) Hard Drive Installation
- Installing Backtrack 3 to a harddrive
- BT4 Install: Simplest way to install BackTrack4
No comments:
Post a Comment