#1110763 Calamares fails to install GRUB due to Btrfs layout inconsistency (related to #1104552)

Package:
calamares
Source:
calamares
Description:
distribution-independent installer framework
Submitter:
Andrea -
Date:
2025-08-10 22:33:01 UTC
Severity:
normal
#1110763#5
Date:
2025-08-10 22:15:34 UTC
From:
To:
Dear Debian Developers,

While installing Debian 13 "Trixie" using the GNOME live ISO
(`debian-live-testing-amd64-gnome.iso`), I encountered a GRUB installation
failure during the final step of Calamares.

The error message was:

  /usr/sbin/grub-probe: error: failed to get canonical path of `/dev/sda1`.

Calamares terminated with exit code 1 from the helper script:

  /usr/share/calamares/helpers/calamares-bootloader-config

This appears to be related to bug #1104552, which describes inconsistent
Btrfs subvolume layouts between Calamares and the classic installer. In my
case, Calamares created `@` and `@home` subvolumes, while GRUB seems unable
to resolve the canonical path correctly, possibly due to the subvolume
structure.

I am attaching a screenshot of the error message for reference.

System details:
- ISO: debian-live-testing-amd64-gnome.iso (dated August 2025)
- Calamares version: 3.2.60-2
- GRUB version: grub-pc 2.12-9
- Device: /dev/sda1 (Btrfs)

Please let me know if further logs or system details are needed.

Best regards,
Andrea
Misilmeri, Sicilia

#1110763#10
Date:
2025-08-10 22:31:36 UTC
From:
To:
Gentili sviluppatori,

confermo che il problema si verifica sia con Calamares (live ISO) che con
il Debian Installer classico (netinst ISO).
In entrambi i casi, l’installazione di GRUB fallisce con il seguente errore:

`
grub-probe: error: failed to get canonical path of /dev/sda1
`

Ho allegato due screenshot che mostrano il fallimento in ciascun contesto.

L’ISO è stata generata con live-build su Debian 13 “Trixie”, quindi i
pacchetti provengono direttamente dai repository ufficiali.
La versione di Calamares è 3.2.60-2, GRUB è 2.12-9, e il filesystem è Btrfs
con subvolumi @ e @home.

Questo suggerisce che il bug è legato alla gestione dei subvolumi Btrfs e
alla configurazione automatica di GRUB, indipendentemente dal tipo di
installer usato.

Resto disponibile per fornire ulteriori log o testare eventuali workaround.

Cordiali saluti,
Andrea

Il lun 11 ago 2025, 00:17 Debian Bug Tracking System <owner@bugs.debian.org>
ha scritto: