Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 55 guests online
You are here:
Home
Resources
Tutorials
BackTrack 2 HD Install
EH-Net
May 24, 2013, 11:25:53 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Resources
>
Tutorials
(Moderator:
don
) >
BackTrack 2 HD Install
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: BackTrack 2 HD Install (Read 46173 times)
0 Members and 1 Guest are viewing this topic.
BillV
Hero Member
Offline
Posts: 1892
BackTrack 2 HD Install
«
on:
August 21, 2007, 11:12:29 AM »
Alright, since this was brought up in another thread, and since it seems to be asked all over the place, I figured I'd post some instructions that work. I'll keep it pretty simple. I just downloaded the ISO of BT2 last night and installed it in VMware following these instructions which I got help with from muts and/or ziplock a while back.
Keep in mind, VMware deafults to SCSI drives, so if you're using VMware (and you don't do a custom creation) you should use 'sda.' If you have an IDE HD, you use 'hda.' I'm going to post one copy of the instructions, and I'll include what you need to do for dual boot (but who does that anymore anyway?).
In the instructions, I'll be using sda and installing BT as the only OS in a VM. All commands will be
italics
and dual-boot notices will be
bold
.
BackTrack 2 HD Installation Instructions:
Quote
Step 1: Boot Backtrack
Step 2: Login (root/toor) and run
startx
Step 3: open a terminal and run
mount
to see if your HD is currently mounted (if so, run the
umount <drive>
command to unmount the drive)
Dual Step:
run
qtparted
Dual Step:
select your HD, resize current partition to make space for BT (if not already partitioned, if so skip this step)
Dual Step:
File > Commit > OK
Step 4: run
fdisk /dev/sda
Step 5: Create Partitions:
p
, enter
n
, enter
p
, enter
1
, enter
2 for dual-boot
'default', enter
+64M
, enter (this is the size of your boot partition, adjust as you want
n
, enter
p
, enter
2
, enter
3 for dual-boot
'default', enter
+512M
, enter (this is your swap partition, typically double your RAM)
n
, enter
p
, enter
3
, enter
4 for dual-boot (may auto go to this one)
'default', enter
'default', enter (the rest is alloted to everything else
Step 6:
p
, enter (display partition table to make sure correct), should be:
sda1 = boot
sda2 for dual-boot
sda2 = swap
sda3 for dual-boot
sda3 = main
sda4 for dual-boot
Step 7: Change sda2 to swap:
sda3 for dual-boot
t
, enter
2
, enter
3 for dual-boot
82
, enter
p
, enter (verify changes are correct)
Step 8: Write partitions,
w
, enter
Step 9: Create file systems (keep in mind, you can use the ones you prefer, this is only an example):
mke2fs /dev/sda1
, enter
sda2 for dual
mkswap /dev/sda2
, enter
sda3 for dual
swapon /dev/sda2
, enter
sda3 for dual
mkreiserfs /dev/sda3
, enter
sda4 for dual
Step 10: Create and mount directories:
mkdir /mnt/backtrack
, enter
mount /dev/sda3 /mnt/backtrack
, enter
sda4 for dual
mkdir /mnt/backtrack/boot
, enter
mount /dev/sda1 /mnt/backtrack/boot
, enter
sda2 for dual
Step 11: Copy files over (this replaces the BT Installer; which wasn't working and why doing it manually is needed):
cp --preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,var} /mnt/backtrack
, enter (this command takes some time to run)
mkdir /mnt/backtrack/{mnt,proc,sys,tmp}
, enter
mount --bind /dev/ /mnt/backtrack/dev/
, enter
mount -t proc proc /mnt/backtrack/proc/
, enter
cp /boot/vmlinuz /mnt/backtrack/boot
, enter
chroot /mnt/backtrack /bin/bash
, enter (may receive '/dev/pts/1: no such file or directory' error, ignore it)
Step 12: Configure Lilo:
nano /etc/lilo.conf
, enter
remove all [video] comments including the uncommented 773. but keep vga=791 and uncomment it
change "boot" = "/dev/sda"
change "root" = "/dev/sda3"
sda4 for dual
comment out the "message" line near the top
If you are not running dual-boot, delete the Windows boot options and leave only linux
save and exit
lilo -v
, enter
Step 13: Done! Exit chroot, exit terminal, logoff and reboot
«
Last Edit: August 25, 2007, 11:22:26 AM by BillV
»
Logged
oneeyedcarmen
Full Member
Offline
Posts: 233
Klaatu, Borada,Necktie?
Re: BackTrack 2 HD Install
«
Reply #1 on:
August 21, 2007, 11:20:24 AM »
Fantastic! Thanks, Bill.
-Brian
Logged
Reluctant CISSP, Certified ASS
boney
Jr. Member
Offline
Posts: 61
Re: BackTrack 2 HD Install
«
Reply #2 on:
August 21, 2007, 12:33:40 PM »
Really helpful.
Thanks !
Logged
C|EH
All my life I wanted a computer...
Now I want my life back !
Manu Zacharia (-M-)
Sr. Member
Offline
Posts: 393
c0c0n Hacking Conference - where hackers unite
Re: BackTrack 2 HD Install
«
Reply #3 on:
August 21, 2007, 07:25:33 PM »
Thank you for the wonderful tutorial. I am looking for some tutorial on Installation of Wireless Drivers - my RH 7 installation and BT 2 installation does not detect my wireless card for nc6400.
Logged
Manu Zacharia
MVP (Enterprise Security), ISLA-2010 (ISC)², C|EH, C|HFI, CCNA, MCP,
Certified ISO 27001:2005 Lead Auditor
There are 3 roads to spoil; women, gambling & hacking. The most pleasant with women, the quickest with gambling, but the surest is hacking - c0c0n
BillV
Hero Member
Offline
Posts: 1892
Re: BackTrack 2 HD Install
«
Reply #4 on:
August 21, 2007, 08:08:00 PM »
Quote from: Manu Zacharia - aka - The Morpheus on August 21, 2007, 07:25:33 PM
Thank you for the wonderful tutorial. I am looking for some tutorial on Installation of Wireless Drivers - my RH 7 installation and BT 2 installation does not detect my wireless card for nc6400.
By nc6400, I'd guess you're talking about the HP Compaq nc6400? We use HP's at work, I have an nc6220. These HP's use an intel wireless adapter that's built-in. Is that the adapter you're trying to use? I know it won't work for BT2, I'm not sure about RH (though I'd guess probably not). As far as I know, there is no work around to use that adapter. You're best off buying a separate wireless PC card. A lot of people here have recommended using the Ubiquiti card from wlanparts.com.
Logged
slag
Newbie
Offline
Posts: 5
Re: BackTrack 2 HD Install
«
Reply #5 on:
August 24, 2007, 07:12:41 PM »
I was following along great until the very end... when I typed lilo -v I get the following error:
Fatal: First sector of /dev/hda1 doesn't have a valid boot signature
I know I designated it as boot when I ran fdisk, so I'm not sure what that means.
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: BackTrack 2 HD Install
«
Reply #6 on:
August 25, 2007, 11:23:44 AM »
slag,
I saw your other post that you fixed the problem. I apologize, I forgot to add that into my instructions. That's been fixed, thanks.
Logged
slag
Newbie
Offline
Posts: 5
Re: BackTrack 2 HD Install
«
Reply #7 on:
August 25, 2007, 12:41:21 PM »
No big deal; if it isn't working, you can't really break it. I just messed around with a ton of different stuff until I found something that worked. I do still have another question though. I'm running backtrack on an HP zv6000, and the only way I can get it to boot all the way is to disable acpi by adding the acpi=off line at boot. Is there a way to set that option as part of the default so I can disable the prompt and timeout and just boot straight into backtrack?
Lesser hassle, disabling that gives me no way to check my battery level, any suggestions on a different work around or something else I could use?
Logged
halcyon
Newbie
Offline
Posts: 1
Re: BackTrack 2 HD Install
«
Reply #8 on:
August 28, 2007, 09:21:10 PM »
I'm just simply trying to install bt2 to the system disk.
I've verified lilo.conf and the /boot partition.
I've used the installer and manually copied the directories over as instructed, but no dice.
When rebooting lilo seems to hang. I just get "Loading BT....."
Nothing else.
Any suggestions would be greatly appreciated.
thx
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: BackTrack 2 HD Install
«
Reply #9 on:
August 29, 2007, 02:21:16 PM »
slag,
I'm not too sure on that one, you may want to check the remote-exploit.org forums.
halcyon,
Did you use both the install AND manually copy over the files? If you follow the instructions I've posted, you don't use the installer. Are you sure you don't have a lilo error?
Here's my lilo file for my VM with BT2 by itself:
Quote
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
# message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga=791
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = linux
read-only
# Linux bootable partition config ends
And here's my lilo file for dual-boot:
Quote
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
# message = /boot/boot_message.txt
prompt
timeout = 1200
change-rules
reset
vga=791
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda4
label = Linux
read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
Logged
LSOChris
Guest
Re: BackTrack 2 HD Install
«
Reply #10 on:
August 29, 2007, 03:21:49 PM »
not to be too jerky but you could just try building your own "hack" distro on slackware/gentoo/FC/whatever. you'll probably get more out of it than screwing with BT for days.
Logged
slackram
Guest
Re: BackTrack 2 HD Install
«
Reply #11 on:
April 17, 2008, 03:51:04 PM »
Hey there, i hope you don't mind replying here after 120 days from the last one but i really need to get some help with something. I have done by letter everything explained here and when rebooting the system (without the cd) i am having an error mssg
"GRUB Loading stage1.5.
GRUB loading, please wait...
Error15
_ "
Any idea of this.?
Thanks in advance ...
and sorry for bothering you with such a problem.
Cheers
Logged
Andrew Waite
Hero Member
Offline
Posts: 928
Re: BackTrack 2 HD Install
«
Reply #12 on:
April 18, 2008, 04:25:01 AM »
Slackram,
looks like a Grub issue
try booting off a live CD (like the Backtrack CD you've dropped on the harddrive) and edit the Grub configuration (Google is your friend).
Alternatively try the install again, I've come a across this before and a second install fixed it without issue, don't know why.
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
LSOChris
Guest
Re: BackTrack 2 HD Install
«
Reply #13 on:
April 18, 2008, 06:34:30 AM »
to help you help yourself. what does google say a grub error 15 is?
Logged
slackram
Guest
Re: BackTrack 2 HD Install
«
Reply #14 on:
April 25, 2008, 04:53:39 PM »
Quote from: slackram on April 17, 2008, 03:51:04 PM
Hey there, i hope you don't mind replying here after 120 days from the last one but i really need to get some help with something. I have done by letter everything explained here and when rebooting the system (without the cd) i am having an error mssg
"GRUB Loading stage1.5.
GRUB loading, please wait...
Error15
_ "
Any idea of this.?
Thanks in advance ...
and sorry for bothering you with such a problem.
Cheers
It has been a while since i asked help for this issue.
I have been solved that out, and that's why i want to share it with all theese who might step on the same problem.
At first i would like to say that before i asked your help i tried to gather all avalliable infos reqarding that issue. Google offered me a lot of infos but none helped.
So, after many tests, (edits of Grub Loader configuration, installation of other open source boot managers, formating & re formating) i decided to install Win XP on this computer (a laptop which was running with various Linux distroes for the last 5 years).
As we know Windows are very "friendly" with other OS we might have installed and they just want to "eat" every single availlable space point on our HDD's errasing everything else we have on board.
I just installed the xp's and then i tried once again to install the BT2 on that laptop.
It just worked out...
(I am delayed on replying once again because i was on a business task on an oil drill in Nigeria)
cheers and have fun...
Logged
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(29) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.