How do I fix “Grub Rescue”? Uninstallation?












3















I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:



error : no such partition
grub rescue>_



I am now looking for help on




  1. Getting out of this "grub rescue"

  2. Uninstalling Ubuntu and/or factory reset


Notes
-Newbie
- No windows disks
-I have spare CDs










share|improve this question























  • Try boot-repair-disk ,it will help you to boot into windows.

    – Avinash Raj
    Nov 9 '13 at 7:53
















3















I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:



error : no such partition
grub rescue>_



I am now looking for help on




  1. Getting out of this "grub rescue"

  2. Uninstalling Ubuntu and/or factory reset


Notes
-Newbie
- No windows disks
-I have spare CDs










share|improve this question























  • Try boot-repair-disk ,it will help you to boot into windows.

    – Avinash Raj
    Nov 9 '13 at 7:53














3












3








3


2






I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:



error : no such partition
grub rescue>_



I am now looking for help on




  1. Getting out of this "grub rescue"

  2. Uninstalling Ubuntu and/or factory reset


Notes
-Newbie
- No windows disks
-I have spare CDs










share|improve this question














I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:



error : no such partition
grub rescue>_



I am now looking for help on




  1. Getting out of this "grub rescue"

  2. Uninstalling Ubuntu and/or factory reset


Notes
-Newbie
- No windows disks
-I have spare CDs







grub2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 9 '13 at 7:49









Julien MackenzieJulien Mackenzie

31135




31135













  • Try boot-repair-disk ,it will help you to boot into windows.

    – Avinash Raj
    Nov 9 '13 at 7:53



















  • Try boot-repair-disk ,it will help you to boot into windows.

    – Avinash Raj
    Nov 9 '13 at 7:53

















Try boot-repair-disk ,it will help you to boot into windows.

– Avinash Raj
Nov 9 '13 at 7:53





Try boot-repair-disk ,it will help you to boot into windows.

– Avinash Raj
Nov 9 '13 at 7:53










3 Answers
3






active

oldest

votes


















6














(From within rescue mode)



Command: ls



It will list all your drives and partitions, like:



(hd0) (hd0,msdos2) (hd0,msdos1)


If you don't know your Ubuntu boot partition, check them one by one:



ls (hd0,msdos2)/
ls (hd0,msdos1)/


When you hit the right one, you'll get a line mentioning "lost+found" and so on.



Assuming (hd0,msdos2) is the right partition:



set prefix=(hd0,2)/boot/grub
set root=(hd0,2)
insmod normal
normal


Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:



sudo update-grub
sudo grub-install /dev/sda


Voila.






share|improve this answer





















  • 2





    He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to

    – Dr_Bunsen
    Nov 9 '13 at 11:33











  • Yes he deleted the ubuntu partition and try to recover windows partition.

    – Avinash Raj
    Nov 9 '13 at 11:39











  • A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.

    – Pavel
    Nov 9 '13 at 14:24



















1














You could do either of two things:





  1. Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.




    • bootrec.exe/fixmbr


    • bootrec.exe/fixboot
      Thats it done. Or watch this YouTube tutorial.



  2. If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.







share|improve this answer

































    -3














    I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.






    share|improve this answer








    New contributor




    Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
















    • 3





      A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.

      – Makyen
      9 hours ago











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f373385%2fhow-do-i-fix-grub-rescue-uninstallation%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    (From within rescue mode)



    Command: ls



    It will list all your drives and partitions, like:



    (hd0) (hd0,msdos2) (hd0,msdos1)


    If you don't know your Ubuntu boot partition, check them one by one:



    ls (hd0,msdos2)/
    ls (hd0,msdos1)/


    When you hit the right one, you'll get a line mentioning "lost+found" and so on.



    Assuming (hd0,msdos2) is the right partition:



    set prefix=(hd0,2)/boot/grub
    set root=(hd0,2)
    insmod normal
    normal


    Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:



    sudo update-grub
    sudo grub-install /dev/sda


    Voila.






    share|improve this answer





















    • 2





      He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to

      – Dr_Bunsen
      Nov 9 '13 at 11:33











    • Yes he deleted the ubuntu partition and try to recover windows partition.

      – Avinash Raj
      Nov 9 '13 at 11:39











    • A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.

      – Pavel
      Nov 9 '13 at 14:24
















    6














    (From within rescue mode)



    Command: ls



    It will list all your drives and partitions, like:



    (hd0) (hd0,msdos2) (hd0,msdos1)


    If you don't know your Ubuntu boot partition, check them one by one:



    ls (hd0,msdos2)/
    ls (hd0,msdos1)/


    When you hit the right one, you'll get a line mentioning "lost+found" and so on.



    Assuming (hd0,msdos2) is the right partition:



    set prefix=(hd0,2)/boot/grub
    set root=(hd0,2)
    insmod normal
    normal


    Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:



    sudo update-grub
    sudo grub-install /dev/sda


    Voila.






    share|improve this answer





















    • 2





      He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to

      – Dr_Bunsen
      Nov 9 '13 at 11:33











    • Yes he deleted the ubuntu partition and try to recover windows partition.

      – Avinash Raj
      Nov 9 '13 at 11:39











    • A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.

      – Pavel
      Nov 9 '13 at 14:24














    6












    6








    6







    (From within rescue mode)



    Command: ls



    It will list all your drives and partitions, like:



    (hd0) (hd0,msdos2) (hd0,msdos1)


    If you don't know your Ubuntu boot partition, check them one by one:



    ls (hd0,msdos2)/
    ls (hd0,msdos1)/


    When you hit the right one, you'll get a line mentioning "lost+found" and so on.



    Assuming (hd0,msdos2) is the right partition:



    set prefix=(hd0,2)/boot/grub
    set root=(hd0,2)
    insmod normal
    normal


    Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:



    sudo update-grub
    sudo grub-install /dev/sda


    Voila.






    share|improve this answer















    (From within rescue mode)



    Command: ls



    It will list all your drives and partitions, like:



    (hd0) (hd0,msdos2) (hd0,msdos1)


    If you don't know your Ubuntu boot partition, check them one by one:



    ls (hd0,msdos2)/
    ls (hd0,msdos1)/


    When you hit the right one, you'll get a line mentioning "lost+found" and so on.



    Assuming (hd0,msdos2) is the right partition:



    set prefix=(hd0,2)/boot/grub
    set root=(hd0,2)
    insmod normal
    normal


    Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:



    sudo update-grub
    sudo grub-install /dev/sda


    Voila.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jun 19 '16 at 13:56









    dadexix86

    5,4182595




    5,4182595










    answered Nov 9 '13 at 8:46









    PavelPavel

    87311022




    87311022








    • 2





      He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to

      – Dr_Bunsen
      Nov 9 '13 at 11:33











    • Yes he deleted the ubuntu partition and try to recover windows partition.

      – Avinash Raj
      Nov 9 '13 at 11:39











    • A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.

      – Pavel
      Nov 9 '13 at 14:24














    • 2





      He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to

      – Dr_Bunsen
      Nov 9 '13 at 11:33











    • Yes he deleted the ubuntu partition and try to recover windows partition.

      – Avinash Raj
      Nov 9 '13 at 11:39











    • A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.

      – Pavel
      Nov 9 '13 at 14:24








    2




    2





    He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to

    – Dr_Bunsen
    Nov 9 '13 at 11:33





    He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to

    – Dr_Bunsen
    Nov 9 '13 at 11:33













    Yes he deleted the ubuntu partition and try to recover windows partition.

    – Avinash Raj
    Nov 9 '13 at 11:39





    Yes he deleted the ubuntu partition and try to recover windows partition.

    – Avinash Raj
    Nov 9 '13 at 11:39













    A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.

    – Pavel
    Nov 9 '13 at 14:24





    A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.

    – Pavel
    Nov 9 '13 at 14:24













    1














    You could do either of two things:





    1. Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.




      • bootrec.exe/fixmbr


      • bootrec.exe/fixboot
        Thats it done. Or watch this YouTube tutorial.



    2. If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.







    share|improve this answer






























      1














      You could do either of two things:





      1. Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.




        • bootrec.exe/fixmbr


        • bootrec.exe/fixboot
          Thats it done. Or watch this YouTube tutorial.



      2. If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.







      share|improve this answer




























        1












        1








        1







        You could do either of two things:





        1. Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.




          • bootrec.exe/fixmbr


          • bootrec.exe/fixboot
            Thats it done. Or watch this YouTube tutorial.



        2. If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.







        share|improve this answer















        You could do either of two things:





        1. Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.




          • bootrec.exe/fixmbr


          • bootrec.exe/fixboot
            Thats it done. Or watch this YouTube tutorial.



        2. If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 19 '16 at 15:45









        Peter Mortensen

        1,03721016




        1,03721016










        answered Oct 12 '14 at 22:55









        Edward TorvaldsEdward Torvalds

        5,06274079




        5,06274079























            -3














            I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.






            share|improve this answer








            New contributor




            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
















            • 3





              A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.

              – Makyen
              9 hours ago
















            -3














            I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.






            share|improve this answer








            New contributor




            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
















            • 3





              A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.

              – Makyen
              9 hours ago














            -3












            -3








            -3







            I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.






            share|improve this answer








            New contributor




            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.










            I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.







            share|improve this answer








            New contributor




            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer






            New contributor




            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 9 hours ago









            Alexander BlakeAlexander Blake

            1




            1




            New contributor




            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Alexander Blake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.








            • 3





              A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.

              – Makyen
              9 hours ago














            • 3





              A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.

              – Makyen
              9 hours ago








            3




            3





            A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.

            – Makyen
            9 hours ago





            A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.

            – Makyen
            9 hours ago


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f373385%2fhow-do-i-fix-grub-rescue-uninstallation%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

            GameSpot

            日野市

            Tu-95轟炸機