[arch-general] Kpartx should be in the repos and archiso for enabling encrypted GPT install

Eli Schwartz eschwartz at archlinux.org
Sun Jan 13 21:10:58 UTC 2019

On 1/13/19 2:26 PM, Neven Sajko via arch-general wrote:
>> pardon for asking, but why in the heck would you want to partition the
>> encrypted volume? that is going to cause tenfold headache for you down
>> the road.
>> --
>> brent saner
>> https://square-r00t.net/
>> GPG info: https://square-r00t.net/gpg-info
> I need one partition for swap and one for the filesystem mounted on /.

Do you need the swap to be persistent across reboots in order to support
hibernation? If not, it is sufficient to have the swap mounted with a
randomized key.

If you do need hibernation support, the simple method would be to use a
swap file residing on the encrypted /

The more complex method would be to copy the initramfs encrypt hook and
modify it to support an additional encrypted device with a different

None of this needs kpartx.

Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20190113/bc7ac2b8/attachment-0001.asc>

More information about the arch-general mailing list