LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Encrypted drive(Mint) - how to install 2nd linux distro (Arch)? (https://www.linuxquestions.org/questions/linux-security-4/encrypted-drive-mint-how-to-install-2nd-linux-distro-arch-4175646678/)

Present 01-21-2019 09:28 PM

Encrypted drive(Mint) - how to install 2nd linux distro (Arch)?
 
Hi,

I installed Mint 19.1 on a new Huawei Mate X Pro i7. Works great and would like to also do an Arch installation. I encrypted the drive...

/etc/crypttab
nvme0n1p3_crypt UUID=23411e4d-e4e2-468b-a840-299dc4eee590 none luks,discard
cryptswap1 UUID=6ad99ccf-a54e-47ce-9adf-9ec5f11d7584 /dev/urandom swap,offset=1$


thanks

edited: Bold crypttab (fdisk -l in next post)

syg00 01-21-2019 11:34 PM

How_To_Ask_a_Question

After 15 years you should know ...

Present 01-22-2019 09:51 AM

HAHA! You're right I SHOULD know...

I'm in Arch, brought wifi up, how do I mount the encrypted drive with fdisk? ... {fdisk -l below}

I haven't done much with encryption and UEFI - didn't see anything on duckduck that was a match.

Thanks for the encouragement. :)

-Edited: I didn't see anything here specifically directed at this either....

Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2C467081-EE04-450B-AF41-69DABF6064B4

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 2549759 1499136 732M Linux filesystem
/dev/nvme0n1p3 2549760 1000214527 997664768 475.7G Linux filesystem


Disk /dev/mapper/nvme0n1p3_crypt: 475.7 GiB, 510802264064 bytes, 997660672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/mint--vg-root: 460 GiB, 493845741568 bytes, 964542464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/mint--vg-swap_1: 15.8 GiB, 16953376768 bytes, 33112064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cryptswap1: 15.8 GiB, 16952852480 bytes, 33111040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


All times are GMT -5. The time now is 09:28 AM.