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.

This question already has an answer here:

Today I decided to try out Fedora by booting it from USB. I liked the OS, and decided I wanted to install it to my hard-drive. I couldn't complete the installation because I needed to free up a partition.

I booted back into Windows to view my Disk Management and free up a partition. I decided to re-format a partition that had a linux OS in it that I no longer used. I used to boot into this OS using Grub.

However, when I reformatted the disk, it seems to have deleted most of the grub files, but when I power up my laptop, I'm getting an "Error 15" message which I think is because Grub cannot find the OS files to boot because I deleted them.

My problem now is that I can't boot back into Windows, I can only boot from USB ( I have no CD drive as I'm using a netbook ).

I read online that to remove the Grub bootloader I must boot into Windows and run a few commands in recovery mode to reset the bootloader. Since I can't boot into Windows, and have no CD drive, this option doesn't seem like it's going to work.

Any advice for me? I'm quite new to Linux, and currently my Netbook can only boot from USB and Windows ( 7 by the way ) is currently inaccessible.

I'm sorry if this isn't the right place to post this, but I'm really quite stuck!

Any suggestions are appreciated, I've been Googling for hours now!

Thanks

EDIT: To sum the question up: Is there a way to remove the Grub bootloader without entering Windows? For example can I boot something from USB and remove it from there?

share|improve this question

marked as duplicate by psusi, Charles Green, muru, KasiyA, Eric Carvalho Nov 5 at 22:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Is your Fedora on USD a Live System or Installation DVD? –  Anwar Shah Aug 4 '12 at 4:30
    
@AnwarShah the Fedora I used is booting from USB, not DVD, my netbook has no disk drive –  SnakeySpoon Aug 4 '12 at 10:38
    
Dear anwar it doesn't affect whether DVD or Live CD –  K.K Patel Aug 4 '12 at 10:44

3 Answers 3

Please see this. Of course you will have to create a USB stick with the ISO for one of the CDs mentioned.

On another computer you could boot an Ubuntu live CD and then use Startup Disk Creator to create the USB stick from the ISO for that CD. Then follow the steps in the askubuntu link on your own computer to make it bootable again.

share|improve this answer

Don't worry I have a nice solution. you will need Windows Installation Disk or Windows Repair disk.

To Create Windows 7 Repair disk , Get any PC or laptop having Windows 7. On start search menu type "CREATE System REPAIR DISK", select option comes

You will be ask for a Blank DVD, Insert Disk and Burn It, Make a .ISO file with using software named "POWER ISO" In windows 7.

with using Power ISO you will be able to Make bootable pendrive of windows 7 disk by going in TOOLS > Create Bootable USB Or PENDRIVE.

Provide it path of .iso file earlier you created. Now you will be able to run your Pendrive as a repair Disk.

To remove GRUB:

Grab a Windows recovery media or installation CD and boot from it. You should see this on a recovery media.

You should see this on an installation media. Click "Repair your computer" and you

Open the Command Prompt, then type

bootrec /fixmbr

into the Command Prompt.

reboot your system now you will be able to load your windows 7.

share|improve this answer
    
@Ketan_Patel great answer dude. –  Amit Rane Aug 4 '12 at 6:14
    
@Ketan_Patel I followed these steps, downloading the Windows 7 ISO from this location mydigitallife.info/… and using Power ISO I created a bootable USB. I tried booting from it. I get: "Windows failed to start. A recent hardware or software change might be the cause." –  SnakeySpoon Aug 4 '12 at 10:40
    
@ SnakeySpoon Both ways are simple. I directed the Best,easy and work without Internet. –  K.K Patel Aug 4 '12 at 10:45
    
@Ketan_Patel Thanks for the help, I think my problem was more complicated than first thought. What I did in the end was installed Fedora as the primary OS, wiping Windows ( I had nothing important on it ). My laptop seems to boot ok now, and I may re-install Windows at a later stage if I need it. Thanks again for the help :) –  SnakeySpoon Aug 4 '12 at 14:37

I just solved it now after one hour trying different workflows. Below are all steps i follow to solved it:

  1. Create Windows 7 DVD (normal Windows DVD)
  2. Click "Repair your computer" using command prompt and type: bootrec /fixmbr
  3. Restart your machine using the same Windows DVD
  4. Repair your computer again but this time use "Startup Repair"
  5. Restart your machine again and remove the DVD and Windows will start normally
share|improve this answer

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