Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed a small 3gb Ubuntu partition just to delete some annoying files in XP, but I accidentally turned the XP partition into Swap and I can only boot in Ubuntu. I do not necessarily want to save any of the XP data, but just to uninstall ubuntu and reinstall XP from a USB flash drive (when I try doing that, I cannot see the Hard Drive to boot on).

share|improve this question
add comment

3 Answers

up vote 0 down vote accepted

If you are using a notebook, you should change your BIOS boot-priority; and load into the Live Ubuntu image just like you did when you installed. The program you need to run is called Gparted not "Gpartet". When you open Gparted, you will be able to format your entire disk and re-install whatever operating system you want. If you are installing XP, instead of leaving the Hard Drive unallocated - - you could make the entire HDD NFTS (Windows Primary File System) to speed up the XP install. Good luck!

share|improve this answer
    
Thank you! I'll try this immediatly and let you know if it worked! You really are great people! –  Alin Apr 5 '12 at 13:13
    
Should I change the flag of the partition to something else than boot? –  Alin Apr 5 '12 at 13:17
    
I still cannot boot and cannot see the partition. I guess it's that mbr thing ad33l talked about. –  Alin Apr 5 '12 at 13:31
    
@Alin You should modify your question to include these new circumstances. What happened when you put in your XP install disk? –  RSX-1327 Apr 5 '12 at 13:54
add comment

Insert Ubuntu Live CD and use GParted to format the disk.

share|improve this answer
    
I have an acer netbook, therefore, no optic unit. Thanks for the quick answer! –  Alin Apr 5 '12 at 13:01
    
can I download GPartet from the ubuntu centre? –  Alin Apr 5 '12 at 13:02
    
Yes, but is already availalbe when booting from live disk. –  OrangeTux Apr 5 '12 at 13:07
    
I just tried! Thanks! So, after I format the partition, I should be able to reinstall WinXP from a bootable flash drive, shouldn't I? –  Alin Apr 5 '12 at 13:08
add comment

it's because windows can't read file systems other than FAT or NTFS and your hard drive doesn't have mbr anymore. you can daownload partedmagic and bootable usb creator like yumi make a bootable usb. boot from usb and fix your bootloader and partitions from partedmagic, then try to install windows again.

share|improve this answer
    
Thank you! You've been very helpful. I hope it works! :) –  Alin Apr 5 '12 at 13:13
    
you're welcome. you didn't need to install ubuntu to fix windows problems in first place. you can make bootable usb-stick with tools like partedmagic, gparted, clonezilla, norton ghost, etc. to resolve these issues. –  ad33l Apr 5 '12 at 13:15
    
How do I fix the bootloader from partedmagic? –  Alin Apr 5 '12 at 13:41
    
PartedMagic's live cd image includes super grub disk, it can be used for this job. Go to the extras menu on the PartedMagic's live cd. It sould be able to restore your windows boot loader. There are lots of other handy tools on PartedMagic you can use for partitioning, repair etc. –  ad33l Apr 5 '12 at 13:58
    
ok, I'll try. Please stay close, as I have no clue what I'm doing. Thank you! –  Alin Apr 5 '12 at 14:06
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.