Windows 7 not booting. grub bash shell appears












0















My Windows 7 x64 desktop PC stopped booting after I restarted it.



This message appears:



drive 0x80(LBA): C/H/S=1023/255/63, Sector Count/Size=16434495/512
Partition num: 0, active, Filesystem type is ntfs, partition type 0x07

****

Options if your HDD is larger than 1TB:
* Move your boot files to a smaller partition at the start of the HDD.
* Format the HDD and allow Windows 7 to create a 100MB boot partition.
* Shrink and move your partitions with GParted.

Press any key to read more...


Then another screen suggesting some options appears, and then a Minimal BASH-like shell appears like:



grub> _


I have no idea what could have happened. I don't even remember using grub to install Windows 7. Pretty sure I used the same installer to format my OCZ Vertex 2 90GB to NTFS and install Windows there. No partitions. Then I have a 2TB WD HDD with one partition as storage, no OS installed there.



Is there a way I can restore the MBR boot? I'd prefer not to have to reinstall the whole OS again.



UPDATE Just in case it has something to do with this, I restarted after I shrinked the pagefile a little bit in my SSD (I have 16GB RAM).










share|improve this question



























    0















    My Windows 7 x64 desktop PC stopped booting after I restarted it.



    This message appears:



    drive 0x80(LBA): C/H/S=1023/255/63, Sector Count/Size=16434495/512
    Partition num: 0, active, Filesystem type is ntfs, partition type 0x07

    ****

    Options if your HDD is larger than 1TB:
    * Move your boot files to a smaller partition at the start of the HDD.
    * Format the HDD and allow Windows 7 to create a 100MB boot partition.
    * Shrink and move your partitions with GParted.

    Press any key to read more...


    Then another screen suggesting some options appears, and then a Minimal BASH-like shell appears like:



    grub> _


    I have no idea what could have happened. I don't even remember using grub to install Windows 7. Pretty sure I used the same installer to format my OCZ Vertex 2 90GB to NTFS and install Windows there. No partitions. Then I have a 2TB WD HDD with one partition as storage, no OS installed there.



    Is there a way I can restore the MBR boot? I'd prefer not to have to reinstall the whole OS again.



    UPDATE Just in case it has something to do with this, I restarted after I shrinked the pagefile a little bit in my SSD (I have 16GB RAM).










    share|improve this question

























      0












      0








      0








      My Windows 7 x64 desktop PC stopped booting after I restarted it.



      This message appears:



      drive 0x80(LBA): C/H/S=1023/255/63, Sector Count/Size=16434495/512
      Partition num: 0, active, Filesystem type is ntfs, partition type 0x07

      ****

      Options if your HDD is larger than 1TB:
      * Move your boot files to a smaller partition at the start of the HDD.
      * Format the HDD and allow Windows 7 to create a 100MB boot partition.
      * Shrink and move your partitions with GParted.

      Press any key to read more...


      Then another screen suggesting some options appears, and then a Minimal BASH-like shell appears like:



      grub> _


      I have no idea what could have happened. I don't even remember using grub to install Windows 7. Pretty sure I used the same installer to format my OCZ Vertex 2 90GB to NTFS and install Windows there. No partitions. Then I have a 2TB WD HDD with one partition as storage, no OS installed there.



      Is there a way I can restore the MBR boot? I'd prefer not to have to reinstall the whole OS again.



      UPDATE Just in case it has something to do with this, I restarted after I shrinked the pagefile a little bit in my SSD (I have 16GB RAM).










      share|improve this question














      My Windows 7 x64 desktop PC stopped booting after I restarted it.



      This message appears:



      drive 0x80(LBA): C/H/S=1023/255/63, Sector Count/Size=16434495/512
      Partition num: 0, active, Filesystem type is ntfs, partition type 0x07

      ****

      Options if your HDD is larger than 1TB:
      * Move your boot files to a smaller partition at the start of the HDD.
      * Format the HDD and allow Windows 7 to create a 100MB boot partition.
      * Shrink and move your partitions with GParted.

      Press any key to read more...


      Then another screen suggesting some options appears, and then a Minimal BASH-like shell appears like:



      grub> _


      I have no idea what could have happened. I don't even remember using grub to install Windows 7. Pretty sure I used the same installer to format my OCZ Vertex 2 90GB to NTFS and install Windows there. No partitions. Then I have a 2TB WD HDD with one partition as storage, no OS installed there.



      Is there a way I can restore the MBR boot? I'd prefer not to have to reinstall the whole OS again.



      UPDATE Just in case it has something to do with this, I restarted after I shrinked the pagefile a little bit in my SSD (I have 16GB RAM).







      windows-7 boot grub mbr






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 26 '14 at 19:12









      emzeroemzero

      12851134




      12851134






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Ok, I've managed to solve the problem. These are the steps:




          1. Boot from a Windows 7 DVD and select "Repair your computer..."

          2. In the System Recovery Options screen select "Command Prompt"


          3. Type in the following commands:




            bootrec.exe /FixMbr

            bootrec.exe /FixBoot




          Source: http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html






          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%2f803350%2fwindows-7-not-booting-grub-bash-shell-appears%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









            2














            Ok, I've managed to solve the problem. These are the steps:




            1. Boot from a Windows 7 DVD and select "Repair your computer..."

            2. In the System Recovery Options screen select "Command Prompt"


            3. Type in the following commands:




              bootrec.exe /FixMbr

              bootrec.exe /FixBoot




            Source: http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html






            share|improve this answer




























              2














              Ok, I've managed to solve the problem. These are the steps:




              1. Boot from a Windows 7 DVD and select "Repair your computer..."

              2. In the System Recovery Options screen select "Command Prompt"


              3. Type in the following commands:




                bootrec.exe /FixMbr

                bootrec.exe /FixBoot




              Source: http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html






              share|improve this answer


























                2












                2








                2







                Ok, I've managed to solve the problem. These are the steps:




                1. Boot from a Windows 7 DVD and select "Repair your computer..."

                2. In the System Recovery Options screen select "Command Prompt"


                3. Type in the following commands:




                  bootrec.exe /FixMbr

                  bootrec.exe /FixBoot




                Source: http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html






                share|improve this answer













                Ok, I've managed to solve the problem. These are the steps:




                1. Boot from a Windows 7 DVD and select "Repair your computer..."

                2. In the System Recovery Options screen select "Command Prompt"


                3. Type in the following commands:




                  bootrec.exe /FixMbr

                  bootrec.exe /FixBoot




                Source: http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 26 '14 at 19:28









                emzeroemzero

                12851134




                12851134






























                    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%2f803350%2fwindows-7-not-booting-grub-bash-shell-appears%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

                    Probability when a professor distributes a quiz and homework assignment to a class of n students.

                    Aardman Animations

                    Are they similar matrix