error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or...





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I tried to downgrade from debian 10 to debian 9, and after many apt upgrade or aptitute safe-upgrade and full-upgrade, when I rebooted the system it does not load and I get this error:



error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directory
The root filesystem on /dev/sda2 requires a manual fsck


I tried to get the file from another installation and put in the directory (with a live CD):



lib/x86_64-linux-gnu


But still the file seems to not be in the directory (I see it when I navigate directory with live CD).

What I get is this:



(initramfs)


With just few commands.










share|improve this question























  • there's no question here. start by running: fsck dev/sda2

    – Timmy Browne
    Jan 30 at 19:55











  • i can't, i installed debian again.

    – Giacomo Masseroni Chiaro
    Jan 30 at 23:11


















1















I tried to downgrade from debian 10 to debian 9, and after many apt upgrade or aptitute safe-upgrade and full-upgrade, when I rebooted the system it does not load and I get this error:



error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directory
The root filesystem on /dev/sda2 requires a manual fsck


I tried to get the file from another installation and put in the directory (with a live CD):



lib/x86_64-linux-gnu


But still the file seems to not be in the directory (I see it when I navigate directory with live CD).

What I get is this:



(initramfs)


With just few commands.










share|improve this question























  • there's no question here. start by running: fsck dev/sda2

    – Timmy Browne
    Jan 30 at 19:55











  • i can't, i installed debian again.

    – Giacomo Masseroni Chiaro
    Jan 30 at 23:11














1












1








1








I tried to downgrade from debian 10 to debian 9, and after many apt upgrade or aptitute safe-upgrade and full-upgrade, when I rebooted the system it does not load and I get this error:



error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directory
The root filesystem on /dev/sda2 requires a manual fsck


I tried to get the file from another installation and put in the directory (with a live CD):



lib/x86_64-linux-gnu


But still the file seems to not be in the directory (I see it when I navigate directory with live CD).

What I get is this:



(initramfs)


With just few commands.










share|improve this question














I tried to downgrade from debian 10 to debian 9, and after many apt upgrade or aptitute safe-upgrade and full-upgrade, when I rebooted the system it does not load and I get this error:



error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directory
The root filesystem on /dev/sda2 requires a manual fsck


I tried to get the file from another installation and put in the directory (with a live CD):



lib/x86_64-linux-gnu


But still the file seems to not be in the directory (I see it when I navigate directory with live CD).

What I get is this:



(initramfs)


With just few commands.







debian debian-stretch






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 28 at 16:18









Giacomo Masseroni ChiaroGiacomo Masseroni Chiaro

1142




1142













  • there's no question here. start by running: fsck dev/sda2

    – Timmy Browne
    Jan 30 at 19:55











  • i can't, i installed debian again.

    – Giacomo Masseroni Chiaro
    Jan 30 at 23:11



















  • there's no question here. start by running: fsck dev/sda2

    – Timmy Browne
    Jan 30 at 19:55











  • i can't, i installed debian again.

    – Giacomo Masseroni Chiaro
    Jan 30 at 23:11

















there's no question here. start by running: fsck dev/sda2

– Timmy Browne
Jan 30 at 19:55





there's no question here. start by running: fsck dev/sda2

– Timmy Browne
Jan 30 at 19:55













i can't, i installed debian again.

– Giacomo Masseroni Chiaro
Jan 30 at 23:11





i can't, i installed debian again.

– Giacomo Masseroni Chiaro
Jan 30 at 23:11










1 Answer
1






active

oldest

votes


















0














Just hit this myself after recovering from improperly pinned backports.



Reinstall e2fslibs and e2fsprogs and then update the initrd.



apt-get --reinstall install e2fsprogs e2fslibs
update-initramfs -u


(from memory) You can pass -v while rebuilding the ramdisk and grep for ext to make sure the shared library is being included.



I used rescue mode from an install USB drive and let it make a chrooted mount & root shell for me. I invoked bash to make the job easier.



Buster has stub packages for those two but Stretch needs them.






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%2f1399327%2ferror-while-loading-shared-libraries-libext2fs-so-2-cannot-open-shared-object%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









    0














    Just hit this myself after recovering from improperly pinned backports.



    Reinstall e2fslibs and e2fsprogs and then update the initrd.



    apt-get --reinstall install e2fsprogs e2fslibs
    update-initramfs -u


    (from memory) You can pass -v while rebuilding the ramdisk and grep for ext to make sure the shared library is being included.



    I used rescue mode from an install USB drive and let it make a chrooted mount & root shell for me. I invoked bash to make the job easier.



    Buster has stub packages for those two but Stretch needs them.






    share|improve this answer




























      0














      Just hit this myself after recovering from improperly pinned backports.



      Reinstall e2fslibs and e2fsprogs and then update the initrd.



      apt-get --reinstall install e2fsprogs e2fslibs
      update-initramfs -u


      (from memory) You can pass -v while rebuilding the ramdisk and grep for ext to make sure the shared library is being included.



      I used rescue mode from an install USB drive and let it make a chrooted mount & root shell for me. I invoked bash to make the job easier.



      Buster has stub packages for those two but Stretch needs them.






      share|improve this answer


























        0












        0








        0







        Just hit this myself after recovering from improperly pinned backports.



        Reinstall e2fslibs and e2fsprogs and then update the initrd.



        apt-get --reinstall install e2fsprogs e2fslibs
        update-initramfs -u


        (from memory) You can pass -v while rebuilding the ramdisk and grep for ext to make sure the shared library is being included.



        I used rescue mode from an install USB drive and let it make a chrooted mount & root shell for me. I invoked bash to make the job easier.



        Buster has stub packages for those two but Stretch needs them.






        share|improve this answer













        Just hit this myself after recovering from improperly pinned backports.



        Reinstall e2fslibs and e2fsprogs and then update the initrd.



        apt-get --reinstall install e2fsprogs e2fslibs
        update-initramfs -u


        (from memory) You can pass -v while rebuilding the ramdisk and grep for ext to make sure the shared library is being included.



        I used rescue mode from an install USB drive and let it make a chrooted mount & root shell for me. I invoked bash to make the job easier.



        Buster has stub packages for those two but Stretch needs them.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 7 at 20:25









        Bill McGonigleBill McGonigle

        1113




        1113






























            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%2f1399327%2ferror-while-loading-shared-libraries-libext2fs-so-2-cannot-open-shared-object%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

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            Origin of the phrase “under your belt”?