Error installing

Not sure if this is the right place to put this, and it’s not something I’m going to wait on a fix for, I just thought you might like to know in case someone really wants Sway on btrfs.

I received this error while attempting to install the Sway community edition with BIOS/GRUB on btrfs.

Running "chroot" ("/tmp/calamares-root-mecz6t_0", "grub-install", "--target=i386-pc", "--recheck", "--force", "/dev/sda") 
2021-07-04 - 06:44:09 [6]:     ..  Target cmd: ("grub-install", "--target=i386-pc", "--recheck", "--force", "/dev/sda") Exit code: 1 output:
 Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: filesystem `btrfs' doesn't support blocklists.
2021-07-04 - 06:44:09 [6]: Python Error:
 <class 'subprocess.CalledProcessError'> 
 Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: filesystem `btrfs' doesn't support blocklists. 
 File "/usr/lib/calamares/modules/bootloader/main.py", line 477, in run
    prepare_bootloader(fw_type)

  File "/usr/lib/calamares/modules/bootloader/main.py", line 449, in prepare_bootloader
    install_grub(efi_directory, fw_type)

  File "/usr/lib/calamares/modules/bootloader/main.py", line 354, in install_grub
    check_target_env_call([libcalamares.job.configuration["grubInstall"],

  File "<string>", line 6, in <module> 
 

    Skipping non-emergency job "scripts" 

    Skipping non-emergency job "umount" 
2021-07-04 - 06:44:09 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    ERROR: Installation failed: "Boost.Python error in job \"bootloader\"." 
2021-07-04 - 06:44:09 [6]:     ..  - message: "Boost.Python error in job \"bootloader\"." 
2021-07-04 - 06:44:09 [6]:     ..  - details: <div><strong>Command 'grub-install --target=i386-pc --recheck --force /dev/sda' returned non-zero exit status 1.</strong></div><div>Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: filesystem `btrfs' doesn't support blocklists.</div><div><br/>Traceback:</div><div><pre>File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 477, in run
    prepare_bootloader(fw_type)

  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 449, in prepare_bootloader
    install_grub(efi_directory, fw_type)

  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 354, in install_grub

BTRFS support in calamares is still not 100% ready, so this is more an upstream BUG for calamares.

Could you give me a hint what exactly you where setup inside installer?
looks like using gpt on BIOS system and manually partition BTRFS ?
So may you miss to setup a BIOS boot partition? or not completely fulfil needed settings for this one?

1 Like

Maybe help:

https://bbs.archlinux.org/viewtopic.php?id=251059

It should work like this:
2021-07-04_14-41
calamares will hint you on this also:
2021-07-04_14-41_1