howto - BackTrack2 Final in vmware fusion

From: Tremaine Lea (pen-test@ddiction.com)
Date: Sat Jul 21 2007 - 01:38:23 EDT


Also posted as http://backtrack.offensive-security.com/index.php?
title=Howto#Install_BackTrack_2_Final_on_OS_X_10.4.2C_VMWare_Fusion

This is the seriously simplified version. People familiar with fdisk
etc are free to modify to their personal tastes. This was initially
posted to my blog, but frankly, it would getter wider attention here ;)

This should actually work in any vmware, but I've only done it in
VMWare Fusion (OS X 10.4)

Launch vmware fusion and select a new installation. I chose Linux,
and a linux 2.6 kernel and then labelled it BackTrack2-Final. I did
this intentionally as there is a new release of BT coming out that I
also intend on installing ;)

For the sake of speed, I launched BT from the downloaded ISO rather
than cd, but either should work fine. I went with the default 8G
option but opted to have the files split into 2G each.

Log in using root and root, then startx

Open a terminal and do the following:

fdisk /dev/sda

We're going to create 3 partitions at this point. The first
partition is overly generous at 100M, but I'm funny like that. The
second is our swap partition which I generally make 1024M/1G. We
assign the remainder of the disk to eventually be used as /

Within fdisk, issue the following commands to do this.

n
p
1
<enter>
+100M
a
1
n
p
2
<enter>
+1024M
t
2
82
n
p
3
<enter>
<enter>
w

The w command within fdisk will write your changes to disk.

I'm a fan of ext3, so I then did the following:

mke2fs -j /dev/sda1
mke2fs -j /dev/sda3
mkswap /dev/sda2
swapon /dev/sda2

This will make sda1 and sda3 ext3 filesystems and enable swap on sda2.

Now cd to /tmp and do the following.

mkdir boot
mkdir bt2
mount /dev/sda1 boot
mount /dev/sda3 bt2

Ok, now launch the BT Installer from the KDE start menu, located
under System as BackTrack Installer. The place you are installing to
is /tmp/bt2 and I chose a full install since I have the space for it.

There may be a significant pause at 80%. Don't Panic. This is
normal, just wait it out. You are free to panic if it's still there
30 minutes later, but it shouldn't take that long at all.

Viola. You have a BackTrack2 install in VMWare to use and abuse to
your hearts content on your macbook :)

---
Tremaine Lea
Network Security Consultant
Intrepid ACL
"Paranoia for hire"
------------------------------------------------------------------------
This list is sponsored by: Cenzic
Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!
http://www.cenzic.com/downloads
------------------------------------------------------------------------


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:57:57 EDT