Dual Boot - btrfs Manjaro - grub not remembering last boot

When my system installed Manjaro on ext4 partition - and with proper update of grub template - it would remember the last OS booted. With btrfs install - grub provides an error on boot and only defaults to Manjaro. Still can boot others in list. Are there fixes for this so grub remembers last boot on btrfs installs?

Hi @byron4120,

Please provide the output of:

cat /etc/default/grub

Edit:

Also, what is the error you get when booting?

As far as I know it’s unsupported if /boot partition is btrfs

1 Like

Who around here knows &*&* 'bout BTRFS?

:raised_hand:

At least I know it stands for B-tree file system.

The link @Tomek posted goes directly to section 9.3 of the Arch wiki.

Just above it, section 9.2, states why this may not work with BTRFS:

Recall previous entry
…
This will only work if /boot is not a btrfs, because grub cannot write to btrfs. But it will generate a misleading error message: “sparse file not allowed. Press any key to continue.”.

1 Like

Thanks all – I guess we wait until btrfs writes are enabled. Not a biggie but nice to have. We can set the default boot.

byron

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