Works with BackTrack 4 Beta & windows including XP,vista,7.

Hello to all.time to make some fun with back|track 4 beta along with windows.I have tested this using windows 7 ultimate beta & BT 4 Beta.the fun part is both of the distro's are in beta state & will update time to time until final release.first install windows 7 ultimate and I assume you know how to do that(the most easiest thing is world I assume).here is what partition scheme I used.change it accordingly to your HDD partitions.also I assume you have make 3 extra partitions from the empty space from HDD using 3rd party tool like paragon partition manager/hiren boot,as fdisk options wipe the partition.
Boot through BT4 ISO and see the mount point using
root@ThUnDerBolT:~#nano /etc/fstab
here is how my partition scheme looks like

Note down the partition scheme of your HDD as it will be use for later reference
now back to terminal
unmount all the NTFS & EXT,reiserfs File System
root@ThUnDerBolT:~#umount /dev/sda1
root@ThUnDerBolT:~#umount /dev/sda2
root@ThUnDerBolT:~#umount /dev/sda3
root@ThUnDerBolT:~#umount /dev/sda5
root@ThUnDerBolT:~#umount /dev/sda6
now fdisk the sda harddisk
root@ThUnDerBolT:~#fdisk /dev/sda
Here is how my hard-disk partition scheme is

Please note down the linux partions start cylinder & last cylinder.In my case its
/dev/sda5 29561 30325 83 Linux
/dev/sda6 30326 30334 83 Linux
/dev/sda7 30335 30401 82 Linux swap / Solaris
now delete the Linux partitions carefully.use commands
now reboot once as the kernel is still using old tables
root@ThUnDerBolT:~#init 6
now back to terminal after reboot
root@ThUnDerBolT:~#fdisk /dev/sda
2 #only if you are seeing your NTFS partition as Hidden HPFS/NTFS
7 #change Hidden HPFS/NTFS to Normal HPFS/NTFS partition
3 #only if you are seeing your NTFS partition as Hidden HPFS/NTFS
7 #change Hidden HPFS/NTFS to Normal HPFS/NTFS partition
82 #setting last sda7 as swap partition
and it should look like this now

now write the tables
root@ThUnDerBolT:~#mke2fs /dev/sda6
root@ThUnDerBolT:~#mkswap /dev/sda7
root@ThUnDerBolT:~#swapon /dev/sda7
root@ThUnDerBolT:~#mkreiserfs /dev/sda5
Choose Y
root@ThUnDerBolT:~#mkdir /mnt/backtrack
root@ThUnDerBolT:~#mount /dev/sda5 /mnt/backtrack
root@ThUnDerBolT:~#mkdir /mnt/backtrack/boot
root@ThUnDerBolT:~#mount /dev/sda6 /mnt/backtrack/boot
root@ThUnDerBolT:~#cp --preserve -R /{bin,dev,home,pentest,root,boot,usr,etc,lib,opt,sb in,var} /mnt/backtrack
root@ThUnDerBolT:~#cd /mnt/backtrack
root@ThUnDerBolT:~#mkdir {mnt,proc,sys,tmp}
root@ThUnDerBolT:~#chmod 1777 /mnt/backtrack/tmp
root@ThUnDerBolT:~#mount --bind /dev /mnt/backtrack/dev
root@ThUnDerBolT:~#mount -t proc proc /mnt/backtrack/proc/
root@ThUnDerBolT:~#chroot /mnt/backtrack /bin/bash
root@ThUnDerBolT:~#nano /etc/lilo.conf
your LILO config should look like this

Replace the windows partition with yours e.g. /dev/sda1 to blah blah
save and exit
root@ThUnDerBolT:~#lilo -v
Make mount points for our windows/pen drive
root@ThUnDerBolT:~#mkdir /mnt {sda1,sda2,sda3,sdb1,sr0)
root@ThUnDerBolT:~#nano /etc/fstab
Update your fstab file & add entries of partitions there
here is how my fstab looks like.update it accordingly to your HDD partitions

Save & Exit
root@ThUnDerBolT:~#init 6
That's it!
1.if you are getting error "cannot obtain lock on /media/.hal-mtab" then enter the mount partion entry into /etc/fstab file.e.g as I was getting this error while accessing DVD Drive and Pen-Drive or windows partitions then make directories and update fstab file or alternatively do this
mkdir /media
touch /media/.hal-mtab
2.if you have used command "update-rc.d networking defaults".every time BT starts it will look for DHCP address for NIC's.if you don't have any connection at that will just keep looking.for getting it out press ctrl +c and will carry on booting then.
3.those who wants to manually start networking type
root@ThUnDerBolT:~#/etc/init.d/networking start
If you find any bugs feel free to comment it on my blog and to update on remote-exploit forum.