how to disable 'scanning btrfs filesystem' at system startup












2















After upgrading from Ubuntu 12.04 to Ubuntu 14.04, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds.



I tried to :




  1. blacklist the brtfs module in /etc/modprobe.d

  2. remove btrfs-tools

  3. renamed the executable /sbin/btrfs to p.e /sbin/btrfs.save


Now i get a blank screen for about 15 seconds until the splash screen appears.










share|improve this question





























    2















    After upgrading from Ubuntu 12.04 to Ubuntu 14.04, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds.



    I tried to :




    1. blacklist the brtfs module in /etc/modprobe.d

    2. remove btrfs-tools

    3. renamed the executable /sbin/btrfs to p.e /sbin/btrfs.save


    Now i get a blank screen for about 15 seconds until the splash screen appears.










    share|improve this question



























      2












      2








      2


      1






      After upgrading from Ubuntu 12.04 to Ubuntu 14.04, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds.



      I tried to :




      1. blacklist the brtfs module in /etc/modprobe.d

      2. remove btrfs-tools

      3. renamed the executable /sbin/btrfs to p.e /sbin/btrfs.save


      Now i get a blank screen for about 15 seconds until the splash screen appears.










      share|improve this question
















      After upgrading from Ubuntu 12.04 to Ubuntu 14.04, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds.



      I tried to :




      1. blacklist the brtfs module in /etc/modprobe.d

      2. remove btrfs-tools

      3. renamed the executable /sbin/btrfs to p.e /sbin/btrfs.save


      Now i get a blank screen for about 15 seconds until the splash screen appears.







      14.04 startup btrfs scanning






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 5 '14 at 20:45









      Nischay

      1,68421422




      1,68421422










      asked Jul 5 '14 at 19:58









      user68480user68480

      1613




      1613






















          2 Answers
          2






          active

          oldest

          votes


















          3














          Btrfs isn’t too much stable to be used as deafult file-system. Most Linux distributions, probable all, are still using ext4 as primary file-system. So, you can completely remove it from your computer. Try the given command:



          sudo apt-get purge btrfs-tools


          This command will remove btrfs-tools from your computer. You may need to wait some minutes to complete the process. Your initramfs should be updated automatically but if not happen, do it by this command:



          sudo update-initramfs -ukall


          Then make a grub update:



          sudo update-grub


          All is well. Now make a restart. Hope your Ubuntu will start successfully this time.



          Reference: http://www.ugcoder.com/disable-scanning-for-btrfs-file-systems-in-ubuntu/



          Let me know if you have some questions still.






          share|improve this answer


























          • Could you please include the essential parts of the answer here, and provide the link as a reference.

            – Michael Lindman
            Apr 8 '15 at 10:23





















          0














          On my system it is not the btrfs-scan which is causing the system to hang at boot. Instead there is a background-process trying to figure out where to find the swap-partition. My system has a SSD and plenty of RAM so it has no swap. This causes the background-process which is looking for a swap-partition to run into the void.



          To change this, you can do the following:




          1. In the file /etc/initramfs-tools/conf.d/resume change the statement RESUME=... into RESUME=none


          2. After this update initramfs: sudo update-initramfs -ukall







          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%2f492108%2fhow-to-disable-scanning-btrfs-filesystem-at-system-startup%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









            3














            Btrfs isn’t too much stable to be used as deafult file-system. Most Linux distributions, probable all, are still using ext4 as primary file-system. So, you can completely remove it from your computer. Try the given command:



            sudo apt-get purge btrfs-tools


            This command will remove btrfs-tools from your computer. You may need to wait some minutes to complete the process. Your initramfs should be updated automatically but if not happen, do it by this command:



            sudo update-initramfs -ukall


            Then make a grub update:



            sudo update-grub


            All is well. Now make a restart. Hope your Ubuntu will start successfully this time.



            Reference: http://www.ugcoder.com/disable-scanning-for-btrfs-file-systems-in-ubuntu/



            Let me know if you have some questions still.






            share|improve this answer


























            • Could you please include the essential parts of the answer here, and provide the link as a reference.

              – Michael Lindman
              Apr 8 '15 at 10:23


















            3














            Btrfs isn’t too much stable to be used as deafult file-system. Most Linux distributions, probable all, are still using ext4 as primary file-system. So, you can completely remove it from your computer. Try the given command:



            sudo apt-get purge btrfs-tools


            This command will remove btrfs-tools from your computer. You may need to wait some minutes to complete the process. Your initramfs should be updated automatically but if not happen, do it by this command:



            sudo update-initramfs -ukall


            Then make a grub update:



            sudo update-grub


            All is well. Now make a restart. Hope your Ubuntu will start successfully this time.



            Reference: http://www.ugcoder.com/disable-scanning-for-btrfs-file-systems-in-ubuntu/



            Let me know if you have some questions still.






            share|improve this answer


























            • Could you please include the essential parts of the answer here, and provide the link as a reference.

              – Michael Lindman
              Apr 8 '15 at 10:23
















            3












            3








            3







            Btrfs isn’t too much stable to be used as deafult file-system. Most Linux distributions, probable all, are still using ext4 as primary file-system. So, you can completely remove it from your computer. Try the given command:



            sudo apt-get purge btrfs-tools


            This command will remove btrfs-tools from your computer. You may need to wait some minutes to complete the process. Your initramfs should be updated automatically but if not happen, do it by this command:



            sudo update-initramfs -ukall


            Then make a grub update:



            sudo update-grub


            All is well. Now make a restart. Hope your Ubuntu will start successfully this time.



            Reference: http://www.ugcoder.com/disable-scanning-for-btrfs-file-systems-in-ubuntu/



            Let me know if you have some questions still.






            share|improve this answer















            Btrfs isn’t too much stable to be used as deafult file-system. Most Linux distributions, probable all, are still using ext4 as primary file-system. So, you can completely remove it from your computer. Try the given command:



            sudo apt-get purge btrfs-tools


            This command will remove btrfs-tools from your computer. You may need to wait some minutes to complete the process. Your initramfs should be updated automatically but if not happen, do it by this command:



            sudo update-initramfs -ukall


            Then make a grub update:



            sudo update-grub


            All is well. Now make a restart. Hope your Ubuntu will start successfully this time.



            Reference: http://www.ugcoder.com/disable-scanning-for-btrfs-file-systems-in-ubuntu/



            Let me know if you have some questions still.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 15 '15 at 15:38

























            answered Apr 8 '15 at 10:14









            Md. Maksudur Rahman KhanMd. Maksudur Rahman Khan

            469




            469













            • Could you please include the essential parts of the answer here, and provide the link as a reference.

              – Michael Lindman
              Apr 8 '15 at 10:23





















            • Could you please include the essential parts of the answer here, and provide the link as a reference.

              – Michael Lindman
              Apr 8 '15 at 10:23



















            Could you please include the essential parts of the answer here, and provide the link as a reference.

            – Michael Lindman
            Apr 8 '15 at 10:23







            Could you please include the essential parts of the answer here, and provide the link as a reference.

            – Michael Lindman
            Apr 8 '15 at 10:23















            0














            On my system it is not the btrfs-scan which is causing the system to hang at boot. Instead there is a background-process trying to figure out where to find the swap-partition. My system has a SSD and plenty of RAM so it has no swap. This causes the background-process which is looking for a swap-partition to run into the void.



            To change this, you can do the following:




            1. In the file /etc/initramfs-tools/conf.d/resume change the statement RESUME=... into RESUME=none


            2. After this update initramfs: sudo update-initramfs -ukall







            share|improve this answer




























              0














              On my system it is not the btrfs-scan which is causing the system to hang at boot. Instead there is a background-process trying to figure out where to find the swap-partition. My system has a SSD and plenty of RAM so it has no swap. This causes the background-process which is looking for a swap-partition to run into the void.



              To change this, you can do the following:




              1. In the file /etc/initramfs-tools/conf.d/resume change the statement RESUME=... into RESUME=none


              2. After this update initramfs: sudo update-initramfs -ukall







              share|improve this answer


























                0












                0








                0







                On my system it is not the btrfs-scan which is causing the system to hang at boot. Instead there is a background-process trying to figure out where to find the swap-partition. My system has a SSD and plenty of RAM so it has no swap. This causes the background-process which is looking for a swap-partition to run into the void.



                To change this, you can do the following:




                1. In the file /etc/initramfs-tools/conf.d/resume change the statement RESUME=... into RESUME=none


                2. After this update initramfs: sudo update-initramfs -ukall







                share|improve this answer













                On my system it is not the btrfs-scan which is causing the system to hang at boot. Instead there is a background-process trying to figure out where to find the swap-partition. My system has a SSD and plenty of RAM so it has no swap. This causes the background-process which is looking for a swap-partition to run into the void.



                To change this, you can do the following:




                1. In the file /etc/initramfs-tools/conf.d/resume change the statement RESUME=... into RESUME=none


                2. After this update initramfs: sudo update-initramfs -ukall








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 13 at 14:32









                MichaelMichael

                1




                1






























                    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%2f492108%2fhow-to-disable-scanning-btrfs-filesystem-at-system-startup%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