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?