To install Back|Track to your HDD.
Make sure that you have some free space on your HDD, I would probably say that at a minimum you will need 5Gb's for the install partition (to allow you to save capture files and the like) and 2 times however much RAM you have for a swap partition. So that's two partitions you need.
Boot your machine with the Back|Track CD, logon and start the KDE desktop.
So the first thing we need to do is make a primary partition and put a linux file system on it.
So we fire up “qtparted” from the Back|Track menu, under “Misc”.
Highlight the entry in the left hand pane and right click – “Make a new partition table”.
On the newly created partition in the right hand pane, right click and choose to “Create”.
Create a Primary Partition, Ext2 format with a size of your choice. Click OK.
Create a further Primary Partition, Linux-Swap format with at least twice your RAM size. Click OK.
SAVE YOUR CHANGES!!!! Allow QTParted to create the partitions and close the program.
With the disk ready to use we now need to put Back|Track on the file system. In order to do this we need to mount the virtual disk so we can copy the files to it.
So we make a mount point for the disk:
Then mount the partition:
mount /dev/hda1 /mnt/hda1
Then we copy all the system files to the new partition. This is easily done with the 'Back|Track Installer', under 'System' in the 'K' menu
If you remembered to mount your drive, the installer should auto-populate the required fields. It should read –
Source (Back Track CD) /boot
Install Back Track to /mnt/hda1
Write MBR to /dev/hda
I would recommend that instead of a LiveCD install you perform a full install as that will copy an uncompressed linux OS to your machine. This will make it quicker. The Installer may seem to hang at 11%, this is because it is copying lots of data to the HDD. Give it a minute and it should continue.
Once it has finished, close the installer and shutdown. Remove the CD and restart.
This will method will only allow you to boot into Back|Track install. If you want to dual boot a machine with either two different linux distro's or Windows and Back|Track, then you should search through the forum as I do not have time to write that right now.
If you do not like the command line logon and want the KDE desktop to start automatically. Open a bash prompt and type:
change the following line:
If you want leetmode to start automatically. From the bash prompt type:
ln -s /usr/bin/leetmode leetmode
That will create a link to leetmode in your autostart directory.
To autostart YaKuake, which will give you a terminal (bash) window at the press of the F12 button.
ln -s /opt/kde/bin/yakuake yakuake
Now when you restart the KDE, just press F12 to start a bash prompt.
If you want to stop your CDROM from ejecting on reboots and shutdowns, you need to alter the shutdown script. From the bash prompt, type:
Find the following relevant piece of code and alter it to look like the following
# eject cdrom devices
#echo "Ejecting all CDROMs..."
#list_cdrom_devices | while read DEVICE; do
# cdrecord dev=$DEVICE -eject >/dev/null 2>/dev/null
# can't use eject because it's not working with our kernel
# eject -s $DEVICE >/dev/null 2>/dev/null
#echo "It's safe to switch the computer off now"
#echo -ne "Press Enter to $command "
I also placed a shortcut to Konqueror on my shortcut panel menu (the bottom left shortcut icons).
I did this by right clicking on any of the shortcut icons,
Panel Menu, Add to Panel, Application, Internet, Web Browser (Konqueror)
You will now see a new shortcut next to the /pentest shortcut, this will start Konqueror.
Hopefully this thread will be made sticky and will answer a lot of questions before they are asked.
If I have made any errors in my thread, please post a reply and correct me, I'm only human afterall!
Explore and play with Back|Track.
Use the seach function in the forum.
At least try to find the answer before you ask a question.
To change the logon screen from:
Edit the /etc/issue file.
Thanks to Darthn for this.