Vil i denne posten ta for meg en enkel installasjon av den slackware-baserte distroen BackTrack, en distro laget med tanke på å teste sikkerhet i nettverk og forskjellige server-system. Det jeg liker best ved den, og som gjør at jeg faktisk foretrekker denne fremfor vanlig Slackware, er mange:
- LiveCD – 700MB – mot slackware 4.5GB DVD
- Ren CD-HDD copy install på 8 min
- Customalisert bootscreens og terminal
- Støttede drivere for rt2570 brikke settet (packet-injection for aireplay bla.a)
- Meget kompakte med fleksible contextmenyer
- Stor programvarepakke
- Enkel installasjon av MS-baserte fonts
- KDE ftw såklart
Installasjon
Steg 2: Login (root/toor) and kjør startx
Steg 3: open a terminal and run mount to see if your HD is currently mounted (if so, run the umount
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 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
Leave a Reply
You must be logged in to post a comment.