Laptop shut down during upgrade to Ubuntu 18.04 not being plugged it to power












0















2 weeks ago I upgraded from Ubuntu 16.00 to 18.04 and all was fine.



Several days ago I got a notification for an upgrade, so I agreed and after that, I realized it was a long one again like upgrading from 16 to 18.04.



Unfortunately, I forgot to connect the laptop to power and the battery drained during the upgrade.



I have attached some a couple of pics of the screen I get while booting:



here



here



Sometimes the process stops at the screens with a Green-colored [OK] before lines, sometimes it stops to the screen with lines without the Green-colored [OK]in front.



What should I do, considering I do not want to lose the files I have on the laptop if possible.



Thanks!










share|improve this question

























  • I tried to add a second pic but it did not work. if it is important I can post a link to it. LE: if I you click the no 1 in my post you can see also the other pic

    – Calin Valean
    Feb 2 at 19:23













  • Boot from live cd, copy needed files to usb flash or another hard drive. Reinstall Ubuntu. Chances you can recover from interrupted update are very little.

    – LeonidMew
    Feb 2 at 19:54











  • thanks! i guess i will do this!

    – Calin Valean
    Feb 2 at 20:10
















0















2 weeks ago I upgraded from Ubuntu 16.00 to 18.04 and all was fine.



Several days ago I got a notification for an upgrade, so I agreed and after that, I realized it was a long one again like upgrading from 16 to 18.04.



Unfortunately, I forgot to connect the laptop to power and the battery drained during the upgrade.



I have attached some a couple of pics of the screen I get while booting:



here



here



Sometimes the process stops at the screens with a Green-colored [OK] before lines, sometimes it stops to the screen with lines without the Green-colored [OK]in front.



What should I do, considering I do not want to lose the files I have on the laptop if possible.



Thanks!










share|improve this question

























  • I tried to add a second pic but it did not work. if it is important I can post a link to it. LE: if I you click the no 1 in my post you can see also the other pic

    – Calin Valean
    Feb 2 at 19:23













  • Boot from live cd, copy needed files to usb flash or another hard drive. Reinstall Ubuntu. Chances you can recover from interrupted update are very little.

    – LeonidMew
    Feb 2 at 19:54











  • thanks! i guess i will do this!

    – Calin Valean
    Feb 2 at 20:10














0












0








0








2 weeks ago I upgraded from Ubuntu 16.00 to 18.04 and all was fine.



Several days ago I got a notification for an upgrade, so I agreed and after that, I realized it was a long one again like upgrading from 16 to 18.04.



Unfortunately, I forgot to connect the laptop to power and the battery drained during the upgrade.



I have attached some a couple of pics of the screen I get while booting:



here



here



Sometimes the process stops at the screens with a Green-colored [OK] before lines, sometimes it stops to the screen with lines without the Green-colored [OK]in front.



What should I do, considering I do not want to lose the files I have on the laptop if possible.



Thanks!










share|improve this question
















2 weeks ago I upgraded from Ubuntu 16.00 to 18.04 and all was fine.



Several days ago I got a notification for an upgrade, so I agreed and after that, I realized it was a long one again like upgrading from 16 to 18.04.



Unfortunately, I forgot to connect the laptop to power and the battery drained during the upgrade.



I have attached some a couple of pics of the screen I get while booting:



here



here



Sometimes the process stops at the screens with a Green-colored [OK] before lines, sometimes it stops to the screen with lines without the Green-colored [OK]in front.



What should I do, considering I do not want to lose the files I have on the laptop if possible.



Thanks!







boot upgrade bootloader






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 3 at 14:24









Community

1




1










asked Feb 2 at 19:18









Calin ValeanCalin Valean

61




61













  • I tried to add a second pic but it did not work. if it is important I can post a link to it. LE: if I you click the no 1 in my post you can see also the other pic

    – Calin Valean
    Feb 2 at 19:23













  • Boot from live cd, copy needed files to usb flash or another hard drive. Reinstall Ubuntu. Chances you can recover from interrupted update are very little.

    – LeonidMew
    Feb 2 at 19:54











  • thanks! i guess i will do this!

    – Calin Valean
    Feb 2 at 20:10



















  • I tried to add a second pic but it did not work. if it is important I can post a link to it. LE: if I you click the no 1 in my post you can see also the other pic

    – Calin Valean
    Feb 2 at 19:23













  • Boot from live cd, copy needed files to usb flash or another hard drive. Reinstall Ubuntu. Chances you can recover from interrupted update are very little.

    – LeonidMew
    Feb 2 at 19:54











  • thanks! i guess i will do this!

    – Calin Valean
    Feb 2 at 20:10

















I tried to add a second pic but it did not work. if it is important I can post a link to it. LE: if I you click the no 1 in my post you can see also the other pic

– Calin Valean
Feb 2 at 19:23







I tried to add a second pic but it did not work. if it is important I can post a link to it. LE: if I you click the no 1 in my post you can see also the other pic

– Calin Valean
Feb 2 at 19:23















Boot from live cd, copy needed files to usb flash or another hard drive. Reinstall Ubuntu. Chances you can recover from interrupted update are very little.

– LeonidMew
Feb 2 at 19:54





Boot from live cd, copy needed files to usb flash or another hard drive. Reinstall Ubuntu. Chances you can recover from interrupted update are very little.

– LeonidMew
Feb 2 at 19:54













thanks! i guess i will do this!

– Calin Valean
Feb 2 at 20:10





thanks! i guess i will do this!

– Calin Valean
Feb 2 at 20:10










2 Answers
2






active

oldest

votes


















0














No downtime during update!



But you can rescue your files hopefully :




  • make USB drive with live system, e. g. Ubuntu


  • boot from USB


  • mount hard drive



Copy all needed files!






share|improve this answer

































    0














    You should never update your system while you are unplugged your charger.



    When you want to update your system do the following steps:




    1. Consider to charge your battery to 100% and stay on charging cable. In case of power outage, at least you will have a chance to finish the installation.


    2. Consider to make a backup of all your necessary documents - do a backup to a cloud (whatever you using) or copy your files to separate drive. If something goes wrong during the update process, you will not lose your documents.


    3. Consider preparing Live USB drive with some sort of rescue image in case you'll need to retrieve some files from broken file system.


    4. Consider updating only on stable releases of SW, unless you are a beta tester, and you need to install unstable SW. This will lower the risk of unpredictable mistakes during the update process.



    I'm your case I would recommend booting from Live USB and try to mount you fs in order to copy some files from it.



    Also, consider reading this:
    upgrade gone bad, no ubuntu, no upgrade, no windows






    share|improve this answer


























    • thanks, but you can image i knew i should not update on battery only. :)

      – Calin Valean
      Feb 2 at 19:50











    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%2f1115070%2flaptop-shut-down-during-upgrade-to-ubuntu-18-04-not-being-plugged-it-to-power%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









    0














    No downtime during update!



    But you can rescue your files hopefully :




    • make USB drive with live system, e. g. Ubuntu


    • boot from USB


    • mount hard drive



    Copy all needed files!






    share|improve this answer






























      0














      No downtime during update!



      But you can rescue your files hopefully :




      • make USB drive with live system, e. g. Ubuntu


      • boot from USB


      • mount hard drive



      Copy all needed files!






      share|improve this answer




























        0












        0








        0







        No downtime during update!



        But you can rescue your files hopefully :




        • make USB drive with live system, e. g. Ubuntu


        • boot from USB


        • mount hard drive



        Copy all needed files!






        share|improve this answer















        No downtime during update!



        But you can rescue your files hopefully :




        • make USB drive with live system, e. g. Ubuntu


        • boot from USB


        • mount hard drive



        Copy all needed files!







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 7 at 18:03

























        answered Feb 2 at 19:23









        LederLeder

        84114




        84114

























            0














            You should never update your system while you are unplugged your charger.



            When you want to update your system do the following steps:




            1. Consider to charge your battery to 100% and stay on charging cable. In case of power outage, at least you will have a chance to finish the installation.


            2. Consider to make a backup of all your necessary documents - do a backup to a cloud (whatever you using) or copy your files to separate drive. If something goes wrong during the update process, you will not lose your documents.


            3. Consider preparing Live USB drive with some sort of rescue image in case you'll need to retrieve some files from broken file system.


            4. Consider updating only on stable releases of SW, unless you are a beta tester, and you need to install unstable SW. This will lower the risk of unpredictable mistakes during the update process.



            I'm your case I would recommend booting from Live USB and try to mount you fs in order to copy some files from it.



            Also, consider reading this:
            upgrade gone bad, no ubuntu, no upgrade, no windows






            share|improve this answer


























            • thanks, but you can image i knew i should not update on battery only. :)

              – Calin Valean
              Feb 2 at 19:50
















            0














            You should never update your system while you are unplugged your charger.



            When you want to update your system do the following steps:




            1. Consider to charge your battery to 100% and stay on charging cable. In case of power outage, at least you will have a chance to finish the installation.


            2. Consider to make a backup of all your necessary documents - do a backup to a cloud (whatever you using) or copy your files to separate drive. If something goes wrong during the update process, you will not lose your documents.


            3. Consider preparing Live USB drive with some sort of rescue image in case you'll need to retrieve some files from broken file system.


            4. Consider updating only on stable releases of SW, unless you are a beta tester, and you need to install unstable SW. This will lower the risk of unpredictable mistakes during the update process.



            I'm your case I would recommend booting from Live USB and try to mount you fs in order to copy some files from it.



            Also, consider reading this:
            upgrade gone bad, no ubuntu, no upgrade, no windows






            share|improve this answer


























            • thanks, but you can image i knew i should not update on battery only. :)

              – Calin Valean
              Feb 2 at 19:50














            0












            0








            0







            You should never update your system while you are unplugged your charger.



            When you want to update your system do the following steps:




            1. Consider to charge your battery to 100% and stay on charging cable. In case of power outage, at least you will have a chance to finish the installation.


            2. Consider to make a backup of all your necessary documents - do a backup to a cloud (whatever you using) or copy your files to separate drive. If something goes wrong during the update process, you will not lose your documents.


            3. Consider preparing Live USB drive with some sort of rescue image in case you'll need to retrieve some files from broken file system.


            4. Consider updating only on stable releases of SW, unless you are a beta tester, and you need to install unstable SW. This will lower the risk of unpredictable mistakes during the update process.



            I'm your case I would recommend booting from Live USB and try to mount you fs in order to copy some files from it.



            Also, consider reading this:
            upgrade gone bad, no ubuntu, no upgrade, no windows






            share|improve this answer















            You should never update your system while you are unplugged your charger.



            When you want to update your system do the following steps:




            1. Consider to charge your battery to 100% and stay on charging cable. In case of power outage, at least you will have a chance to finish the installation.


            2. Consider to make a backup of all your necessary documents - do a backup to a cloud (whatever you using) or copy your files to separate drive. If something goes wrong during the update process, you will not lose your documents.


            3. Consider preparing Live USB drive with some sort of rescue image in case you'll need to retrieve some files from broken file system.


            4. Consider updating only on stable releases of SW, unless you are a beta tester, and you need to install unstable SW. This will lower the risk of unpredictable mistakes during the update process.



            I'm your case I would recommend booting from Live USB and try to mount you fs in order to copy some files from it.



            Also, consider reading this:
            upgrade gone bad, no ubuntu, no upgrade, no windows







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 2 at 19:50

























            answered Feb 2 at 19:43









            GravemindGravemind

            857




            857













            • thanks, but you can image i knew i should not update on battery only. :)

              – Calin Valean
              Feb 2 at 19:50



















            • thanks, but you can image i knew i should not update on battery only. :)

              – Calin Valean
              Feb 2 at 19:50

















            thanks, but you can image i knew i should not update on battery only. :)

            – Calin Valean
            Feb 2 at 19:50





            thanks, but you can image i knew i should not update on battery only. :)

            – Calin Valean
            Feb 2 at 19:50


















            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%2f1115070%2flaptop-shut-down-during-upgrade-to-ubuntu-18-04-not-being-plugged-it-to-power%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido