Doctermatrix,
login as root startx(open a terminal window)mount (to see what partitions we have e.g. /dev/hda1 on /mnt/hda1 type ntfs (ro))umount /mnt/hda1/qtparted (to resize partitions to shrink ntfs partition down to ~3.77GB leave 4.23G for BT2)exit from qtparted (after committing changes to disc)use fdisk to create three new partitions as follows: fdisk /dev/hda p (to show current partitions) n p 2(press return) +64M (for /boot) n p 3 (press return) +1024M (for swap) n p 4 (press return) (press return) uses remaining space for the fourth partition t 3 82 (to change the type of partition 3 to that of a swap partition) w (to write changes to the disc). (NOTE: if you get any sort of error message here it is very important to reboot and then continue from here) (You now need to format your three partitions) mke2fs /dev/hda2 mkswap /dev/hda3 swapon /dev/hda3 mkreiserfs /dev/hda4 (note: the author of the Movie likes to use reiserfs, but you can use whichever you prefer)y (Now you can start installing bt2) mkdir /mnt/backtrack mount /dev/hda4 /mnt/backtrack/ mkdir /mnt/backtrack/boot/ mount /dev/hda2 /mnt/backtrack/boot/ cp --preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,var} /mnt/backtrack/ (Note: this has to copy 600+MB and takes a little while, so perhaps have a coffee) mkdir /mnt/backtrack/{mnt,proc,sys,tmp} mount --bind /dev/ /mnt/backtrack/dev/ mount -t proc proc /mnt/backtrack/proc/ cp /boot/vmlinuz /mnt/backtrack/boot/ (command changed to suit new BT 2.0 file location) chroot /mnt/backtrack/ /bin/bash (returned /dev/pts/0: no such file or directory) (Now you need to alter lilo.conf and write it to the mbr) nano /etc/lilo.conf (you can use your favorite editor to do this) (strip out all comments for clarity, and end up with lilo.conf as follows:) lba32 boot /dev/hda #message = /boot/boot_message.txt (we may not have this file) prompt timeout=1200 change-rules reset vga=791 #linux bootable partition config begins image = /boot/vmlinuz root = /dev/hda4 label = backtrack2 read-only #linux bootable partition ends (note: you can get your bootsplash back by giving the command"makesplash" and adding an initrd line to your lilo.conf. When you dothis make sure /boot is mounted) #windows bootable partition config begins other = /dev/hda1 label = WindowsXP table = /dev/hda #windows bootable partition config ends (save file) lilo -v exit (now reboot).Retrieved from "
http://backtrack.offensive-security.com/index.php/Transcript_of_movie
Comments :
Post a Comment