Interrupted Ubuntu installation and deleted(?) GRUB











up vote
1
down vote

favorite












I have made an attempt to install Ubuntu 18.10, overwriting existing Ubuntu 15.10. There is also Windows 7 on this PC. The installation taken very long (around 6h) and did not complete. During it the power supply was gone and next run of the computer welcomed me with black screen:



error: file '/boot/grub/i386-pc-normal.mod' not found
Entering rescue mode


I typed



ls


and following was displayed:



(hd0), (hd0,msdos7), (hd0,msdos6), (hd0,msdos5), (hd0,msdos2), (hd0,msdos1)


Than I typed "ls (hd0)" and similar for all displayed. In case of msdos6 it replied:



Filesystem is ext2.


In all other cases it was:



Filesystem is unknown.









share|improve this question







New contributor




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




















  • Please launch gparted (install if not installed) and post a screen shot of the partitions seen by gparted!
    – George Udosen
    Nov 24 at 21:50















up vote
1
down vote

favorite












I have made an attempt to install Ubuntu 18.10, overwriting existing Ubuntu 15.10. There is also Windows 7 on this PC. The installation taken very long (around 6h) and did not complete. During it the power supply was gone and next run of the computer welcomed me with black screen:



error: file '/boot/grub/i386-pc-normal.mod' not found
Entering rescue mode


I typed



ls


and following was displayed:



(hd0), (hd0,msdos7), (hd0,msdos6), (hd0,msdos5), (hd0,msdos2), (hd0,msdos1)


Than I typed "ls (hd0)" and similar for all displayed. In case of msdos6 it replied:



Filesystem is ext2.


In all other cases it was:



Filesystem is unknown.









share|improve this question







New contributor




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




















  • Please launch gparted (install if not installed) and post a screen shot of the partitions seen by gparted!
    – George Udosen
    Nov 24 at 21:50













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have made an attempt to install Ubuntu 18.10, overwriting existing Ubuntu 15.10. There is also Windows 7 on this PC. The installation taken very long (around 6h) and did not complete. During it the power supply was gone and next run of the computer welcomed me with black screen:



error: file '/boot/grub/i386-pc-normal.mod' not found
Entering rescue mode


I typed



ls


and following was displayed:



(hd0), (hd0,msdos7), (hd0,msdos6), (hd0,msdos5), (hd0,msdos2), (hd0,msdos1)


Than I typed "ls (hd0)" and similar for all displayed. In case of msdos6 it replied:



Filesystem is ext2.


In all other cases it was:



Filesystem is unknown.









share|improve this question







New contributor




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











I have made an attempt to install Ubuntu 18.10, overwriting existing Ubuntu 15.10. There is also Windows 7 on this PC. The installation taken very long (around 6h) and did not complete. During it the power supply was gone and next run of the computer welcomed me with black screen:



error: file '/boot/grub/i386-pc-normal.mod' not found
Entering rescue mode


I typed



ls


and following was displayed:



(hd0), (hd0,msdos7), (hd0,msdos6), (hd0,msdos5), (hd0,msdos2), (hd0,msdos1)


Than I typed "ls (hd0)" and similar for all displayed. In case of msdos6 it replied:



Filesystem is ext2.


In all other cases it was:



Filesystem is unknown.






boot system-installation uefi grubrescue






share|improve this question







New contributor




Przemysław 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 question







New contributor




Przemysław 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 question




share|improve this question






New contributor




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









asked Nov 24 at 17:34









Przemysław

61




61




New contributor




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





New contributor





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






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












  • Please launch gparted (install if not installed) and post a screen shot of the partitions seen by gparted!
    – George Udosen
    Nov 24 at 21:50


















  • Please launch gparted (install if not installed) and post a screen shot of the partitions seen by gparted!
    – George Udosen
    Nov 24 at 21:50
















Please launch gparted (install if not installed) and post a screen shot of the partitions seen by gparted!
– George Udosen
Nov 24 at 21:50




Please launch gparted (install if not installed) and post a screen shot of the partitions seen by gparted!
– George Udosen
Nov 24 at 21:50










2 Answers
2






active

oldest

votes

















up vote
0
down vote













See here first tbefore attempting: https://help.ubuntu.com/community/ReinstallWindowsWithoutLosingUbuntu



The graphical way




  1. Turn off machine and insert installation usb, boot your machine and select try ubuntu.


  2. Install and run Boot-Repair


  3. Click "Recommended Repair".
    Now reboot your system. The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows.



Source:



https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows






share|improve this answer























  • Thanks a lot. I had to skip Reinstalling Windows before restoring GRUB - as I do not have Windows CD by me now. Ubuntu runs with no problem now and when I press left shift, GNU GRUB screen appears indeed. However there are only 3 options: Ubuntu Advanced options for Ubuntu System setup System setup leads to error: can't find command 'fwsetup'. Press any key to continue There is nothing that would allow me to run WIndows. However from level of Ubuntu I can find my Windows files undamages - just can not acces to the Windows system itself.
    – Przemysław
    Nov 24 at 19:39












  • PS: I can acces even a directory /Windows/Boot - maybe there is something I could use to restore it from Ubuntu level?
    – Przemysław
    Nov 24 at 19:59


















up vote
0
down vote













I solved it: I have indeed restored GRUB with boot-repair from level of CD with Ubuntu. After that, when accessed to already installed Ubuntu normally I have installed boot-repair again. There is an option, in advanced ones, to change "OS to boot by default" from "OS now in use - Ubuntu" to "Windows (selected via menu)". Now it works perfect.



PS: I have reinstalled Ubuntu 18.10 for experiment and issues as above occured again. Same procedure helped again. Maybe that is because Ubuntu 18.10 installs GRUB2 during OS installation?






share|improve this answer








New contributor




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


















    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',
    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
    });


    }
    });






    Przemysław is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095702%2finterrupted-ubuntu-installation-and-deleted-grub%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    See here first tbefore attempting: https://help.ubuntu.com/community/ReinstallWindowsWithoutLosingUbuntu



    The graphical way




    1. Turn off machine and insert installation usb, boot your machine and select try ubuntu.


    2. Install and run Boot-Repair


    3. Click "Recommended Repair".
      Now reboot your system. The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows.



    Source:



    https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows






    share|improve this answer























    • Thanks a lot. I had to skip Reinstalling Windows before restoring GRUB - as I do not have Windows CD by me now. Ubuntu runs with no problem now and when I press left shift, GNU GRUB screen appears indeed. However there are only 3 options: Ubuntu Advanced options for Ubuntu System setup System setup leads to error: can't find command 'fwsetup'. Press any key to continue There is nothing that would allow me to run WIndows. However from level of Ubuntu I can find my Windows files undamages - just can not acces to the Windows system itself.
      – Przemysław
      Nov 24 at 19:39












    • PS: I can acces even a directory /Windows/Boot - maybe there is something I could use to restore it from Ubuntu level?
      – Przemysław
      Nov 24 at 19:59















    up vote
    0
    down vote













    See here first tbefore attempting: https://help.ubuntu.com/community/ReinstallWindowsWithoutLosingUbuntu



    The graphical way




    1. Turn off machine and insert installation usb, boot your machine and select try ubuntu.


    2. Install and run Boot-Repair


    3. Click "Recommended Repair".
      Now reboot your system. The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows.



    Source:



    https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows






    share|improve this answer























    • Thanks a lot. I had to skip Reinstalling Windows before restoring GRUB - as I do not have Windows CD by me now. Ubuntu runs with no problem now and when I press left shift, GNU GRUB screen appears indeed. However there are only 3 options: Ubuntu Advanced options for Ubuntu System setup System setup leads to error: can't find command 'fwsetup'. Press any key to continue There is nothing that would allow me to run WIndows. However from level of Ubuntu I can find my Windows files undamages - just can not acces to the Windows system itself.
      – Przemysław
      Nov 24 at 19:39












    • PS: I can acces even a directory /Windows/Boot - maybe there is something I could use to restore it from Ubuntu level?
      – Przemysław
      Nov 24 at 19:59













    up vote
    0
    down vote










    up vote
    0
    down vote









    See here first tbefore attempting: https://help.ubuntu.com/community/ReinstallWindowsWithoutLosingUbuntu



    The graphical way




    1. Turn off machine and insert installation usb, boot your machine and select try ubuntu.


    2. Install and run Boot-Repair


    3. Click "Recommended Repair".
      Now reboot your system. The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows.



    Source:



    https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows






    share|improve this answer














    See here first tbefore attempting: https://help.ubuntu.com/community/ReinstallWindowsWithoutLosingUbuntu



    The graphical way




    1. Turn off machine and insert installation usb, boot your machine and select try ubuntu.


    2. Install and run Boot-Repair


    3. Click "Recommended Repair".
      Now reboot your system. The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows.



    Source:



    https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 24 at 18:04

























    answered Nov 24 at 17:58









    George Udosen

    18.5k94265




    18.5k94265












    • Thanks a lot. I had to skip Reinstalling Windows before restoring GRUB - as I do not have Windows CD by me now. Ubuntu runs with no problem now and when I press left shift, GNU GRUB screen appears indeed. However there are only 3 options: Ubuntu Advanced options for Ubuntu System setup System setup leads to error: can't find command 'fwsetup'. Press any key to continue There is nothing that would allow me to run WIndows. However from level of Ubuntu I can find my Windows files undamages - just can not acces to the Windows system itself.
      – Przemysław
      Nov 24 at 19:39












    • PS: I can acces even a directory /Windows/Boot - maybe there is something I could use to restore it from Ubuntu level?
      – Przemysław
      Nov 24 at 19:59


















    • Thanks a lot. I had to skip Reinstalling Windows before restoring GRUB - as I do not have Windows CD by me now. Ubuntu runs with no problem now and when I press left shift, GNU GRUB screen appears indeed. However there are only 3 options: Ubuntu Advanced options for Ubuntu System setup System setup leads to error: can't find command 'fwsetup'. Press any key to continue There is nothing that would allow me to run WIndows. However from level of Ubuntu I can find my Windows files undamages - just can not acces to the Windows system itself.
      – Przemysław
      Nov 24 at 19:39












    • PS: I can acces even a directory /Windows/Boot - maybe there is something I could use to restore it from Ubuntu level?
      – Przemysław
      Nov 24 at 19:59
















    Thanks a lot. I had to skip Reinstalling Windows before restoring GRUB - as I do not have Windows CD by me now. Ubuntu runs with no problem now and when I press left shift, GNU GRUB screen appears indeed. However there are only 3 options: Ubuntu Advanced options for Ubuntu System setup System setup leads to error: can't find command 'fwsetup'. Press any key to continue There is nothing that would allow me to run WIndows. However from level of Ubuntu I can find my Windows files undamages - just can not acces to the Windows system itself.
    – Przemysław
    Nov 24 at 19:39






    Thanks a lot. I had to skip Reinstalling Windows before restoring GRUB - as I do not have Windows CD by me now. Ubuntu runs with no problem now and when I press left shift, GNU GRUB screen appears indeed. However there are only 3 options: Ubuntu Advanced options for Ubuntu System setup System setup leads to error: can't find command 'fwsetup'. Press any key to continue There is nothing that would allow me to run WIndows. However from level of Ubuntu I can find my Windows files undamages - just can not acces to the Windows system itself.
    – Przemysław
    Nov 24 at 19:39














    PS: I can acces even a directory /Windows/Boot - maybe there is something I could use to restore it from Ubuntu level?
    – Przemysław
    Nov 24 at 19:59




    PS: I can acces even a directory /Windows/Boot - maybe there is something I could use to restore it from Ubuntu level?
    – Przemysław
    Nov 24 at 19:59












    up vote
    0
    down vote













    I solved it: I have indeed restored GRUB with boot-repair from level of CD with Ubuntu. After that, when accessed to already installed Ubuntu normally I have installed boot-repair again. There is an option, in advanced ones, to change "OS to boot by default" from "OS now in use - Ubuntu" to "Windows (selected via menu)". Now it works perfect.



    PS: I have reinstalled Ubuntu 18.10 for experiment and issues as above occured again. Same procedure helped again. Maybe that is because Ubuntu 18.10 installs GRUB2 during OS installation?






    share|improve this answer








    New contributor




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






















      up vote
      0
      down vote













      I solved it: I have indeed restored GRUB with boot-repair from level of CD with Ubuntu. After that, when accessed to already installed Ubuntu normally I have installed boot-repair again. There is an option, in advanced ones, to change "OS to boot by default" from "OS now in use - Ubuntu" to "Windows (selected via menu)". Now it works perfect.



      PS: I have reinstalled Ubuntu 18.10 for experiment and issues as above occured again. Same procedure helped again. Maybe that is because Ubuntu 18.10 installs GRUB2 during OS installation?






      share|improve this answer








      New contributor




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




















        up vote
        0
        down vote










        up vote
        0
        down vote









        I solved it: I have indeed restored GRUB with boot-repair from level of CD with Ubuntu. After that, when accessed to already installed Ubuntu normally I have installed boot-repair again. There is an option, in advanced ones, to change "OS to boot by default" from "OS now in use - Ubuntu" to "Windows (selected via menu)". Now it works perfect.



        PS: I have reinstalled Ubuntu 18.10 for experiment and issues as above occured again. Same procedure helped again. Maybe that is because Ubuntu 18.10 installs GRUB2 during OS installation?






        share|improve this answer








        New contributor




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









        I solved it: I have indeed restored GRUB with boot-repair from level of CD with Ubuntu. After that, when accessed to already installed Ubuntu normally I have installed boot-repair again. There is an option, in advanced ones, to change "OS to boot by default" from "OS now in use - Ubuntu" to "Windows (selected via menu)". Now it works perfect.



        PS: I have reinstalled Ubuntu 18.10 for experiment and issues as above occured again. Same procedure helped again. Maybe that is because Ubuntu 18.10 installs GRUB2 during OS installation?







        share|improve this answer








        New contributor




        Przemysław 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




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









        answered 2 days ago









        Przemysław

        61




        61




        New contributor




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





        New contributor





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






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






















            Przemysław is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            Przemysław is a new contributor. Be nice, and check out our Code of Conduct.













            Przemysław is a new contributor. Be nice, and check out our Code of Conduct.












            Przemysław is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095702%2finterrupted-ubuntu-installation-and-deleted-grub%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b