How do I fix my MBR after removing dual boot OS?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I have a PC which I cannot boot into anymore. I really really don't want to reinstall the OS on it. (I don't want to lose the data and, besides, it's Christmas week.)



The PC has an SSD which had Windows 7 Ultimate 64-bit installed. After a while I also installed Ubuntu, which automatically added GRUB to make dual booting easy.



Everything was good, until I decided I want to get rid of Ubuntu, so:




  • I used the Windows Disk Management tool to delete the Ubuntu partition and extend the Windows one to occupy all the free space which remained. It worked perfectly.

  • Now after restarting I get the error GRUB error: no such partition or something similar. I expected this, since the Ubuntu partition doesn't exist anymore.

  • Like so many articles and pages I found online said: I went ahead and booted from the Windows 7 DVD (it was the exact same DVD I used when I installed the OS). When I booted, I saw I had 2 choices for my DVD drive: one with UEFI, the other with AHCI.

  • I tried UEFI first. When going to "Repair my computer" I got some error message that said I should "use a DVD that is suited for my installed OS" or something along those lines.

  • Restarted and booted again, but this time using the AHCI option.

  • This time I got to the "Repair my computer" window and went directly to the Command Prompt.

  • It took me a while to find that bootrec.exe was in /Windows/System32. I executed bootrec.exe /fixmbr. The message was "Operation completed succcessfully"

  • Restarted.

  • Still the exact same error from GRUB (which is weird because shouldn't the bootrec command get rid of it?)


I saw something weird, which I think is extremely relevant. From what I saw on some pages/tutorials, when you click on "Repair my computer" the tool should scan for Windows installations and show them in a list, like this:



IMG:



However, in my case, the list was completely empty, which is probably why bootrec didn't work. My best guess is that it's because my Windows is on an SSD, and it needs some sort of drivers to properly load/see it. I'm not 100% sure of this though.



I don't want to try 100 random things and completely break it, so what should I do? Has anyone been in this situation before and found a solution that really works?



If I'm right about needing drivers because of the SSD, where do I get them from and how do I load them?










share|improve this question































    1















    I have a PC which I cannot boot into anymore. I really really don't want to reinstall the OS on it. (I don't want to lose the data and, besides, it's Christmas week.)



    The PC has an SSD which had Windows 7 Ultimate 64-bit installed. After a while I also installed Ubuntu, which automatically added GRUB to make dual booting easy.



    Everything was good, until I decided I want to get rid of Ubuntu, so:




    • I used the Windows Disk Management tool to delete the Ubuntu partition and extend the Windows one to occupy all the free space which remained. It worked perfectly.

    • Now after restarting I get the error GRUB error: no such partition or something similar. I expected this, since the Ubuntu partition doesn't exist anymore.

    • Like so many articles and pages I found online said: I went ahead and booted from the Windows 7 DVD (it was the exact same DVD I used when I installed the OS). When I booted, I saw I had 2 choices for my DVD drive: one with UEFI, the other with AHCI.

    • I tried UEFI first. When going to "Repair my computer" I got some error message that said I should "use a DVD that is suited for my installed OS" or something along those lines.

    • Restarted and booted again, but this time using the AHCI option.

    • This time I got to the "Repair my computer" window and went directly to the Command Prompt.

    • It took me a while to find that bootrec.exe was in /Windows/System32. I executed bootrec.exe /fixmbr. The message was "Operation completed succcessfully"

    • Restarted.

    • Still the exact same error from GRUB (which is weird because shouldn't the bootrec command get rid of it?)


    I saw something weird, which I think is extremely relevant. From what I saw on some pages/tutorials, when you click on "Repair my computer" the tool should scan for Windows installations and show them in a list, like this:



    IMG:



    However, in my case, the list was completely empty, which is probably why bootrec didn't work. My best guess is that it's because my Windows is on an SSD, and it needs some sort of drivers to properly load/see it. I'm not 100% sure of this though.



    I don't want to try 100 random things and completely break it, so what should I do? Has anyone been in this situation before and found a solution that really works?



    If I'm right about needing drivers because of the SSD, where do I get them from and how do I load them?










    share|improve this question



























      1












      1








      1








      I have a PC which I cannot boot into anymore. I really really don't want to reinstall the OS on it. (I don't want to lose the data and, besides, it's Christmas week.)



      The PC has an SSD which had Windows 7 Ultimate 64-bit installed. After a while I also installed Ubuntu, which automatically added GRUB to make dual booting easy.



      Everything was good, until I decided I want to get rid of Ubuntu, so:




      • I used the Windows Disk Management tool to delete the Ubuntu partition and extend the Windows one to occupy all the free space which remained. It worked perfectly.

      • Now after restarting I get the error GRUB error: no such partition or something similar. I expected this, since the Ubuntu partition doesn't exist anymore.

      • Like so many articles and pages I found online said: I went ahead and booted from the Windows 7 DVD (it was the exact same DVD I used when I installed the OS). When I booted, I saw I had 2 choices for my DVD drive: one with UEFI, the other with AHCI.

      • I tried UEFI first. When going to "Repair my computer" I got some error message that said I should "use a DVD that is suited for my installed OS" or something along those lines.

      • Restarted and booted again, but this time using the AHCI option.

      • This time I got to the "Repair my computer" window and went directly to the Command Prompt.

      • It took me a while to find that bootrec.exe was in /Windows/System32. I executed bootrec.exe /fixmbr. The message was "Operation completed succcessfully"

      • Restarted.

      • Still the exact same error from GRUB (which is weird because shouldn't the bootrec command get rid of it?)


      I saw something weird, which I think is extremely relevant. From what I saw on some pages/tutorials, when you click on "Repair my computer" the tool should scan for Windows installations and show them in a list, like this:



      IMG:



      However, in my case, the list was completely empty, which is probably why bootrec didn't work. My best guess is that it's because my Windows is on an SSD, and it needs some sort of drivers to properly load/see it. I'm not 100% sure of this though.



      I don't want to try 100 random things and completely break it, so what should I do? Has anyone been in this situation before and found a solution that really works?



      If I'm right about needing drivers because of the SSD, where do I get them from and how do I load them?










      share|improve this question
















      I have a PC which I cannot boot into anymore. I really really don't want to reinstall the OS on it. (I don't want to lose the data and, besides, it's Christmas week.)



      The PC has an SSD which had Windows 7 Ultimate 64-bit installed. After a while I also installed Ubuntu, which automatically added GRUB to make dual booting easy.



      Everything was good, until I decided I want to get rid of Ubuntu, so:




      • I used the Windows Disk Management tool to delete the Ubuntu partition and extend the Windows one to occupy all the free space which remained. It worked perfectly.

      • Now after restarting I get the error GRUB error: no such partition or something similar. I expected this, since the Ubuntu partition doesn't exist anymore.

      • Like so many articles and pages I found online said: I went ahead and booted from the Windows 7 DVD (it was the exact same DVD I used when I installed the OS). When I booted, I saw I had 2 choices for my DVD drive: one with UEFI, the other with AHCI.

      • I tried UEFI first. When going to "Repair my computer" I got some error message that said I should "use a DVD that is suited for my installed OS" or something along those lines.

      • Restarted and booted again, but this time using the AHCI option.

      • This time I got to the "Repair my computer" window and went directly to the Command Prompt.

      • It took me a while to find that bootrec.exe was in /Windows/System32. I executed bootrec.exe /fixmbr. The message was "Operation completed succcessfully"

      • Restarted.

      • Still the exact same error from GRUB (which is weird because shouldn't the bootrec command get rid of it?)


      I saw something weird, which I think is extremely relevant. From what I saw on some pages/tutorials, when you click on "Repair my computer" the tool should scan for Windows installations and show them in a list, like this:



      IMG:



      However, in my case, the list was completely empty, which is probably why bootrec didn't work. My best guess is that it's because my Windows is on an SSD, and it needs some sort of drivers to properly load/see it. I'm not 100% sure of this though.



      I don't want to try 100 random things and completely break it, so what should I do? Has anyone been in this situation before and found a solution that really works?



      If I'm right about needing drivers because of the SSD, where do I get them from and how do I load them?







      windows-7 boot ssd multi-boot grub






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 5 at 16:10









      karel

      9,429103339




      9,429103339










      asked Dec 22 '15 at 21:57









      Radu MurzeaRadu Murzea

      247211




      247211






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Boot using a Windows 7 installation disk, after the first screen where you select your keyboard layout, press SHIFT-F10.



          It should open a command prompt with basic funcionality and some system recover utilities.



          Type the commands:



          bootrec /fixboot
          bootrec /fixmbr


          This should be enough to get your system booting again. Do a normal reboot and see how it goes.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1016938%2fhow-do-i-fix-my-mbr-after-removing-dual-boot-os%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Boot using a Windows 7 installation disk, after the first screen where you select your keyboard layout, press SHIFT-F10.



            It should open a command prompt with basic funcionality and some system recover utilities.



            Type the commands:



            bootrec /fixboot
            bootrec /fixmbr


            This should be enough to get your system booting again. Do a normal reboot and see how it goes.






            share|improve this answer




























              1














              Boot using a Windows 7 installation disk, after the first screen where you select your keyboard layout, press SHIFT-F10.



              It should open a command prompt with basic funcionality and some system recover utilities.



              Type the commands:



              bootrec /fixboot
              bootrec /fixmbr


              This should be enough to get your system booting again. Do a normal reboot and see how it goes.






              share|improve this answer


























                1












                1








                1







                Boot using a Windows 7 installation disk, after the first screen where you select your keyboard layout, press SHIFT-F10.



                It should open a command prompt with basic funcionality and some system recover utilities.



                Type the commands:



                bootrec /fixboot
                bootrec /fixmbr


                This should be enough to get your system booting again. Do a normal reboot and see how it goes.






                share|improve this answer













                Boot using a Windows 7 installation disk, after the first screen where you select your keyboard layout, press SHIFT-F10.



                It should open a command prompt with basic funcionality and some system recover utilities.



                Type the commands:



                bootrec /fixboot
                bootrec /fixmbr


                This should be enough to get your system booting again. Do a normal reboot and see how it goes.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 22 '15 at 22:04









                HavenardHavenard

                748414




                748414






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1016938%2fhow-do-i-fix-my-mbr-after-removing-dual-boot-os%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...