Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #389939

Bug#1102160: upgrade-reports: Bookworm to Trixie [amd64][EFI] initramfs unpacking failed invalid magic at start of compressed archive

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1102160: upgrade-reports: Bookworm to Trixie [amd64][EFI] initramfs unpacking failed invalid magic at start of compressed archive
Date 2025-04-16 19:50 +0200
Message-ID <KCf3z-dZpo-1@gated-at.bofh.it> (permalink)
References (1 earlier) <KCanf-dWrf-11@gated-at.bofh.it> <KCanf-dWrf-9@gated-at.bofh.it> <KCbsZ-dX61-11@gated-at.bofh.it> <Kyi01-bmHv-3@gated-at.bofh.it> <KCbsZ-dX61-11@gated-at.bofh.it>
Organization Plouf !

Show all headers | View raw


On 16/04/2025 at 15:51, Martin-Éric Racine wrote:
> ke 16.4.2025 klo 15.41 Pascal Hambourg (pascal@plouf.fr.eu.org) kirjoitti:
>> On 16/04/2025 at 13:38, Martin-Éric Racine wrote:
>>>
>>> As the attached screenshot shows, 'fuseblk' seemingly doesn't know
>>> anything about the 'subvol' option for btrfs, which is what causes the
>>> failure to mount root. As to whether this implies a GRUB or Linux
>>> module, I wouldn't know.
>>
>> The failure has nothing to do with fuse.
>> I guess the kernel tries to mount the root filesystem with fuseblk as a
>> last resort *after* the initramfs unpacking failure because it is the
>> only built-in driver, all other block device/filesystem drivers being
>> modules in the initramfs.
> 
> Shouldn't a built-in autofs handle that part?

I am not sure what you mean by "autofs". AFAIK autofs is an on-demand 
mount feature, so irrelevant for the root filesystem. The kernel image 
(vmlinuz) does not have built-in block/filesystem drivers and needs to 
load the related modules from the initramfs in order to be able to mount 
the root filesystem.

> Anyhow, that line about 'subvol' being an unrecognized option for
> fuseblk is significant.

I don't think so. fuseblk is the wrong filesystem type and the "subvol" 
option is intended for btrfs so it is not surprising that it is not 
recognized.

>> If you start grub shell and load the kernel and initramfs by hand, does
>> it show an error when loading the initramfs ?
> 
> No error.

There may be some silent data corruption when grub reads the initramfs.
Can you test with the initramfs on another filesystem type (fat, ext4) ?
Can you test with grub for BIOS/legacy boot ?

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1102160: upgrade-reports: Bookworm to Trixie [amd64][EFI] initramfs unpacking failed invalid magic at start of compressed archive Martin-Éric Racine <martin-eric.racine@iki.fi> - 2025-04-16 16:00 +0200
  Bug#1102160: upgrade-reports: Bookworm to Trixie [amd64][EFI] initramfs unpacking failed invalid magic at start of compressed archive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2025-04-16 19:50 +0200
    Bug#1102160: upgrade-reports: Bookworm to Trixie [amd64][EFI] initramfs unpacking failed invalid magic at start of compressed archive Martin-Éric Racine <martin-eric.racine@iki.fi> - 2025-04-17 06:10 +0200
      Bug#1102160: upgrade-reports: Bookworm to Trixie [amd64][EFI] initramfs unpacking failed invalid magic at start of compressed archive Martin-Éric Racine <martin-eric.racine@iki.fi> - 2025-04-17 09:20 +0200

csiph-web