Pascal Hambourg schreef op 25-07-2017 20:36:
The easiest way is to create a small filesystem in that partition, I
think.
Not any type of filesystem, because /boot/grub is encrypted so
embedding the core image is required, and you need a filesystem which
supports embedding.
Okay.
AFAIK, GRUB supports embedding with only two filesystems : XFS and
btrfs. Some readings in GRUB changelogs suggested that it may support
embedding with the Minix filesystem, but I could not manage to get it
to work. Unfortunately, XFS and btrfs are not designed for partition
as small as 1 MiB. The smallest size I managed to create a btrfs
filesystem on was 5 MiB (with no available space for files).
And you could create a PV but my patch... whatever. I'm not sure if this
is available by default?
I never tested partition setups because they wouldn't work for me.
So I do have an encrypted setup on a GPT partition table with a BIOS
Boot Partition taking care of the encrypted area I think? I don't
remember. I mean the embedded area.
But I installed directly to /dev/sda, or rather /dev/vda. I didn't
install to that partition.
So I guess you are right with that thing.
But I suppose the 1MB size is not a requirement (a max for this person).
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub