Tribal Chicken – Quick Setup Guide for Backtrack 5R3



Download 12.44 Kb.
Date01.06.2018
Size12.44 Kb.
#52425
Tribal Chicken – Quick Setup Guide for Backtrack 5R3

All steps below are brief interpretations of the Tribal Chicken Installation guide. This guide is aimed at professionals that are knowledgeable about Linux and working from the command line interface.



Ingredients for Success: What you will need to get started!

  1. A physical or virtual machine with at least an 80 GB hard drive; more drive space is preferable.

  2. A working internet connection.

  3. A copy of Ubuntu 10.04 or greater. This installation has been tested and works with versions leading up to 12.10.

    1. If Tribal Chicken is to be setup in a virtual machine; do not use the automated install when installing Ubuntu. This will cause problems with partitioning.

  4. A copy of a live CD/DVD; for instance, Backtrack 5 r3.

Setup the Environment

  1. Begin by starting the installation process for Ubuntu; during the installation process, setup the main hard drive (/dev/sda) with the following partitions and file system types:

    1. Partition /dev/sda1 – 20GB

      1. (ext4, primary partition, {“NO” mounting point}, beginning of drive)

    2. Partition /dev/sda2 – 4GB

      1. (swap, end of the drive); minimum 4 GB, recommended 2x RAM.

    3. Partition /dev/sda3 – (All remaining HD space)

      1. (ext4, primary partition, mounting point of “/”, beginning of drive)

  2. Continue with the installation of Ubuntu on /dev/sda3.

  3. After installation is complete; boot to Live CD/DVD (Backtrack) and conduct a standard installation onto /dev/sda1.

    1. Upon completion, DO NOT remove the disc from the drive as instructed on screen.

    2. Reboot to Ubuntu /dev/sda3.

**You have now created the shell/hardware environment for using uPENTu. If using a virtual machine, now would be a really great time to take a snapshot or copy the VM to a backup medium. Each system will need to be configured and the source code will need to be downloaded before new ISO can be customized.

Setting up Ubuntu

  1. Boot to Ubuntu /dev/sda3, log in and launch a console terminal.

    1. sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y install genisoimage aptitude dialog squashfs-tools gparted subversion growisofs

      **While you wait launch another console window and continue if you like; or wait.




    2. mkdir –p build/DVD64

    3. cd build/DVD64

    4. mkdir casper isolinux .disk preseed

    5. cd {to Backtrack DVD location}

    6. for name in `find -type f -print |grep -v filesystem`; do cp $name /home/{username}/build/DVD64/$name; done

    7. (Recommended for installations on virtual machines)Install vmware or virtualbox tools.

      **apt-get must be completed to continue to step 2.




  2. Download Tribal Chicken Source Code.

    1. svn checkout http://upentu.googlecode.com/svn/trunk/ ~/build

      1. Verify all files before continuing;

      2. cd build

      3. ll -h

  3. Install VirtualBox or VMWare Player (Recommended, but not required.)

  4. shutdown -r now

    1. Reboot to Backtrack (/dev/sda1)

Setting up Backtrack

  1. Boot into Backtrack /dev/sda1, log in if prompted and run startx to bring up the gui; open a console terminal.

    1. mkdir bin

    2. mount /dev/sda3 /mnt

    3. cp -R /mnt/home/{username from Ubuntu install}/build/hostfiles/btbin/* ~/bin/

    4. umount /mnt

    5. cd bin

    6. ./fix_path

    7. Cd ~

  2. Setup networking and add route if necessary.

    **At this point, you can make any customization you want to the Backtrack installation before it gets repackaged. Below are some recommendations;




  3. apt-get update && apt-get -y upgrade

  4. apt-get -y install abiword aptitude ftpd gnome-utils gqview gparted k3b kcalc lynx pdfsam smb2www tftp tsclient ubiquity ubiquity-frontend-gtk ubiquity-slideshow-unbuntu vifm yakuake

  5. Install Google’s Chrome, Virtualbox, VMplayer, Nessus, Canvas, Backtrack-scripts, Metasploit Pro, SQL Invader, Firefox & various plugins, ect.

  6. Modify the desktop and system files as you see fit.

  7. Once everything is installed/setup/configured the way you would like it to be, reboot the system and go to your Ubuntu install on /dev/sda3.

Using Tribal Chicken; Generating New ISO’s On The Fly

  1. Boot into the Ubuntu OS on /dev/sda3. Open a console window.

  2. cd build

  3. sudo ./tribal-chicken

    1. The Tribal Chicken menu will appear in the console window.

  4. Select #1 and check the configuration.

    1. Highlight any setting by using the arrow keys to scroll and select the value to change with the enter key.

    2. If your ISO is going to be over 4.3 GB in size, it’s recommended that you burn straight to disc to ease the process.

      1. Select: BURN_TO_DISC and change the value to “true.”

      2. Select: RECORDING_DEVICE and set it to the location of your CD/DVD/Blu-ray burner. (I.e., /dev/cdrw or /dev/sr0)

    3. Select: QUIT to return to the main menu.

  5. Select #2 to begin the building process. The program will close after the ISO (and disc) has been created.

    1. The ISO will be located in /home/{username}/build/


**Any errors that were detected will print out to the screen. After the program has completed, scroll up in the console window to see if there were any errors.

Testing ISO & Disc

  1. Test the ISO in a virtual machine before burning to disc. This is highly recommended as to not waste any blank physical discs.

    1. Note that if you build a 64-bit ISO in a virtual player (Virtualbox or VMplayer) then you will not be able to test it from within the Ubuntu installation. You will need to transfer the ISO off the VM and test it. A 64-bit VM cannot run inside of another 64-bit or 32-bit Virtualized OS.

  2. Test the physical disc by putting it into a computer booting to the disc or into a virtual machine that boots the physical media.

Cleaning Up For the Next ISO Build

The entire operating system from /dev/sda1 (Backtrack) is copied over to /home/{username}/build during the burning. If left on the system, disk space could run out very quickly.



  1. rm -f ~/build/*.fs

  2. rm -f ~/build/*.iso


Download 12.44 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page