john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Linux backtrack 3 manual install from livecd

backtrack-3-manual-install-from-livecd

fdisk /dev/hda

delete all partitions

create 2 new partitions: first primary: most of hd
second primary = swap = about 1.5 times RAM

mkfs.ext -I 128 /dev/hda1

mkswp /dev/hda2
swapon


May have to reboot (as CD may have mounted kernal with one idea of the HardDrive...)

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

(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


  • « Window manager default change
  • Linux story win98 laptop knoppix 2 parted july 2007 »

Published

Feb 27, 2010

Category

linux

~205 words

Tags

  • 3 16
  • backtrack 3
  • from 24
  • install 58
  • installs 41
  • linux 249
  • livecd 1
  • manual 3