howto - BackTrack2 Final in vmware fusion



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
------------------------------------------------------------------------



Relevant Pages

  • Re: multiple boot problem
    ... the process of installing Windows 98. ... which comes with W98 CDROM may work but I am not sure. ... Please note that the partition to be set active is the one ... executing FDISK /BOOT will ...
    (microsoft.public.windowsxp.general)
  • Re: [SLE] partitioning tools
    ... of FDisk which is easy to use. ... Windows partition it has a built in partition manager that allowed me to ... provision as I already had the disk split when installing SUSI. ...
    (SuSE)
  • Re: Linux wont read W2000 partition table
    ... >>I was using fdisk to make a 2GB FAT partition before installing. ... I was using fdisk at the very beginning, before installing my first os, w2k. ... had no problems with W2K's Disk Management. ...
    (alt.os.linux)
  • Re: GRUB discussion -- virgin disks ?
    ... or after installing a new harddisk. ... 'fdisk', 'parted' or 'mkfs' are used as part of the installation. ... MBR is to figure out what happens with a virgin hard drive. ... Going up an abstraction layer obfuscates, not clarifies, ...
    (Fedora)
  • Re: Windows XP install error
    ... Tony, use Fdisk to delete all the partitions except the one with Data on ... installing XP on barebones. ...
    (microsoft.public.windowsxp.setup_deployment)