[SOLVED] "Scanning for BTRFS file system" during boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
benali72
Level 4
Level 4
Posts: 229
Joined: Sat Mar 23, 2013 11:49 am

[SOLVED] "Scanning for BTRFS file system" during boot

Post by benali72 »

I just installed Mint 19.1 (64-bit / xfce).

The boot waits for about 25 seconds on this message -- "Scanning for BTRFS file system"

I don't have a btrfs file systems on the computer. Is there any way to eliminate this scan and the wait it causes?

Thank you.

PS- I found a couple relevant threads on this issue from older releases of Ubuntu but they give no clear resolution --
http://unix.stackexchange.com/questions ... t-start-up
http://bugs.launchpad.net/ubuntu/+sourc ... ug/1333773
Last edited by benali72 on Wed Jul 11, 2018 3:54 pm, edited 1 time in total.

User avatar
typematrix
Level 1
Level 1
Posts: 11
Joined: Sat Dec 16, 2017 4:32 pm
Contact:

Re: "Scanning for BTRFS file system" during boot

Post by typematrix »

what's output of command? :

journalctl -p 3 -xb

User avatar
thx-1138
Level 8
Level 8
Posts: 2111
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: "Scanning for BTRFS file system" during boot

Post by thx-1138 »

...unless you've hit some kind of mysterious bug, removing btrfs-tools followed by updating initramfs (as described in stackexchange) should do the trick.

benali72
Level 4
Level 4
Posts: 229
Joined: Sat Mar 23, 2013 11:49 am

Re: "Scanning for BTRFS file system" during boot

Post by benali72 »

Thanks everyone.

I looked more closely at that thread at the Stack Exchange -- https://unix.stackexchange.com/question ... t-start-up

The problem went away after I executed --

sudo apt-get purge btrfs-tools
sudo update-initramfs -ukall

sudo apt purge btrfs-progs
sudo update-initramfs -ukall


and then re-booted.

txemamint
Level 1
Level 1
Posts: 15
Joined: Sun Dec 23, 2018 8:33 am

Re: [SOLVED] "Scanning for BTRFS file system" during boot

Post by txemamint »

I deleted swap partition and created a new one. After this the start up delayed about 15 seconds after the line: "Scanning for BTRFS file systems".
The problem was that the file /etc/initramfs-tools/conf.d/resume contained a line like this: RESUME=UUID=a327b21f-79e4-4cab-a042-e15f13e49e3c and that UUID was the UUID of the deleted swap partition. After replacing it with the UUID of the new swap the problem disappeared. The boot was ok again.
Regards;

jape3
Level 1
Level 1
Posts: 8
Joined: Wed Aug 01, 2018 10:58 am

Re: [SOLVED] "Scanning for BTRFS file system" during boot

Post by jape3 »

I had the same problem after migrating the swap partition to a new ssd - fixing the resume file as per the previous post did the trick, thanks :)

User avatar
Wibol
Level 5
Level 5
Posts: 521
Joined: Fri Nov 27, 2015 7:00 am
Location: España

Re: [SOLVED] "Scanning for BTRFS file system" during boot

Post by Wibol »

With dual boot Tricia and grub installed by Manjaro, I had to change the swap UUID:

Code: Select all

sudo nano /etc/initramfs-tools/conf.d/resume
And then:

Code: Select all

sudo update-initramfs -ukall
Thanks.

Antes de realizar una consulta, no olvides:

Post Reply

Return to “Installation & Boot”