Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a class in college for System Administration. I partitioned the disk so I could put Fedora onto my computer and dual boot it.

It was working fine until I ran out of space in the partition for Fedora. So I tried to boot from the Fedora disk and now my disk drive is dead. It tries to read but starts up and then fails a few seconds into trying to read.

So my teacher helped me a bit by installing Ubuntu ontop of the Fedora partition through a flash drive. Then I booted into Windows 7 to get rid of this random 2GB partition made by Fedora for some reason. I deleted that and the Ubuntu one and rebooted my computer.

Now I get an error saying something like "no partitions". But obviously, Windows 7 is still on there with its recovery partition too! However I can't access either by my computer's boot menu and have to boot to Ubuntu on flash drive to get into Windows 7.

In the end, I want to get rid of Ubuntu and just keep Windows 7 on my computer and have it boot directly to Windows 7. Obviously, something with the boot process is different than it was before. How do I fix this in Windows 7?

share|improve this question
    
That random partition is called "swap". Read more about it here. You probably want to fix your boot loader, as you still have GRUB on there (the one used for Linux). Do you have a Windows DVD? –  slhck Nov 17 '11 at 20:31
add comment

1 Answer

Since you don't want to keep your Linux partitions, the easiest method would be to reinstall Windows into a new partition. This should remove the Linux boot loader and replace with windows. Ideally you should be able to choose which windows partition you want to enter during the boot process. Enter your old partition and simply format the other (new) windows partition..

share|improve this answer
add comment

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.