home | advisories | code | downloads | robanukah | contact

.: How to install BackTrack 3 to the hard disk of a VMWare guest operating system

  1. Download the BackTrack3 ISO image.
  2. Create a new VMWare guest. Settings:
    1. Other Linux 2.6.x kernel
    2. Disk space: 8GB SCSI
    3. CD-ROM drive: set to the BT3 ISO image downloaded
    4. Network: Either NAT or Bridged
  3. Boot the guest.
  4. On the command line, use fdisk to create partitions. Note that this will destroy everything on the virtual disk, so make sure you don't need to save anything:

    #fdisk /dev/sda
    n
    p
    1
    <enter>
    +7512M
    n
    p
    2
    <enter>
    +512M
    w

  5. You can use fdisk to confirm the changes:

    # fdisk -l /dev/sda

  6. Now we need to format the partitions:

    # mkfs.ext2 /dev/sda1
    # mkswap /dev/sda2
  7. Then mount the new filesystem:

    # mkdir /mnt/bt3
    # mount /dev/sda1 /mnt/bt3

  8. Then we need to install BT3 on to the HDD. Go to:

    Start menu -> BackTrack -> Install BackTrack (Not tested!)

  9. On the installer screen, set the following options. Note that this will remove any MBR records, so don't use it in a dual-boot VM environment:

    Source: <leave as is, should be where the ISO is mounted as a live CD)
    Install BackTrack to: /mnt/bt3
    Write new MBR to: /dev/sda
    Installation method: Real
    Restore original MBR after lilo: UNTICKED!!!

  10. Click install. It will take a few minutes.
  11. Once complete, use VMWare to remove the ISO CD-ROM from the drive and reboot.
  12. You should be greeted with the lilo boot manager. If this is not the case, you may have missed something or are using different devices. I am using SCSI drive 1 (sda).
  13. Hmm ignore below - BT3 is missing kernel source etc.. need to update this later :)
    ##############
  14. Don't forget to install VMWare client tools to speed the guest up.

    VMware console -> VM -> Install VMWare tools

  15. The OS should mount the VMware tools "CD-ROM".
    cp /mnt/hdc/VMWare*.tgz /tmp/
    cd /tmp
    tar xvhf VMWare*
    cd vmware-tools-distrib
    perl vmware-install.pl

  16. .. and follow the prompts.

Top of Page.