Folder grub-btrfs exists in /etc/default despite ext4

I did an installation on another computer with ext4 and now I am wondering why there is a folder named grub-btrfs in /etc/default, although the system was not installed with btrfs. What is the reason for this?

edith: typo

:question:

sorry, typo

/etc/default ofcourse

I believe grub-btrfs is included in the default install in case people use btrfs. It is safe to remove if you don’t use btrfs.

1 Like

Thanks @ben75 , that would probably be done with sudo pacman -Rns grub-btrfs, right?

The question is, why does the installer not recognize by itself that no brtfs is present?

The installer simply copies a preset list of packages from the live media to your installed system. I’m sure they could include a script to remove unnecessary packages, but in most cases they are harmless to keep installed.

OK, thanks for your explanations.

You would do

sudo pacman -Syu grub

(and ‘yes’ to replace grub-btrfs)

2 Likes

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.