Wednesday, October 15, 2008

BackTrack3 How To

1. Boot the Live CD

2. Open Terminal

3. Partition the disks
a. fdisk /dev/hda # The name of the hard disk depends on your configuration
b. Press n for new partition p for Primary partition
Partition number (1-4): 1 (for first partition)
c. Starting cylinder number and Size specification (+4000M for 4Gb)
d. Create one more partition for SWAP area with Partition ID as 82

4. mkfs.ext3 /dev/sda1

5. mkswap /dev/sda2

6. swapon /dev/sda2

7. mkdir /mnt/backtrack

8. mount /dev/sda1 /mnt/backtrack/

9. mkdir /mnt/backtrack/boot

10. cp --preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,var} /mnt/backtrack/

11. mkdir /mnt/backtrack/{mnt,proc,sys,tmp}
12. mount --bind /dev/ /mnt/backtrack/dev/
13. mount -t proc proc /mnt/backtrack/proc/
14. cp /boot/vmlinuz /mnt/backtrack/boot/
15. Edit /mnt/backtrack/etc/lilo.conf file. The
lba32
boot = /dev/hda
prompt
timeout = 60
change-rules
reset
vga = 773
image = /boot/vmlinuz
root = /dev/hda1
label = Backtrack_Final
read-only

16. chroot /mnt/backtrack/ /bin/bash

17. lilo -v
And if you have another OS running with grub then you have to install either grub to BackTrack or add lilo to that OS.

18. exit

19. reboot

10. Remove the CD

20. Enjoy H@CK!NG

No comments:

Post a Comment