BT 3 DVD Installation On HDD & Vmware with Dual Boot

Posted: Sunday,July 6, 2008 in Wifi-Hacking
Tags: , , , , ,

after several days study and installation I made final documentation of comprehensive installation of BackTrack 3 DVD installation and Conflict free dual booting.I assume you have already made DVD ISO using make_iso.bat or using linux shell script file and burned the DVD ISO on DVD I am already having separate partition for linux which I created previously having size 4.8GB.you can provide free space for partition using any windows utility like paragon partition manager.I proceed further-

BackTrack 3 DVD Installation On Hard-Disk

boot BackTrack 3 using ISO DVD

First after booting KDE 3.5
click KDE menu
System
System Information
Storage Device
here you will get list of all mounted devices
for a hazel free installation it is necessary that you unmount all the physical partitions because by default after booting using live DVD backtrack will mount all partitions.

Choose partition
right click
unmount
(repeat steps for all physical mounted partitions)

For E.G my Hard-Disk Partition Table Is:

Now you got a rough idea which all partitions are to be unmounted(e.g.hdc1,hda7,hda5,hda6,hda1,hdc5)

hda-first hard-disk
hdc-second hard-disk

I am assuming you are using hdc

open xterm
bt~#fdisk /dev/hdc

p (view partition table)

n (create new partition at this point if you getting error no free sectors delete one of partition(warning:all data would be lost on that partition))

p (primary)

1 (partition 1)

def(enter)

+4200M (size for partition one.its root.storing files,downloaded data)

n (new partition)

p (primary)

2

def.(enter)

+64M (it would be our boot partition)

n (new partition)

p (primary)

3

def.(enter)

+522M (swap partition,double the amount of system RAM)

p (newly created partition table)

t (table for changing system partition id)

3 (that is our swap partition.def set to 83)

82 (making hdc3 partition as swap by changing its id from 83 to 82)

p (check partition table)

w (save changes)
(at this point if you getting warning:error 16 Device or Resource busy.new partition table would come into effect after next restart then REBOOT.)

bt~#reboot (fdisk recommend this)

bt~#mke2fs /dev/hdc2
bt~#mkswap /dev/hdc3
bt~#swapon /dev/hdc3
bt~#mkreiserfs /dev/hdc1
choose (y/n)y
bt~#mkdir /mnt/backtrack
bt~#mount /dev/hdc1 /mnt/backtrack
bt~#mkdir /mnt/backtrack/boot
bt~#mount /dev/hdc2 /mnt/backtrack/boot
bt~#cp –preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,sr v,var} /mnt/backtrack
bt~#mkdir /mnt/backtrack{mnt,proc,sys,tmp}
bt~#mount –bind /dev /mnt/backtrack/dev
bt~#mount -t proc proc /mnt/backtrack/proc
(at this point you can get error about directory not exist,may be its a bug that even after running aboce mkdir cmd the directory has not been created.go to backtrack directory and make directories by mkdir{mnt,proc,sys,tmp} here you are)
bt~#cp /boot/vmlinuz /mnt/backtrack/boot
bt~#chroot /mnt/backtrack /bin/bash
bt~#nano /etc/lilo.conf

Configure LILO(find & change following configs)
boot = /dev/hda (for knowing which is your boot-disk use fdisk /dev/devicename(e.g./dev/hda or /dev/hdc the one which showing an start * is your boot partition)

timeout=1200 (timeout for LILO boot menu option)

#linux config …
image = /boot/vmlinuz
root = /dev/hdc1 (this is your root partition,the biggest one you created)
label= BaCkTrAcK3(I33t)
read-only
#
other = /dev/hda1
label = WindowsOs(n00b) (here comes ms n00b O.S full with bugs lol)
table = /dev/hda (disk where your Microsoft OS Resides)

save using ctrl + o & press enter
come out using ctrl + x
bt~/#cd \
bt~#lilo -v (remember its very important step to tell lilo which operating system is to be add in lilo boot loader list.if it goes well you have successfully installed the BackTrack 3 DVD version on your hard-disk along with Microsoft OS Dual Booting)
bt~#init 6
Installation of BT 3 on Vmware
I got tutorial on BT3 installation on Vmware.Thanks to respective member.I am modifying it a little to make more comprehensive

tested using Vmware workstation 6.0.0 build-45371
guest os-Linux
version-Other linux 2.6 kernel
networking-choose bridged or NAT
Disk capacity-recommended 7-8GB
now edit settings for this VM
memory-128(if system RAM=256MB)
192/256(if system RAM=512MB)
cdrom-if using ISO DVD using Hard-disk.choose location else default DVD ISO.

boot BT3
open xterm
bt~#fdisk /dev/sda
n
p
1
def(enter)
+6400M
n
p
2
def.(enter)
def(enter)
w

(at this point if you getting warning:error 16 Device or Resource busy.new partition table would come into effect after next restart then REBOOT.)
bt~#init 6
bt~#mkfs.ext3 /dev/sda1
bt~#mkswap /dev/sda2
bt~#mkdir /mnt/backtrack
bt~#mount /dev/sda1 /mnt/backtrack
bt~#exit

goto KDE menu->backtrack->Install Backtrack(Not tested)
Source(Backtrack CD):
Install backtrack to:/mnt/backtrack
Write new MBR(lilo.mbr)to:/dev/sda
Installation method:Real
Uncheck-Restore orignal MBR after lilo (its very imp to UNCHECK this else your whole hard work will go in vain)
Press Install
hang out outside thinking how many tools your are going to work over on BT3 for about 30-40 mins.
after installation
Reboot using KDE menu->logoff->Reboot

About these ads
Comments
  1. blackie says:

    OK, I’m going to try it b/c the auto install is not available from Bughira and I’m not following re’s clearly…

Leave a Reply

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