Assumptions: Hard disk = IDE(hdX); Primary Master (hda); No pre-existing partitions
fdisk /dev/hda
make:
/dev/hda1 -> / 83
/dev/hda2 -> swap 82
mkswap /dev/hda2
swapon /dev/hda2
mkfs.ext3 /dev/hda1
mkdir /mnt/bt3
mount /dev/hda3 /mnt/bt3
cp --preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,var} /mnt/bt3/
mkdir /mnt/bt3/{mnt,proc,sys,tmp}
mount --bind /dev/ /mnt/bt3/dev/
mount -t proc proc /mnt/bt3/proc/
chroot /mnt/bt3
vi /etc/lilo.conf
change boot = /dev/hda
change vga = normal
change image = /boot/vmlinuz
change root = current
change label = "BackTrack3"
save and quit
lilo -v
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment