1

I have OpenSuse installed alongside Windows 7. Grub is the boot loader from where I access OpenSuse and Windows 7.

I want to delete Grub and also the OpenSuse partitions.

My first failed approach was to insert the Win7 DVD, choose Repair your computer and then enter the command prompt. I then typed "bootrec /fixmbr" and restarted. It didn't work. Grub was still there, so was Windows7. I then tried using "bootrec /fixboot and /rebuildbcd and neither worked.

So what can I do to fix this ? I remember when I was using WinXP this was much simpler. I would just type fixmbr and that was it.

Any clues ?

3 Answers 3

1

From Microsoft's support article 927932

To run the Bootrec.exe tool, you must start Windows RE. To do this, follow these steps:

  1. Put the Windows Vista or Windows 7 installation disc in the disc drive, and then start the computer.
  2. Press a key when you are prompted.
  3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
  4. Click Repair your computer.
  5. Click the operating system that you want to repair, and then click Next.
  6. In the System Recovery Options dialog box, click Command Prompt.
  7. Type Bootrec.exe, and then press ENTER.

Options are listed on the weblink.

 bootrec /fixmbr
 bootrec /fixboot
 bootrec /rebuildbcd

If the command bootrec /fixboot returns with message

The volume does not contain a recognized file system. . . . ."

Run the following command

diskpart
  listvol
  sel vol c          <===== make sure C:\Windows exists
  act
  exit
bootrec  /fixboot
bootrec  /rebuildbcd
1
  • That doesn't help because GRUB takes over the boot, and I can't choose which OS to repair. It can't "see" Windows 7. I need to delete Grub2.
    – elvispt
    Commented Dec 9, 2009 at 16:01
0

I have no idea if this works with Win7 or even Vista, so you'll probably want to make a disc backup first, but in XP you could run the start of the install process (i.e up to the point the computer restarts) and then your existing install of XP would run.

0

OK I managed to solve my problem.

I chose to repair my computer, then chose to let Windows to it all automatically. By choosing the first option. It worked. Strangely it didn't work before when using bootrec tool when it should. Thanks anyway. :)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .