lubuntu wont open unless I run specific commands in emergency mode

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I have lubuntu installed on a USB (not burned).



today I accidentally pulled out the USB before I turned off the pc and the installation broke. every time I boot into the USB it boots in emergency mode.



I found this thread and followed the instructions of the first answer up to the point it tells you to apt-get update. after that point i can just exit and it will boot into the OS correctly.



what I want to ask is how can i make it boot correctly without redoing the steps every single time?







share|improve this question



















  • 1. Is there a persistent live or installed system on the USB drive? See this link ; 2. I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it. So you could try to repair the file system, when booted from another drive. This link might help; 3. If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)
    – sudodus
    Jun 1 at 18:41










  • @sudodus I think the second link will work. Thank you! if you post this as an answer ill accept.
    – javajav
    Jun 1 at 20:38















up vote
1
down vote

favorite












I have lubuntu installed on a USB (not burned).



today I accidentally pulled out the USB before I turned off the pc and the installation broke. every time I boot into the USB it boots in emergency mode.



I found this thread and followed the instructions of the first answer up to the point it tells you to apt-get update. after that point i can just exit and it will boot into the OS correctly.



what I want to ask is how can i make it boot correctly without redoing the steps every single time?







share|improve this question



















  • 1. Is there a persistent live or installed system on the USB drive? See this link ; 2. I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it. So you could try to repair the file system, when booted from another drive. This link might help; 3. If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)
    – sudodus
    Jun 1 at 18:41










  • @sudodus I think the second link will work. Thank you! if you post this as an answer ill accept.
    – javajav
    Jun 1 at 20:38













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have lubuntu installed on a USB (not burned).



today I accidentally pulled out the USB before I turned off the pc and the installation broke. every time I boot into the USB it boots in emergency mode.



I found this thread and followed the instructions of the first answer up to the point it tells you to apt-get update. after that point i can just exit and it will boot into the OS correctly.



what I want to ask is how can i make it boot correctly without redoing the steps every single time?







share|improve this question











I have lubuntu installed on a USB (not burned).



today I accidentally pulled out the USB before I turned off the pc and the installation broke. every time I boot into the USB it boots in emergency mode.



I found this thread and followed the instructions of the first answer up to the point it tells you to apt-get update. after that point i can just exit and it will boot into the OS correctly.



what I want to ask is how can i make it boot correctly without redoing the steps every single time?









share|improve this question










share|improve this question




share|improve this question









asked Jun 1 at 17:44









javajav

82




82











  • 1. Is there a persistent live or installed system on the USB drive? See this link ; 2. I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it. So you could try to repair the file system, when booted from another drive. This link might help; 3. If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)
    – sudodus
    Jun 1 at 18:41










  • @sudodus I think the second link will work. Thank you! if you post this as an answer ill accept.
    – javajav
    Jun 1 at 20:38

















  • 1. Is there a persistent live or installed system on the USB drive? See this link ; 2. I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it. So you could try to repair the file system, when booted from another drive. This link might help; 3. If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)
    – sudodus
    Jun 1 at 18:41










  • @sudodus I think the second link will work. Thank you! if you post this as an answer ill accept.
    – javajav
    Jun 1 at 20:38
















1. Is there a persistent live or installed system on the USB drive? See this link ; 2. I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it. So you could try to repair the file system, when booted from another drive. This link might help; 3. If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)
– sudodus
Jun 1 at 18:41




1. Is there a persistent live or installed system on the USB drive? See this link ; 2. I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it. So you could try to repair the file system, when booted from another drive. This link might help; 3. If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)
– sudodus
Jun 1 at 18:41












@sudodus I think the second link will work. Thank you! if you post this as an answer ill accept.
– javajav
Jun 1 at 20:38





@sudodus I think the second link will work. Thank you! if you post this as an answer ill accept.
– javajav
Jun 1 at 20:38











1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted











  • I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it.



    So you could try to repair the file system, when booted from another drive. This link might help,



    Repair the partition table and file system of a pendrive



  • If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)






share|improve this answer





















    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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1042714%2flubuntu-wont-open-unless-i-run-specific-commands-in-emergency-mode%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted











    • I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it.



      So you could try to repair the file system, when booted from another drive. This link might help,



      Repair the partition table and file system of a pendrive



    • If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)






    share|improve this answer

























      up vote
      0
      down vote



      accepted











      • I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it.



        So you could try to repair the file system, when booted from another drive. This link might help,



        Repair the partition table and file system of a pendrive



      • If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)






      share|improve this answer























        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted







        • I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it.



          So you could try to repair the file system, when booted from another drive. This link might help,



          Repair the partition table and file system of a pendrive



        • If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)






        share|improve this answer














        • I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it.



          So you could try to repair the file system, when booted from another drive. This link might help,



          Repair the partition table and file system of a pendrive



        • If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)







        share|improve this answer













        share|improve this answer



        share|improve this answer











        answered Jun 1 at 20:42









        sudodus

        19.8k32666




        19.8k32666






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1042714%2flubuntu-wont-open-unless-i-run-specific-commands-in-emergency-mode%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491