Okay so how do i get rid of this encrypted partition?
I just want to remove this first partition i created?
Edit: Never mind i just killed it the quick and dirty way!
Okay so how do i get rid of this encrypted partition?
I just want to remove this first partition i created?
Edit: Never mind i just killed it the quick and dirty way!
Oh sorry. There is an error at Step 6. correct would be:
vgcreate vg0 /dev/mapper/lukslvm
Then the rest will be fine.
I changed the error above.
Yes, that is the easiest way!
Now you tell me! So if all that works…where is the problem where it fails?
During Step13 I always get a freeze.
Apart from the reasons stated from @marteng69 the main ‘problem’ is that the default encrypted system calamares sets up leaves you with a single luks encrypted ext4 partition.
I personally ‘need’ a separate /home for multiple reasons. One is described below …
One way of achieving this is setting up /root, /home and maybe a swap ‘partition’ as logical volumes inside a single encrypted partition. You can then make snapshots of these logical volumes and restore these states should you ever want or need to. Of course you probably wouldn’t want/need to reset your /home data (=personal data) every time you reset your base system, hence the separated logical volumes. This sort of install is described in the LVMonLUKS howto.
Another way which is far easier to set up and works with calamares is described in my BTRFSonLUKS tutorial.
Here we get an encrypted system with separate subvolumes for /, /home, /swap and the cached pkg packages. Root and /home can now also be the sources of separate snapshots. Taking and restoring these btrfs snapshots takes about a second followed by a reboot in the case of restoring. (LVM snaphots also only take a second to create but the restore process mostly takes a lot more time and in some cases needs to be done from a different live system). You can even boot into snapshots should you want to.
Both setups provide me with a way to recover from my testing, tinkering or a problematic upgrade in mere seconds!
So if it works then why is it freezing for @marteng69? I was going to try it just to see if it froze for me but have never done it. So it seems very complicated to an outsider.
Okay i’m trying this again and i am at step 12 and i don’t understand as it’s not allowing me to set /home?
switch to volume group in upper dialog with the drives? In gparted?
it is /devsda2 and say’s file sytem LVM PV
i can access the edit box but it won’t let me change it
Edit: Okay i got that part now for lightdm do you just meant lightdm, lightdm-gtk-greeter andb lightdm-gtk-greeter-settings because that is what i’m doing!
Edir: Started the install procees but i don’t see any terminal open running the background processes so not sure what happened. Maybe i did something wrong?
In @marteng69 's instructions the logical volumes are set up first and then chosen as installation targets (mount points) in calamares. In the next step (step 13) the calamares installer is supposed to take over and install into these lv’s.
Now this may or may not work ( e.g. freeze); it all depends on calamares ability to handle the logical volumes.
In my limited testing the calamares version from the December ISO couldn’t (I haven’t tried the new ISO yet), so I proposed an alternative way of getting the same result.
Complicated if you really feel the need to understand what all those commands do, yes; BUT not ‘complicated’ in the sense of just getting it done. Most tutorials are basically just read somewhat carefully, meaning don’t leave out steps, and then copy & paste. (For example, my wife tested the aforementioned guides and successfully set up the system and I assure you, she had absolutely no idea nor interest in what she was technically doing. )
I just tried it but something went wrong…it didn’t do anything on the install …didn’t freeze but i don’t thinkthe installer was running.
Like I said, you’re most probably trying to ride a dead horse. Calamares and LVM has been a “pita” for as long as I can remember.
Installing the system using the first @2000 tutorial (LVMonLUKS) is only seemingly complicated, IMHO. The main “difficulty” is, I don’t know, probably the correct entry/paste of your own UUID’s into the appropriate files (e.g.: /etc/crypttab, /etc/fstab) and modification of a few lines… On one machine, the installation of EOS with this method works for me over 6 months without any problems (August ISO).
The second tutorial (BTRFSonLUKS) - it looks even easier. As for btrfs, I used to some (unjustified) fears in the past, but I will certainly try the second method.
I didn’t know that Joe did a tutorial for Antergos, I guess I missed it. Sure, if he still is, I’ll take a look at it.
By the way thank you @2000 for that.
Greetings.
How will i know if it’s right if it installs?
Well it didn’t freeze but it failed with mega errors…
Edit …a lot of errors related to no space, bad array, mostly…
Sorry, I don’t quite understand what you’re referring to.
If you mean marteng69’s 14 steps you probably won’t. Even if calamares somehow manages to install into the logical volumes you’d still have to manually adjust a lot of things as described in step 14. You wouldn’t have a bootable system even if step 13 didin’t fail.
Well it failed anyway but it didn’t freeze it got to almost 60% but i was seeing errors from the mirrors. The problem is right now the mirrors aren’t working well so it’s really not a good judge of whether it failed because of the luks stuff or other reasons. I will post the install log.
Edit: for some reason i can’t get the install log to post.
@ricklinux, @2000: Thank you for your efforts and your time!
After trying the encrypted install with my instructions above on several PCs/laptops everytime the installer freezed or even crashed I think that @2000 is right that calamares and LVM seems to be the problem.
Conclusion: If you want to have a more flexible encrypted installation you have to use one of the turorials from @2000.
Can you explain, how you manage to do that?
At the moment I am using “Back in Time” as backup. But this is only file based and would not help me out in a more worse crash if e.g. the /
-partition would get damaged.
Out of curiosity arch or endeavouros mirrors?
I think it would be arch but i really wasn’t looking at it that close and i tried to post the log but for some reason the command wouldn’t work. I ended up dumping it all and just reinstalled this morning using a devel ISO and it was back to normal speed. I was just trying to see if it would freeze trying the encrypted setup he was doing. it didn’t freeze it was actually installing but errors with downloading and i think also with Clamares and the partitions?