BT4Install: Simplest way to install BackTrack4
Author: bughira | Filed under: HOWTO's, Information Security, Security Tools, Uncategorized, VMWareRemote-exploit and BackTrack team did public Beta release of BackTrack 4 in second week 0f February. As soon as this news came out, all sorts of people were on its download spree.
Within 5 days, download count reached to 49,000+ for ISO and 17,000+ for VMWare Image. I too got its copy on very first day ![]()
As BT4 is still in its Beta phase, lot of packages are missing especially VoIP section and Services section. So you will need to manually start and control the services like sshd, vnc etc.
One more prominent change you will observe is DHCP configurations and dhcp client (dhcpcd) are deliberately removed from startup script. BackTrack 4 starts in runlevel 2 where networking is disabled. Anyways this post is not about the BT3 and BT4 comparison, lets get on track.
From my previous post about automated HDD installation of BackTrack3, i got comment and emails asking for BT4 Installer support as BT4 Beta does not have installer in it yet.
My old BT3Install.tar installer does not work on BT4 due to changes made by BackTrack team
. They introduces a new shell called “Debian Almquist shell (Dash)” and /bin/sh is now a symlink to /bin/dash. It looks like “dash” shell does not support most of the semantics of legacy bash shell. As per wikipedia – Dash is a direct descendant of the NetBSD version of the Almquist Shell (ash)

I have modified the original BT3Install install script and done some reported bug fixes in this release of BT4Install. I have tested it under my VMWare and its working fine. This install script is still not generic, i am planning to add pre-requisite checks before starting the installation wizard in near future. Currently slammed with lot of other intersting stuffs which i will talk about soon..

Following are some of the screen shots of BT4Install in action. Please feel free to let me know if you need BT4Install, i will be more than happy to email it. I have tried not to repeat whole installation procedure in this post. However, interested people or newbies might want to go through BT3Install post.

-
Some important points to keep in mind.
Installing BackTrack needs at least 4 GB of free space on Hard drive. BT4 Beta has foot print of 856 MB without having voip packages. It is definitely going to touch 1 GB mark in near future. So Make sure you have enough hard disk space before starting installation.

Express Install is also supported and tested. I will recommend using Express Install only when you have taken backup of important stuffs from existing OS installation and want to install BT4 by cleaning all of its traces.
Manual mode installation assumes partitions to be already created before proceeding.
Express mode install does not support installation on clean and unpartitioned hard disk. Following are some of the screenshots of Express Mode installation in action.
Enjoy BackTrack 4 and stay safe.
Reference:

Download BT4Install.tar
File Size: 20 KB- MD5 Hash: 6c102b7539d102e98b63a5540116f136
- BT4Install also works with BT3
- Feel free to comment on the issues faced while installation.
Tags: Back Track Installer, BackTrack4, BT4 Install, HDD install, Install BackTrack on HDD

March 10th, 2009 at 6:34 pm
[...] 03.10 BT4Install: Simplest way to install BackTrack4 [...]
March 11th, 2009 at 11:09 am
This is exactly i was lookin for..can you email me
March 11th, 2009 at 7:44 pm
Please let me know if you encounter any issues with install program…
thanks
March 14th, 2009 at 2:18 pm
[...] BT4Install: Simplest way to install BackTrack4 [...]
March 22nd, 2009 at 5:54 am
Hey, nice job.. I would like to have a look at your script, as I am trying to install bt4 in HD (prior trial to SD Card instal) myself.
March 25th, 2009 at 6:26 pm
hi mr i wonder if its posible for you to send me BT3Install. or BT4Install i becuse i wil try to boot from hard drive
sory for my bad english have i nice day
March 27th, 2009 at 7:37 pm
hey Bo$$ put me in the list i need that script 2 : )
March 29th, 2009 at 2:05 am
Hello, may I get this script too? tia
March 30th, 2009 at 6:22 pm
Hi.
Seems awsome!
May I get this script too?
Thanks in advance.
April 1st, 2009 at 5:32 pm
i am confused with all the write ups out there. i have thrree partitions set up 1st boot 2nd swap 3rd bt4, wwhat do i do after that? will this take care of the files.
April 1st, 2009 at 5:51 pm
ok You can now use the Express Install feature from BT4 Installer. I am emailing you the installer.
It will do necessary changes and install BT4 on ur hard drive. Its not mandatory to create 3 partitions. BT4 Installer script supports only 2 partitions. As our boot partition will not grow beyond 20 MB i prefer to have only 2 partitions – Native and Swap.
April 2nd, 2009 at 1:58 am
Exactly what im looking for can you email it to me please?
It took me hours, trying to do it myself and its still not working…
With this script you can save things on the HDD?
Can i use an SD-card instead of a hdd?
Thanks for your Work!
April 2nd, 2009 at 6:14 pm
With the script you can install BT on HDD which will allow you to save things
I have not tested with SD Card yet. Why don’t you test it and let community know about it?
April 2nd, 2009 at 8:34 pm
nice job can you please send me the bt4 install script
thanks
April 8th, 2009 at 11:58 pm
Hey bughira,
Your script looks very nice. I have been busting my ass for the last few hours trying to install BT4 on VMWare. It would be greatly appreciated if I could get the script from you, or anyone else who has the install script.
Email: jmelven1@gmail.com
Thank you very much =)
April 18th, 2009 at 12:38 am
could you please e-mail me the script? im having problems with the manual install lol thx
April 19th, 2009 at 5:57 am
Might I be able to get a copy of that script. It would be much appreciated. Thank you.
April 19th, 2009 at 6:28 am
Please add me in the list, I need this script.
Thanks good work!!
April 28th, 2009 at 12:59 am
Hi Bughira,
I’d would be nice if you could also send me your script, after that the nice apt-get will update to the non beta version wenn it comes
cu
Best wishes from Barcelona!
May 2nd, 2009 at 8:37 pm
Hi Bughira,
Can you please send me a copy of your script?
Thanx and hope to hear from you very soon.
May 4th, 2009 at 3:46 am
Can you send it to me also?Thanks!
May 8th, 2009 at 10:30 am
Bughira,
I would love to have a copy of this installer. I beating my head trying to to tri-boot a test machine…
Thanks!
May 11th, 2009 at 10:22 am
i lve to have this installer …
this is the fastest way ^^
May 12th, 2009 at 10:39 pm
loving your blog– you’re very talented!
i would love to try out either BT3 or 4 installers. still running live…
email or link please?
C
May 13th, 2009 at 2:09 am
Please send me the installer to try out, ill give ya feedback as soon as im done, thanks ever so much, Jacob
May 15th, 2009 at 2:46 am
can u email me bt4 installer
May 17th, 2009 at 9:49 pm
Hi, This script to install BT4, is just what I´m looking for – I like to install it on my notebook. Can You email me it? Thank you very much, for your good work:-)
May 22nd, 2009 at 2:22 am
Hi,
Is there a download for your installer script, or could you mail it to me please?
Thanks.
May 25th, 2009 at 6:16 pm
I`d like to test this please.
Thanks.
Feedback to follow
May 26th, 2009 at 9:52 pm
Hi.. i am newbie and i want to try it. please send me the script. thanx..
May 27th, 2009 at 1:56 am
Could I please try your program
Thanks
May 27th, 2009 at 4:16 am
Can I get a copy of that script?
BTW will this work with VirtualBox?
I did a regular HD install but cant seem to get LILO right.
May 27th, 2009 at 7:29 am
This is me asking for a copy of this installer. pretty please with a cherry on top
June 3rd, 2009 at 9:26 pm
Hey bughira, could i please get a copy of your script to test around with it _ )
June 8th, 2009 at 11:35 am
can you send me the bt3 installer?
June 20th, 2009 at 5:40 am
Hey,
I was wondering if I could get a copy of the Bt3 Installer? Sadly my netbook doesn’t have enough room for a bt4 so I still need bt3.
July 3rd, 2009 at 5:53 pm
hi man,
can you send me your script, thanks.
July 9th, 2009 at 10:22 pm
hi would love to test out both the TB3 and 4 install scripts on this spare lappy i have. could you email me the scripts pls or get me on msn on the same email addy pls
thanks
dave
July 13th, 2009 at 8:21 pm
Hi,
Could you email me the installers for BT3 and BT4 please. And thanks for doing the work for us
July 21st, 2009 at 1:31 am
Hello Bughira,
Nice job you did there…. Could you please send me the script you made for the install of BT4?
Thanks a bunch, man!
Alge
July 24th, 2009 at 3:35 pm
hey ,am trying to install a bt4 from a live bt3 cd ,thought maybe u can give a hand by sending me the bt4 installer,and thx anyway,u got a got blog ere
July 27th, 2009 at 8:19 pm
Hey Bughira, I’d like to share this installation too Bt4 and Bt3
With my all respect and regards
Edzoss \m/
August 7th, 2009 at 8:49 pm
Bughira
Your the man, this looks awsome and chance you could pass the script my way?
August 13th, 2009 at 5:37 am
You can def email me.
thanks
August 16th, 2009 at 6:16 am
Bughira….Ive been checking out your site. Im very impressed
good work and very inspiring. But the reason for the post, i keep getting this ;
root@bt:/etc# lilo -v
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007, and compiled at 14:08:06 on May 15 2008
Ubuntu
Warning: LBA32 addressing assumed
Reading boot sector from /dev/hda
Using MENU secondary loader
Calling map_insert_data
Boot image: /boot/vmlinuz
Fatal: open /boot/vmlinuz: No such file or directory
Any help would be appreciated.
August 17th, 2009 at 5:24 pm
Hi, thanks for the post.
Did you do “chroot ” before executing lilo -v? After complete installation, installer gives you pop up asking user to change root in installed directory and then install boot loader. If you had chroot’ed but still getting above error try to manually copy /boot directory inside installation directory, then chroot in installation directory and install boot loader.
Let me know if you still face issues.
August 18th, 2009 at 3:15 am
Bughira,
Thanks man, i checked the /mnt/BT/boot folder was empty. Then chroot to it again. Ran lilo -v and it failed again same problem. But i tooka look in the folder and noticed that the linuxv image was named including the version. So i removed that and it worked
. But even tho now i can boot without the CD. I cant “startx” i get this;
root@bt#/ startx
mktemp: cannot create temp file /tmp/serverauth.xozHMu5766: Read-only file system
usr/bin/startx: line 58 cannot create temp file for here document: Read only file system…….etc etc
Anymore help would be very much appreciated. Thanks again.
August 24th, 2009 at 6:40 am
I have spent many many long nights getting to this point. could you email me both the bt3 and the
bt4 beta software loader. I think this has been a hard thing for me but I never give up. Any advice you can provide would be greatly appreciated. I have learned that one must, for the most part, move on with or without help. Thank you so much. If you would ever have the time to talk to me, my number is 727-436-1421 am getting a little old now and stated with computers in 1956 at Princeton University research and I the love of my live is technology. Thank You! Billy
August 24th, 2009 at 11:12 am
It seems your root file system is mounted as Read Only. Check entry in /etc/fstab has rw parameter defined for root file system.
you can also try fsck -P command. Check man page for more details.
I hope it will work for you
September 4th, 2009 at 9:01 am
Excelent blog– I would to try out the bt4 installer. still running live…can you please email it or link it?
September 7th, 2009 at 2:44 pm
hi the instruktion here is very god.
i found a install instruktion too.
look at this site:
http://backtrack.1rss.de
i hope you like this.
cu
September 23rd, 2009 at 11:58 pm
Can’t we use “ubiquity” to install it to HD?
September 24th, 2009 at 12:12 pm
Yes we can..ubiquity was not available till BT4 Beta i guess..i wrote this script long back..and thought of sharing it..ubiquity is now ofcourse a better option as an installer
November 5th, 2009 at 9:15 am
Could you email me the script as well, I can’t seem to get anything to work
November 9th, 2009 at 1:34 pm
Hello,
Can you please send me the script for BT4 so that i can install it on my HD. Also please include some documentation on how to start and how to end
Thank you.
George
November 17th, 2009 at 11:13 pm
Could I please also have the bt4 install script and the doc as well. Thank-you so much!!!
Cheers… Arif