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]



Le 13/01/2019 à 17:56, Neven Sajko via arch-general a écrit :

> To mount a root GPT partition which resides on an encrypted disk, one
> needs the kpartx tool to make the mapping for the partition (the kernel
> does not independently make those for partitions on device mapper maps,
> which is what a dm-crypt decrypted device is). Thus kpartx needs to be
> on the Archlinux installation ISO to enable that kind of setup.
>
> It would of course first be necessary for an Archlinux Developer or
> Trusted User to adopt kpartx, so I hope there is somebody willing to do
> this ...? Note that kpartx is a common utility and in its own package
> across a lot of distributions; like Debian, Ubuntu, Fedora, OpenSUSE,
> ...
>
> Note: it may be possible to use losetup instead of kpartx so as to make
> a loop device instead of a device map, but that would come with an
> overhead? Another alternative setup, perhaps more widely used, is
> having encrypted LVM. While this does not require kpartx, LVM may be
> undesireable because of its complexity and requiring multiple userspace
> daemons beside Udev.

You don’t need kpartx though. Neither losetup or LVM. I did several
encrypted GPT install without any of them, so I’m pretty confident about
this.

Could you instead describe your actual issue that make you think kpartx
is required?

Regards,
Bruno


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