Results 1 to 4 of 4

Thread: How to install BackTrack 3 Final from the shell, dual boot Win XP or Vista

  1. #1
    Just burned his ISO
    Join Date
    Oct 2007
    Posts
    13

    Arrow How to install BackTrack 3 Final from the shell, dual boot Win XP or Vista

    HI evrybody

    What you need
    Computer with Win XP Or vista or other OS installed
    BackTrack 3 Final iso on a CD or DVD or USB stick to boot from
    Backup
    Back up your entire system, there is no guarantee that it will not break.
    Defrag your XP NTFS partition
    While still in Win XP, defrag your NTFS drive. You will resize it to make space for the BackTrack partitions.
    Boot BackTrack live from CD, DVD or USB device
    Unmount the existing partitions, the BackTrack Live has automatically mounted them.

    Code:
    umount /dev/sda1
    umount /dev/sda2
    .
    .
    Run QTParted to resize the NTFS partition
    KDE menu > System > QTParted
    Resize sda1 to make free space for BackTrack and save changes. Exit QTParted.

    Create Linux partitions for BackTrack
    Code:
    fdisk /dev/sda
    Create a primary partition number sda3 1 GB in size, this will be swap
    Create a primary partition number sda4 of remaining space, this will be /boot and /
    Format the new partitions
    Code:
    mkfs.ext3 /dev/sda4
    mkswap /dev/sda3
    swapon /dev/sda3
    Mount the new partitions so you can install BackTrack on them
    Code:
    bt ~ # mkdir /mnt/backtrack
    bt ~ # mount /dev/sda4 /mnt/backtrack/
    bt ~ # mkdir /mnt/backtrack/boot/
    bt ~ # mount /dev/sda4 /mnt/backtrack/boot/
    Install BackTrack files
    Code:
    bt ~ # cp --preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,var} /mnt/backtrack/
    bt ~ # mkdir /mnt/backtrack/{mnt,proc,sys,tmp}
    bt ~ # mount --bind /dev/ /mnt/backtrack/dev/
    bt ~ # mount -t proc proc /mnt/backtrack/proc/
    bt ~ # cp /boot/vmlinuz /mnt/backtrack/boot/
    And lilo file
    Code:
    bt ~ # chroot /mnt/backtrack/ /bin/bash
    bt / # nano /etc/lilo.conf
    In nano change the line at the lilo file
    1. boot /dev/sda or boot /dev/hda
    2.timeout=60
    3.root = /dev/sda4
    4.remove read-only
    5.add the following line at the end of the lilo file
    Code:
    other=/dev/sda1
    label=Windows
    Excellent. Save that and then execute lilo
    Code:
    bt / # lilo -v
    after that exit your chroot enviorment
    and reboot and cross your fingers

    Code:
    bt / # exit
    bt ~ #reboot
    Good Luck
    A_O

  2. #2
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    What happened to sda2? Plus if you going to use every one else's work and call it yours you should at least explain the whole thing. You neglected to explain how to use fdisk which is where most people fux0r their installs.

  3. #3
    Just burned his ISO
    Join Date
    Oct 2007
    Posts
    13

    Default

    sda1=Windows
    sda2=Windows extended Partition
    sda3=Swap Partition
    sda4=/boot &/ (root Partition)

  4. #4
    Member Dissident85's Avatar
    Join Date
    Jun 2008
    Posts
    127

    Default

    If you are going to dual boot with vista, it might be a good idea to use windows to resize your partitions... I think it would be a much safer option

    Windows Button -> Control Panel ->Administrative Tools -> Computer Management -> Disk Management -> Right click the drive you want to edit -> Shrink Volume

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •