[arch-general] Installation: How to get HDD > LUKS > GPT working in a clean way

Merlin Büge toni at bluenox07.de
Sun Nov 27 20:43:57 UTC 2016


Hi,

> > I'm currently installing Arch on my laptop (Thinkpad T400), and have decided
> > for a rather unusual partition scheme: A single LUKS container directly on
> > the disk (SSD) with a GPT partition table and two partitions inside it: one for
> > SWAP, the other one for the system and everyting else, formatted with Btrfs.
> 
> I'm not really answering your question here, but just out of curiosity what's the
> appeal of this approach over doing one of the options described at
> https://wiki.archlinux.org/index.php/Dm-crypt/Swap_encryption:
>
> (1) dm-encrypted swap with a new key generated each boot (what I generally use, is
> the most secure, and works in any case where you don't need to hibernate)

Hibernation :P

> (2) The same thing you're trying to do but with LVM instead of a GPT table

I don't need any LVM functionality and would consider it a little bit overkill
for just dividing available space into two partitions.

> (3) a swap file on your Btrfs volume itself

That's (currently) not possible, see the link you posted.

By the way, please try to add line breaks at about 75 characters, see [0].

Regards,

Merlin

[0] https://wiki.archlinux.org/index.php/Code_of_conduct#Mailing_lists


-- 
Merlin Büge <toni at bluenox07.de>


More information about the arch-general mailing list