Re: Kpartx should be in the repos and archiso for enabling encrypted GPT install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
password.

None of this needs kpartx.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux