Is it at all possible to use not any partitions at all?
I know if I encrypted the entire device (e.g. /dev/sda) then grub won’t want to install complaining about having no place to embed itself. Although the LUKS offset is 4096 sectors I think, so it should really give 2MB of space, not sure.
Well given that that doesn’t work, what I want can’t work either. But supposing you didn’t use encryption of the main device.
Is it possible to create a physical volume for LVM without having any partition table on the device? I mean the PV would still need to be found. I don’t think there’s a measure for that. I don’t think it can work just like that.
But maybe there’s a way?
All that would really be required would be for the PV to have an offset that is pretty standard and allows it to be recognised, while allowing grub to install above that.
Same thing with Luks really. I don’t know why Grub can’t install there. Indeed LUKS creates a container 4096 sectors smaller than the device.
But the header might just be above it, meaning it doesn’t do much for ya.
If there was a provision for some space between. What is probably going on is that LUKS puts itself after the MBR but without any space, and Grub needs that space.
I don’t know, I would have to dig into it. Don’t feel like it.
Partitions have boot records too, after all. Right now if I want a fully encrypted system I have to … well.
Anyway.