Hi!
I am trying to setup my own version of "Guided - use entire disk and set up encrypted LVM" ref:
By my own version I mean I want it to function like selected option except that I want to create one more extra unencrypted partion.
However I have one problem. If I setup encryption for partition, it no longer allows me to mount it. So I end up with this error:
This is how my partition table looks like (right now on this screenshot it's like default option (with no my custom partition yet)):
My problem is that when I go to encrypted partition I see: use as physical volume for encryption. And I have no option to mount it. if I change it to ext4 journaling file system then I am able to set the mount point but it is no longer encrypted then.
Can anyone tell me what I do wrong and how to do it right?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Need step by step explanation how to set up encrypted partit
-
- Posts: 9
- Joined: 2018-08-01 19:59
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Need step by step explanation how to set up encrypted pa
Do you want to create an UNencrypted or encrypted partition ?SystemUser wrote: I want to create one more extra unencrypted partion
(...) If I setup encryption for partition
I cannot download the full size pictures and the small ones are too small to read.
I'll assume the first sentence was a typo and you want an encrypted partition.
You cannot mount an "encrypted" partition.
After you created the partition and selected the use for encryption, go back to the main partitioning screen and select "Configure encrypted volumes". Then select the partition as the physical volume. This will create an encrypted volume with the name of the partition suffixed by "_crypt". Go back to the main screen again, select the encrypted volume, select the filesystem type and mount point.
EDIT : I can see the full size pictures now. They show no encrypted partition at all, only a partition used as a physical volume for LVM and an LVM logical volume used as a physical volume for encryption (currently unused).
Last edited by p.H on 2018-08-04 06:34, edited 1 time in total.
- Ardouos
- Posts: 1077
- Joined: 2013-11-03 00:30
- Location: Elicoor II
- Has thanked: 1 time
- Been thanked: 4 times
Re: Need step by step explanation how to set up encrypted pa
Explain your process on how you got there?
Here is a guide that I find useful:
http://forums.debian.net/viewtopic.php? ... KS#p643143
Here is a guide that I find useful:
http://forums.debian.net/viewtopic.php? ... KS#p643143
There is only one Debian | Do not break Debian | Stability and Debian | Backports
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
-
- Posts: 9
- Joined: 2018-08-01 19:59
Re: Need step by step explanation how to set up encrypted pa
Finally found something I wanted: https://www.youtube.com/watch?v=KxcpmzFk6kk
I followed that except that I only made separate root and swap partitions and additional unencrypted ext4 partition that I mounted /test. However after setup, gparted shows root and swap as one partition.
I followed that except that I only made separate root and swap partitions and additional unencrypted ext4 partition that I mounted /test. However after setup, gparted shows root and swap as one partition.
- Ardouos
- Posts: 1077
- Joined: 2013-11-03 00:30
- Location: Elicoor II
- Has thanked: 1 time
- Been thanked: 4 times
Re: Need step by step explanation how to set up encrypted pa
If you set root and swap in the same volume group then gparted will see them as one partition.SystemUser wrote:Finally found something I wanted: https://www.youtube.com/watch?v=KxcpmzFk6kk
I followed that except that I only made separate root and swap partitions and additional unencrypted ext4 partition that I mounted /test. However after setup, gparted shows root and swap as one partition.
There is only one Debian | Do not break Debian | Stability and Debian | Backports
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Need step by step explanation how to set up encrypted pa
Nope. If you set root and swap in a volume group, i.e. as logical volumes, Gparted won't see them at all because they are not partitions and Gparted's understanding of LVM is limited to partitions used as physical volumes, so it can resize them. It can see neither volume groups nor logical volumes. Besides, logical volumes belonging to the same volume group, or even segments of the same logical volume can be in different physical volumes.
- Ardouos
- Posts: 1077
- Joined: 2013-11-03 00:30
- Location: Elicoor II
- Has thanked: 1 time
- Been thanked: 4 times
Re: Need step by step explanation how to set up encrypted pa
Not sure if that was directed at me, but thats pretty much what I had said? Maybe I was not clear enough.p.H wrote:Nope. If you set root and swap in a volume group, i.e. as logical volumes, Gparted won't see them at all because they are not partitions and Gparted's understanding of LVM is limited to partitions used as physical volumes
There is only one Debian | Do not break Debian | Stability and Debian | Backports
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Need step by step explanation how to set up encrypted pa
It was.Ardouos wrote:Not sure if that was directed at me
No. You wrote that Gparted can see logical volumes. But it can't. Gparted can see only partitions.Ardouos wrote:but thats pretty much what I had said?
It is like saying that Gparted can see a file in a partition.
- Ardouos
- Posts: 1077
- Joined: 2013-11-03 00:30
- Location: Elicoor II
- Has thanked: 1 time
- Been thanked: 4 times
Re: Need step by step explanation how to set up encrypted pa
I see the way I have laid the sentence out was confusing. That was not the message I way trying to convey.p.H wrote: No. You wrote that Gparted can see logical volumes. But it can't. Gparted can see only partitions.
It is like saying that Gparted can see a file in a partition.
What I was meant to say was:
Root and swap are both logical partitions (in a volume group) in one entire LVM partition. Therefore because Gparted cannot see LVM/mount by default, gparted just sees one physical volume.
I am sorry, I do not mean to cause a misunderstanding. You have already made the clarification.
There is only one Debian | Do not break Debian | Stability and Debian | Backports
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀