LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-21-2019, 10:28 PM   #1
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Rep: Reputation: 30
Question 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)

Last edited by Present; 01-22-2019 at 09:13 PM.
 
Old 01-22-2019, 12:34 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,496

Rep: Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742
How_To_Ask_a_Question

After 15 years you should know ...
 
Old 01-22-2019, 10:51 AM   #3
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Original Poster
Rep: Reputation: 30
Talking

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

Last edited by Present; 01-22-2019 at 09:11 PM. Reason: Clarification
 
  


Reply

Tags
boot, dual, encrypted, install, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
blkid not showing encrypted 2nd hard drive on reboot HardenedCriminal Linux - Server 19 12-13-2016 02:30 PM
Installing a distro 2nd drive (1st drive is XP) fails, just get flashing cursor wikapuki Linux - Newbie 31 07-03-2009 10:12 AM
Encrypt 2nd drive without 2nd boot time passphrase: How? gargamel Slackware - Installation 15 05-30-2009 03:50 PM
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 05:01 PM
FC2 install on 2nd drive, no dual-boot, will install modify 1st WinXP drive at all? Equisilus Fedora - Installation 14 06-27-2004 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration