b7ac wrote...
Its a single HDD and Sony VAIO to enter bios you have to press F2 repeatedly.Since ther is no press F9 or F12 to boot from a boot device.So the boot order has to be
HDD
DvD
CD
And it doesn't have a partition i transferred all important data to flash drive.
Okay, however now, the entire HD has been reformatted and a NFTS Windows XP partition is on there but is not registering.
Sounds like an issue with the master boot record, if you are really in a pickle, install the GRUB bootloader and then it might fix the issue. Unfortunately I have not done this myself, but installing Ubuntu (as long as XP is installed on the drive too) will cause a new GRUB bootloader to form and from there you can boot windows. Be sure to not reformat the drive, but install Ubuntu alongside the Windows XP partition, this can be fixed later.
Really, it sounds like you made a mistake somewhere, in all my times that I have reformatted a drive, sometimes it would do that because I did something blatantly wrong like improperly moved partitions or install Arch linux the wrong way ._.