[bug #64475] grub failed to initrd /boot/amd-ucode.img in btrfs partition with bees

Watermelon Rei <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.bugs
Message-ID <[email protected]>
Follow-up Comment #5, bug #64475 (project grub):

Hello, I used 
"qemu-img create -f raw example.img 200M"
to created a 200Mb image file, and 
"losetup /dev/loop0 example.img", 
mounting example.img as a loop device.

Then I formatted the /dev/loop0 by mkfs.btrfs with default options,

"mount /dev/loop0 /boot",
mounting the loop0 device to /boot,
copied the amd-ucode.img file to /boot/amd-ucode_src.img, and I noticed that I
had enabled the zstd compression for my root partition, so I ran 
"btrfs filesystem defragment -r -v -czstd /boot/"
to compress the amd-ucode_src.img file.

After that, started the beesd service for loop0, install the amd-ucode package
by package manager, then I confirmed  the bees deduplicated the
amd-ucode.img.

umount the /boot and "losetup -d /dev/loop0",
I compressed the example.img file with zstd.
I am not sure this image could cause the grub boot failed, just control the
variables as same as possible.
Thanks!

(file #54989)

    _______________________________________________________

Additional Item Attachment:

File name: example.img.zst                Size:61 KB
    <https://file.savannah.gnu.org/file/example.img.zst?file_id=54989>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64475>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.