STEP 1
download :
*dl.dropbox.com/u/10573557/pmagic-4.5.iso <
get parted magic
Using Parted Magic an Introduction <
parted magic help
GParted partitioning software - Full tutorial <
gparted help.
i assume you have a working dvd/cd writer and a blank disc, and i hope you can burn that file to the disc and use it to boot.
STEP 2
1. burn and boot from parted magic live disk
2. run "gparted"
3. make the following partitions :
DELETE ALL PARTITIONS (make the whole disk as one unallocated space)
/dev/xda1
Primary - Windows 7 - NTFS (15-20 GB 7 installed here)
/dev/xda2
Primary - XP - NTFS (5-10 GB XP intalled here)
/dev/xda3
Extended (all the partitions below are a part of this extended partition)
/dev/xda4
Logical - / - ext4 (5-10 GB, linux files here)
/dev/xda5
Logical - /home - ext4 (as much as you want, keep your linux stuff, like packages, stuff, not really required, but it helps sometimes)
/dev/xda6
Logical - swap-space - linux-swap (keep it twice as much as your RAM)
/dev/xda7
Logical - shared - NTFS (as much as you want, it will be shared between all the OS's)
*www.thinkdigit.com/forum/1381647-post13.html
<-- understanding different types of partitions
things to note :
- GPARTED wont save anyhting until you click apply or the tick sign. so this means that you can safely poke around a bit with the options. if you happen to do something bad, DONT PANIC, just reboot or choose undo.
- GPARTED notations of partitions are a bit different.
it uses /dev/xda(number) to show partitions. where x can be 's' or 'h' depending on type of drive.
PRIMARY partitions have numbers 1-3.
EXTENDED can be 2-4.
LOGICAL numbers start from EXTENDED+1, and can go on and on (the most i've seen is 118, this guy had a lot of distros running)
STEP 3
1. boot from xp cd and choose install.
2. now, install XP on the 2nd partition (the XP) one. MAKE SURE ITS NOT THE 1ST ONE
STEP 4
1. boot from parted magic cd.
2. remove boot flag from XP partition (right click > flags)
3. go to gparted and HIDE the XP partition (dont delete, just hide) (rclick > hide, at least, thats how u hide, afaik. check the tutorial to make sure)
STEP 5
install windows 7 to FIRST PARTITION
STEP 6
1. boot to live disc of partition magic.
2. in gparted, unhide the XP partition
3. install linux to the extended partition.
select
manually partition discs
in this part,
/dev/xda4a this will be / (or root)
/dev/xda5 /home
/dev/xda6 swap-space
now, when it asks for where to place bootloader (GRUB) tell it to install to MBR.
EDIT :
slipstreaming is a tedious process, i couldnt find the hdd drivers myself, and you have to know *exactly* what you are doing, meaning the hp guys were at their wit's end, so couldnt help

lol
also,
my method involves DELETING ALL DATA ON THE HDD. SO BACKUP ANY IMPORTANT STUFF ON THE HDD.
edit 2
take help/pointers for stuff from these threads :
*www.thinkdigit.com/forum/open-source/147525-dual-boot-windows-7-ubuntu-10-10-a.html
*www.thinkdigit.com/forum/software-q/139435-boot-problem.html