SSD card as system disc check












0















I run Ubuntu on small device that file system is located on SSD card. Suddenly I found some corrupted files. How to know my system files are not corrupted?










share|improve this question


















  • 1





    You can compare hash sums with a backup, assuming there is a backup.

    – mikewhatever
    Feb 20 at 18:36
















0















I run Ubuntu on small device that file system is located on SSD card. Suddenly I found some corrupted files. How to know my system files are not corrupted?










share|improve this question


















  • 1





    You can compare hash sums with a backup, assuming there is a backup.

    – mikewhatever
    Feb 20 at 18:36














0












0








0








I run Ubuntu on small device that file system is located on SSD card. Suddenly I found some corrupted files. How to know my system files are not corrupted?










share|improve this question














I run Ubuntu on small device that file system is located on SSD card. Suddenly I found some corrupted files. How to know my system files are not corrupted?







14.04 ssd disk-check






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 20 at 18:11









vicovico

1,22172649




1,22172649








  • 1





    You can compare hash sums with a backup, assuming there is a backup.

    – mikewhatever
    Feb 20 at 18:36














  • 1





    You can compare hash sums with a backup, assuming there is a backup.

    – mikewhatever
    Feb 20 at 18:36








1




1





You can compare hash sums with a backup, assuming there is a backup.

– mikewhatever
Feb 20 at 18:36





You can compare hash sums with a backup, assuming there is a backup.

– mikewhatever
Feb 20 at 18:36










1 Answer
1






active

oldest

votes


















0














In the terminal...



sudo debsums -s # check the MD5 sums of installed Debian packages



See man debsums for more information about this command.





Also, you can fsck your Ubuntu file system and check for errors...




  • boot to a Ubuntu Live DVD/USB

  • open a terminal window

  • type sudo fdisk -l

  • identify the /dev/XXXX device name for your "Linux Filesystem"

  • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

  • repeat the fsck command if there were errors

  • type reboot




Lastly, if you dual-boot with Windows, and you installed a Windows driver to be able to read/write to ext2/3/4 partitions, remove it ASAP, as it corrupts ext2/3/4 partitions.






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',
    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%2f1119915%2fssd-card-as-system-disc-check%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














    In the terminal...



    sudo debsums -s # check the MD5 sums of installed Debian packages



    See man debsums for more information about this command.





    Also, you can fsck your Ubuntu file system and check for errors...




    • boot to a Ubuntu Live DVD/USB

    • open a terminal window

    • type sudo fdisk -l

    • identify the /dev/XXXX device name for your "Linux Filesystem"

    • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

    • repeat the fsck command if there were errors

    • type reboot




    Lastly, if you dual-boot with Windows, and you installed a Windows driver to be able to read/write to ext2/3/4 partitions, remove it ASAP, as it corrupts ext2/3/4 partitions.






    share|improve this answer




























      0














      In the terminal...



      sudo debsums -s # check the MD5 sums of installed Debian packages



      See man debsums for more information about this command.





      Also, you can fsck your Ubuntu file system and check for errors...




      • boot to a Ubuntu Live DVD/USB

      • open a terminal window

      • type sudo fdisk -l

      • identify the /dev/XXXX device name for your "Linux Filesystem"

      • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

      • repeat the fsck command if there were errors

      • type reboot




      Lastly, if you dual-boot with Windows, and you installed a Windows driver to be able to read/write to ext2/3/4 partitions, remove it ASAP, as it corrupts ext2/3/4 partitions.






      share|improve this answer


























        0












        0








        0







        In the terminal...



        sudo debsums -s # check the MD5 sums of installed Debian packages



        See man debsums for more information about this command.





        Also, you can fsck your Ubuntu file system and check for errors...




        • boot to a Ubuntu Live DVD/USB

        • open a terminal window

        • type sudo fdisk -l

        • identify the /dev/XXXX device name for your "Linux Filesystem"

        • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

        • repeat the fsck command if there were errors

        • type reboot




        Lastly, if you dual-boot with Windows, and you installed a Windows driver to be able to read/write to ext2/3/4 partitions, remove it ASAP, as it corrupts ext2/3/4 partitions.






        share|improve this answer













        In the terminal...



        sudo debsums -s # check the MD5 sums of installed Debian packages



        See man debsums for more information about this command.





        Also, you can fsck your Ubuntu file system and check for errors...




        • boot to a Ubuntu Live DVD/USB

        • open a terminal window

        • type sudo fdisk -l

        • identify the /dev/XXXX device name for your "Linux Filesystem"

        • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

        • repeat the fsck command if there were errors

        • type reboot




        Lastly, if you dual-boot with Windows, and you installed a Windows driver to be able to read/write to ext2/3/4 partitions, remove it ASAP, as it corrupts ext2/3/4 partitions.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 20 at 21:58









        heynnemaheynnema

        20.6k22258




        20.6k22258






























            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%2f1119915%2fssd-card-as-system-disc-check%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