Skip to content

Can't boot linuxloops Arch.img from external SSD GRUB - ZSTD decompression fails #45

@ImFiru

Description

@ImFiru

Hey sebanc,

I'm trying to boot a linuxloops Arch.img (100GB, BTRFS) from an external SSD. GRUB is installed on the SSD's EFI partition, exFAT data partition has /imgs/Arch.img.

with this menu entry:
menuentry 'Arch1-test' --class 'arch' {
insmod exfat
rmmod tpm
set root=(hd0,gpt2)
set img_path="/imgs/Arch.img"
search --no-floppy --set=root --file "${img_path}"
loopback loop "${img_path}"
linuxloops_args="rdinit=/linuxloops img_path=${img_path} img_uuid=${img_uuid}"
export linuxloops_args
configfile (loop,2)/@boot/grub/grub.cfg
}

I get:

EFI stub: WARNING: Decompression failed: ZSTD-compressed data is corrupt
EFI stub: ERROR: Failed to decompress kernel
error: image not loaded.

Tried insmod zstd gcry_sha256 etc, --force flag, even reaches initramfs sometimes but hangs on /dev/mapper/loop2p2.

Is there something special needed for GRUB on external SSD + linuxloops?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions