Author Topic: How to install backtrack 3 onto a new hard disc drive.  (Read 397 times)

Tony

  • Administrator
  • Full Member
  • *****
  • Posts: 106
    • View Profile
How to install backtrack 3 onto a new hard disc drive.
« on: June 19, 2009, 10:19:53 PM »

                    How to install backtrack 3 onto a new hard disc drive.
Install windows xp as normal.
Format the drive as normal NTFS fat 32 do not use all of the drive for windows
leave sufficient space for another two partitions linux swap 1GB and  linux ext partition > 2.3gb.
download the windows version of netbootin from
home page   http://unetbootin.sourceforge.net/
http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe


download backtrack3 bt3 from home page  http://www.remote-exploit.org/backtrack_download.html
http://www.remote-exploit.org/cgi-bin/fileget?version=bt3-usb

Copy both the unetbootin and the backtrack 3 iso file,  (bt3final_usb.iso)
to the root of windows xp c:\
launch unetbootin

 
click on the 3 dots to browse to the iso file

 
 

click on ok
 


Wait a while the linux fbacktrack 3 is extracted from the iso file.
This will take some time !!!!!  An ideal time for a coffee break.
 
                                                   Reboot the pc.
 Windows or Unetbootin  is displayed. Select unetbootin
The GRLDR loader will start, press esc to select the option similar to the cd/dvd loader.

From linux backtrack create two partitions leaving the ntfs partition intact.
a swap partition and a linux ext2 partition
using qtparted the graphical option.

            (may take some time to recognise the hard disk drive).



 
You may have to substitute /dev/hda  (ide hard disk).  To /dev/sda  (for sata drives)

 

                                                              To view all disks
at the hash prompt # fdisk -l  (L lower case not 1)

 # fdisk -l

Disk /dev/hda: 12.0 GB, 12072517632 bytes
255 heads, 63 sectors/track, 1467 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1032     8289508+   7  HPFS/NTFS
/dev/hda2            1033        1156      996030   82  Linux swap
/dev/hda3            1157        1467     2498107+  83  Linux
bt ~ #


Alternative ways of creating an ex2 partition
Use
# cfdisk  /dev/hda
-------------------------------------------------------------------------------
                                                       
                                                         Settings for persistent changes
edit the windows c:\unetbtin\menu.Lst

Add the device for the changes  ( changes= dev/hda3/)
where dev/hda3 is the new linux ext partition this must be >
2.3 GB.
-----------------------------------------------------------------------------------------------------
a sample setup for menu.lst
-----------------------------------------------------------------------------------------------------
default 0
timeout 10

title UNetbootin
find --set-root /unetbtin/ubnkern
kernel  /unetbtin/ubnkern vga=0x317 ramdisk_size=6666 root=/dev/ram0 rw chexpand=256 load=cubez changes=/dev/hda3 autoexec=xconf;cubez;startx
initrd /unetbtin/ubninit
boot

title BT3 Graphics mode (Compiz) - Experimental
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw chexpand=256 load=cubez autoexec=xconf;cubez;startx
initrd /boot/initrd.gz
boot

title BT3 Graphics mode (Compiz Nvidia) - Experimental
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw chexpand=256 load=cubez,nvidiadriver autoexec=xconf;startnvidia.sh;startx
initrd /boot/initrd.gz
boot

title BT3 Graphics mode (KDE)
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317   ramdisk_size=6666 root=/dev/ram0 rw changes=/dev/hda3 autoexec=xconf;kdm
initrd /boot/initrd.gz
boot

title BT3 Graphics mode (Flux)
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317   ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;flux
initrd /boot/initrd.gz
boot

title BT3 Graphics mode (VESA KDE)
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw changes=/dev/hda3 autoexec=kdm
initrd /boot/initrd.gz
boot

title BT3 Text mode Frame Buffer
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw
initrd /boot/initrd.gz
boot

title Run BT3 no DHCP
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw nodhcp
initrd /boot/initrd.gz
boot

title Run BT3 no Hard Disk
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw nohd
initrd /boot/initrd.gz
boot

title Run BT3 Safe Mode
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=normal  ramdisk_size=6666
initrd /boot/initrd.gz
boot

title BT3 Graphics mode with Persistent Changes
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw changes=/changes/slaxsave.dat autoexec=xconf;kdm
initrd /boot/initrd.gz
boot

title BT3 Graphics mode, Copy To RAM
find --set-root /boot/vmlinuz
kernel /boot/vmlinuz vga=0x317  ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;kdm
initrd /boot/initrd.gz
boot

title Run Memtest utility
find --set-root /boot/mt86p
kernel /boot/mt86p
initrd /unetbtin/ubninit
boot
--------------------------------------------------------------------------------------------------------------------------------
                           Finally create a folder changes in the new linux  ext2 disk
Open conqueror storage media
 

 
Click on the new ext2 disk
Create a new folder changes

 

 

Reboot the computer.  The first time you boot windows a pop up message says
Do you want to delete unetbootin.   Reply No.

Boot backtrack3 and test that your changes are working.

Happy  computing
Tony