[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: 219
Joined: Sat Mar 23, 2013 11:49 am

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

Post by benali72 » Tue Jul 10, 2018 5:04 pm

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 » Tue Jul 10, 2018 5:21 pm

what's output of command? :

journalctl -p 3 -xb

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

Re: "Scanning for BTRFS file system" during boot

Post by thx-1138 » Wed Jul 11, 2018 2:54 am

...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: 219
Joined: Sat Mar 23, 2013 11:49 am

Re: "Scanning for BTRFS file system" during boot

Post by benali72 » Wed Jul 11, 2018 3:54 pm

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: 8
Joined: Sun Dec 23, 2018 8:33 am

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

Post by txemamint » Sat Dec 29, 2018 7:50 pm

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;

Post Reply

Return to “Installation & Boot”