LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09: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 08:13 PM.
 
Old 01-21-2019, 11:34 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
How_To_Ask_a_Question

After 15 years you should know ...
 
Old 01-22-2019, 09: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 08:11 PM. Reason: Clarification
 
  


Reply

Tags
boot, dual, encrypted, install, linux



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 01:30 PM
Installing a distro 2nd drive (1st drive is XP) fails, just get flashing cursor wikapuki Linux - Newbie 31 07-03-2009 09:12 AM
Encrypt 2nd drive without 2nd boot time passphrase: How? gargamel Slackware - Installation 15 05-30-2009 02:50 PM
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04: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 02:38 AM

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

All times are GMT -5. The time now is 10:44 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
Open Source Consulting | Domain Registration