"Initramfs unpacking failed" after installing os

Hello everyone! A couple of days ago i installed EndeavourOS on my pc. Install was successful but after reboot it showed me message Initramfs unpacking failed: invalid magic at start of compressed archive.
I found on forum that rebuilding initramfs using another compression can fix it. I tried all of compression method that can give me dracut but the system showed one of the message:

Initramfs unpacking failed: invalid magic at start of compressed archive
Initramfs unpacking failed: no cpio magic
Initramfs unpacking failed: junk within compressed archive
Initramfs unpacking failed: brocken padding

Also i tried to reinstall linux, udev, dracut and fully reinstall the system but faced the same problem.

Are you sure that the ISO you used for the installation was intact? have you checked the checksum?

Fortunately I haven’t deleted ISO yet. I checked and yep, checksum is correct

Ok, I found the time to search a solution to my problem. During another OS reinstallation, I decided to choose ext4 instead of brtfs, and the system booted correctly. I thought that the problem was in the file system or in Grub, so I installed systemd-boot with btrfs and OS started successfully again. Does this mean that Grub for some reason does not understand btrfs or understands it incorrectly? Is there a way to fix this??