I was editing my partitions last night because i had done a poor job allocating space when i installed ubuntu. I had given root 280gb and it turns out it didnt need nearly that much. So i decided to shrink it to 50gb, leave 100gb open to install windows xp on, and put the rest into my home partition. I used the live cd and everything seemed to work fine. When i rebooted it was all good.
However when i tried to install windows i kept getting an error message that windows could not write to the hard disk and i needed to create a partition windows could use. I tried a few times to create an ntfs partition in the 100gb partition but no dice. So i figured it was a bad cd and quit the setup process. When i rebooted this time it said it could not find the OS. I fired up the live cd again, which i'm on now and checked the partitions, thinking windows had mislabeled something, and it says my whole HD is unallocated with no partitions. I don't know how this happened, what i did, or how to fix it. I need some help here.