You are not logged in.

#1 2024-08-31 22:42:50

Sir_Caljerque
Member
Registered: 2024-08-31
Posts: 3

[SOLVED] ZSTD data corrupted on an encrypted drive

Hello all, first time posting here, so forgive me if I need more information or mess something up.

A few days ago, I was looking at my `mkinitcpio.conf` file and saw that I could compress my initramfs with zstd, so i did.
As it stated in the file, i uncommented
`
COMPRESSION="zstd"
...

COMPRESSION_OPTIONS=(-v)
MODULES_DECOMPRESS="YES"
`
(i must add that i also have the `compress=zstd` option added to the end of the fstab options for my `/dev/mapper/arch-root` and `/dev/mapper/arch-home`)

Today, when i was booting up, i saw an error message that said
`
Initramfs unpacking failed: ZSTD-compressed data is corrupt

password is required to access the luks_lvm volume:
enter the passphrase for /dev/nvme0n1p3:
`
So, when i put my password in to decrypt my drive, it did so without issue and i was able to log in, start my WM and use my computer as normal.

I looked up the issue and found that the cause may have been a lack of space in my `/boot` partition, so i checked and that is 100% not the issue, since im also not dual-booting
I know that computing power is not the issue bc i have a R5 3600, RX5700XT, 16GB 3200MHz RAM, and a fuckton of storage

Every other issue i saw out there had had the PC not be usable anymore, and since that is not my case, i wanted to ask here. I dont want to leave the error alone, as im worried it could worsen later on

any help would be appreciated. Thank you

Last edited by Sir_Caljerque (2024-09-02 13:13:47)

Offline

#2 2024-09-01 09:42:29

seth
Member
Registered: 2012-09-03
Posts: 60,393

Re: [SOLVED] ZSTD data corrupted on an encrypted drive

1. Is this reproducible?
2. can you decompress the initramfs from the running OS w/o issues?
3. There're been cases where the kernel image could not be decompressed and there's pot. a link to SMP (afaicr all intel, though), can you avoid this by passing "maxcpus=1" to the kernel?

Offline

#3 2024-09-02 13:13:21

Sir_Caljerque
Member
Registered: 2024-08-31
Posts: 3

Re: [SOLVED] ZSTD data corrupted on an encrypted drive

1. Yes, it happens every time i boot my system up
2. How do i do that? i looked it up and cant find something that makes sense. i ran `lsinitcpio -a /boot/initramfs-linux.img` i got some gibberish and an error. `mkinitcpio -p linux` solved that issue, so now im going to try to restart system
- it worked. no more "zstd data corrupt". thank you for helping me here

Offline

Board footer

Powered by FluxBB