Disable scanning for btrfs file systems in Ubuntu

4 years, 5 months ago Ubuntu

Firstly. Let me state the issue I was facing with Btrfs file system. Then I'll try to make your sense clear about Btrfs.

I'm a Linux maniac, using Ubuntu for a long time. I used to keep my Ubuntu updated with latest version, security update, patches and specially with latest kernel. So, that day I would make my Software Updater run and get a message that I would need to download 186.23 MB latest updates. I had sufficient data, so I went to update.

After installing the latest updates, I would make a reboot. And then? It was totally a nasty situation. My Ubuntu booted successfully but when the splash screen appeared, it started to blink and print a message “scanning for Btrfs file systems” on screen again and again. I waited about 20 minutes but my Ubuntu not got started fully.

Now I like to tell you something about Btrfs file system. Actually I have come to learn about it from Wikipedia. Here is an important quote:

Btrfs (B-tree file system, variously pronounced: "Butter F S", "Butterface", "Better F S", "B-tree F S", or simply by spelling it out) is a GPL-licensed copy-on-write file system for Linux. Development began at Oracle Corporation in 2007.

Does it make any sense? To be or not to be, forget it. Unfortunately I don't know much about this file-system already posted here, written by Bertel. He has written about Btrfs regarding its mission, difference with ext4 and stability. You may also find some important posts about Linux on there.

Ok, let's go to the main part – how to come to a solution. 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. Have a nice day, dude!

Previous Next
Have you read the comment guideline?

Give me useful, constructive criticism. Spot a typo or an error? Let me know and I will correct it.