Closed coveritytest closed 1 year ago
This is because grub-install is run on a loop-mounted device and the files from the installation with packages are copied to that (after the fact).
Okay, thanks for the clarification. So in other words, with GRUB installations the rootfs.tar.xz cannot be used as it won't boot when copied to sda2.
It cannot be used in that way; right.
I just discovered that the rfs partition of sda.img.tar.gz differs from the generated rootfs.tar.xz regarding the content of
/boot/grub
. In the rootfs.tar.xz there is only:but in the sda.img.tar.gz there is the whole GRUB setup:
Why is that? As I don't want to use secure boot, I have the following GRUB/EFI packages installed:
So this should be sufficient. I'm using this setup: