Package: refind
Version: 0.13.2-1+b1
Severity: important
X-Debbugs-Cc: bgravato+debianb...@gmail.com

Dear Maintainer,

rEFInd on Debian doesn't automatically detect and boot directly the linux image 
if the root partition uses btrfs instead of ext4.

Steps to reproduce:
* clean install of Debian on a modern system using the netinst image
* single partition with root partition manually created (ext4 in one instance, 
btrfs on another instance)
* install refind and select install to ESP option on debconf
* reboot

If the root partition created during install uses ext4 fs it will work as 
expected: on the refind boot menu, besides the grub entry, there will be also 
an option to boot the vmlinuz image on disk directly (bypassing grub)

If the root partition created during install uses btrfs (default btrfs options 
as set by the debian installer), then there is no entry in the refind menu to 
boot the linux image directly.
The only option available is to load grub and then from grub boot into the 
btrfs root partition.

btrfs efi driver is installed in /boot/efi/EFI/refind/drivers_x64/
No partition on this test scenario was encrypted.

I backported and installed the refind version from testing (0.14.2-2), but the 
problem persists.

rEFInd description says it supports btrfs, so I was expecting it would work 
out-of-the-box with btrfs as it does with ext4.

If this is a known issue and there's a known workaround that needs to be 
manually executed, I think it would be helpful to have it in 
/usr/share/doc/refind/README.Debian 


Best regards,
Bruno


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-28-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8), 
LANGUAGE=pt:pt_BR:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages refind depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  efibootmgr             17-2
ii  gdisk                  1.0.9-2.1
ii  mokutil                0.6.0-2
ii  openssl                3.0.15-1~deb12u1

Versions of packages refind recommends:
ii  python3     3.11.2-1+b1
ii  sbsigntool  0.9.4-3.1

refind suggests no packages.

-- Configuration Files:
/etc/refind.d/keys/README.txt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/README.txt'
/etc/refind.d/keys/SLES-UEFI-CA-Certificate.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/SLES-UEFI-CA-Certificate.cer'
/etc/refind.d/keys/SLES-UEFI-CA-Certificate.crt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/SLES-UEFI-CA-Certificate.crt'
/etc/refind.d/keys/altlinux.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/altlinux.cer'
/etc/refind.d/keys/canonical-uefi-ca.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/canonical-uefi-ca.cer'
/etc/refind.d/keys/canonical-uefi-ca.crt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/canonical-uefi-ca.crt'
/etc/refind.d/keys/centossecureboot201.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/centossecureboot201.cer'
/etc/refind.d/keys/centossecureboot201.crt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/centossecureboot201.crt'
/etc/refind.d/keys/centossecurebootca2.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/centossecurebootca2.cer'
/etc/refind.d/keys/centossecurebootca2.crt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/centossecurebootca2.crt'
/etc/refind.d/keys/debian.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/debian.cer'
/etc/refind.d/keys/fedora-ca.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/fedora-ca.cer'
/etc/refind.d/keys/fedora-ca.crt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/fedora-ca.crt'
/etc/refind.d/keys/microsoft-kekca-public.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/microsoft-kekca-public.cer'
/etc/refind.d/keys/microsoft-pca-public.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/microsoft-pca-public.cer'
/etc/refind.d/keys/microsoft-uefica-public.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/microsoft-uefica-public.cer'
/etc/refind.d/keys/microsoft-uefica-public.crt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/microsoft-uefica-public.crt'
/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate-4096.cer [Errno 13] Permissão 
recusada: '/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate-4096.cer'
/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate-4096.crt [Errno 13] Permissão 
recusada: '/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate-4096.crt'
/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate.cer [Errno 13] Permissão 
recusada: '/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate.cer'
/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate.crt [Errno 13] Permissão 
recusada: '/etc/refind.d/keys/openSUSE-UEFI-CA-Certificate.crt'
/etc/refind.d/keys/refind.cer [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/refind.cer'
/etc/refind.d/keys/refind.crt [Errno 13] Permissão recusada: 
'/etc/refind.d/keys/refind.crt'

-- debconf information:
* refind/install_to_esp: true

Reply via email to