LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-09-2016, 09:11 PM   #1
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Rep: Reputation: 0
Confused Regarding crypt-luks partition


Hello,

I recently installed Debian 8 on my ThinkPad T420. Everything appears to be working fine, however when looking at my partition scheme I notice an alert next to my home partition /dev/sda3 as being not mounted.. I'm writing from this laptop. I had selected the auto-setup of /home on a separate partition along with LVM. But seems odd it wouldn't be mounted as I am actively saving, installing and using my system.

Curious if there is something I am unaware of..

Thanks!
 
Old 02-09-2016, 09:36 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
You may want to post your partitions on that machine so we can tell what partition /dev/sda3 is:-

Run as 'root'
Code:
fdisk -l
 
Old 02-09-2016, 09:57 PM   #3
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Here it is,

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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

Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 1550335 499712 244M Linux filesystem
/dev/sda3 1550336 488396799 486846464 232.2G Linux filesystem

Disk /dev/mapper/sda3_crypt: 232.1 GiB, 249263292416 bytes, 486842368 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/blackbox--vg-root: 9.3 GiB, 9999220736 bytes, 19529728 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/blackbox--vg-swap_1: 6.7 GiB, 7126122496 bytes, 13918208 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/blackbox--vg-home: 216.2 GiB, 232133754880 bytes, 453386240 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
 
Old 02-09-2016, 10:40 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
This looks like your file system that you allocated 232.2 Gigabytes to.

Code:
/dev/sda3 1550336 488396799 486846464 232.2G Linux filesystem
You also have another file system:
Code:
/dev/sda2 1050624 1550335 499712 244M Linux filesystem
When an operating system is up and running it is already mounted so you were correct.
I think it might be showing the other fs as not mounted.

-::-You might need to run bootinfoscript to give us more information and clarification.-::-
http://bootinfoscript.sourceforge.net/

During your installation I think the auto-setup created /dev/sda2 as /home.
Unless you already created that partition for another Linux os.
 
Old 02-09-2016, 10:54 PM   #5
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Odd, I didn't create /dev/sda2 for another Linux OS. There were three options in the guided setup. One to do all on one partition, the other to put /home on it's own partition and then the manual option.

Attached is my RESULTS.txt

It's stating no bootloader on /dev/sda.
Attached Files
File Type: txt RESULTS.txt (14.9 KB, 11 views)
 
Old 02-10-2016, 11:14 AM   #6
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
You're OK. /dev/sda3 isn't (directly) a filesystem. You have to peel open the layers to see what's inside. /dev/sda3 a LUKS container. That container is unlocked to reveal /dev/mapper/sda3_crypt, which is set up as an LVM physical volume. Within that PV are the logical volumes /dev/mapper/blackbox--vg-root and /dev/mapper/blackbox--vg-home holding your root and /home filesystems.

The 244MB /dev/sda2 partition is your separate /boot filesystem.
 
Old 02-10-2016, 11:17 AM   #7
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Ah, that makes sense looking back over the result output now (in a more caffeinated mindset). Thanks for the insight!
 
Old 02-10-2016, 02:10 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by drew2x View Post
Odd, I didn't create /dev/sda2 for another Linux OS. There were three options in the guided setup. One to do all on one partition, the other to put /home on it's own partition and then the manual option.

Attached is my RESULTS.txt

It's stating no bootloader on /dev/sda.
I read through your bootinfoscript results and it all looks good.

sda1 is your vfat File Allocation Table32
sda2 is an ext 2 partition dedicated to grub files.
sda3 is your crypto_LUKS files and blackbox and vg root.

If you need more information regarding the RESULTS.txt file you will have to wait for our Guru yancek.
He has more experienced with the bootinforscript.
 
Old 02-10-2016, 03:48 PM   #9
drew2x
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: Slackware64 14.2
Posts: 26

Original Poster
Rep: Reputation: 0
Is Gparted useless when utilizing an encrypted LVM setup?
 
Old 02-10-2016, 04:19 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by drew2x View Post
Is Gparted useless when utilizing an encrypted LVM setup?

Generally, g-parted just shows all of the partitions that you currently have and allow you to delete and or resize partitions if necessary.
However if you want to read, create, grow, resize, copy check or label a crypt-luks file system this chart makes it clear that g-parted won't do it.

http://gparted.org/features.php

https://help.ubuntu.com/community/Re...ptedPartitions
https://wiki.archlinux.org/index.php...ng_LVM-on-LUKS
 
  


Reply



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
LXer: How to encrypt a partition with DM-Crypt LUKS on Linux LXer Syndicated Linux News 0 04-24-2015 06:21 AM
Different between Device Mapper and DM-Crypt and Cryptsetup , LUKS saeedsssss Linux - Software 1 10-01-2012 02:57 AM
The performance of plain dm-crypt versus LUKS TwinReverb Linux - General 1 12-05-2011 03:38 AM
Public key crypto with LUKS/dm-crypt? keschrich Linux - Security 0 10-31-2006 03:01 PM
System encryption with dm-crypt and luks? Zmyrgel Slackware 9 09-02-2006 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:23 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