Howto install LMDE with LVM (with or without encryption)
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Re: Howto install LMDE with LVM (with or without encryption)
So, with LMDE 2 Betsy not supporting full disk encryption will work be continuing on the scripts mentioned in this thread? I ask because I did use Tom Roche's latest available script with Betsy MATE RC and successfully created a full disk encryption install. There's a caveat though. Near the end of the install I got an error that was 'somewhat like' "CP: cannot stat '/lib/live/boot" Things did seem a little different from that point on but the script did finish, the install boots up, etc. It just feels funny though as if something did not complete correctly. I can't quite put my finger on it. I do know mdm seems a little quirky. As an example the auto logging function can be set but it doesn't happen., atleast not with gdm login themes. You have to physically click on the user name (on a one user system) before login proceeds without the password. Timed login does work but custom times don't appear to be honored. Other system qlitches don't specifically come to mind at the moment, but here are a few other little odd behaviors in other things that I am not experiencing with a non-FDE install. It's just feels like some configurations near the end of the script were not addressed or set up properly. I just can't put my finger on it. I will say that I am a bit disappointed that the developers haven't integrated FDE into LMDE 2 yet but I am sure their reasons for not doing so are valid and we'll eventually have it happen. I am excited and encouraged that we do still have an FDE option, via these scripts, until then.
LMDE Betsy issue
2 responses:Trapper wrote:with LMDE 2 Betsy not supporting full disk encryption will work be continuing on the scripts mentioned in this thread?
- I intend to maintain these scripts until someone more competent (e.g., the "LMDE team") takes them over or replaces them with something better. That being said, there are other things that are currently much higher on my priority list, and are likely to stay above this.
- One of the reasons I put the scripts in a public repository was to ensure that others could fork them for any reason whatsoever, but hopefully to improve them.
Sooo ... does that not empirically imply that LMDE Betsy *does* support full disk encryption? Perhaps you mean that the LMDE Betsy *installer* does not provide full disk encryption as an option? Or am I missing something?Trapper wrote:I did use Tom Roche's latest available script with Betsy MATE RC and successfully created a full disk encryption install.
It certainly sounds like something did not complete correctly, so I made this issue to track the problem. If you (or anyone else out there encountering an error message likeTrapper wrote:There's a caveat though. Near the end of the install I got an error that was 'somewhat like' "CP: cannot stat '/lib/live/boot" Things did seem a little different from that point on but the script did finish, the install boots up, etc. It just feels funny though as if something did not complete correctly.
Code: Select all
cannot stat '/lib/live/boot'
Re: LMDE Betsy issue
I am saying I encountered no provision in Betsy's installer that allowed me to do FDE through it, therefore I reverted to your script.TomRoche wrote:Sooo ... does that not empirically imply that LMDE Betsy *does* support full disk encryption? Perhaps you mean that the LMDE Betsy *installer* does not provide full disk encryption as an option? Or am I missing something?Trapper wrote:I did use Tom Roche's latest available script with Betsy MATE RC and successfully created a full disk encryption install.
I will do more test installs over the next several days and will attempt to better identify what is/isn't transpiring after copying of squashfs. It just seems something relating to Inside() needs alteration for Betsy.
Thanks Tom.
Re: LMDE Betsy issue
I guessed :-) As previously noted, it's "out there" until such time as the LMDE installer provides options (like the Debian installer) for LUKS and LVM2 (or equivalents): the LMDE folks are obviously in a better position to make changes to installers that track underlying changes.Trapper wrote:I encountered no provision in Betsy's installer that allowed me to do FDE through it, therefore I reverted to your script.
Sounds good! Just to reiterate, please post to the issue with any discoveries, and please make a pull request if you have a fix.Trapper wrote:I will do more test installs over the next several days and will attempt to better identify what is/isn't transpiring after copying of squashfs. It just seems something relating to Inside() needs alteration for Betsy.
Re: Howto install LMDE with LVM (with or without encryption)
Actually, when I tried another install on the same hardware the install seemed to complete correctly. I did get the "CP: cannot stat '/lib/live/boot" blurp again but I cannot find any problems at all with the install. Everything seems to be working as it should after several days of usage. Perhaps the first was just a sour install. I will wait until the LMDE2 final is released until I do more.
I did try an install on an older box with legacy nvida video. Had to run the installer in compatibility mode to get video. Uniquely, on first boot I had no video but when I booted up in recovery mode video came up exactly as it should but video discovery in a normal boot fails. That's a different problem though. The FDE install, itself, did go okay.
More after the final release.
I did try an install on an older box with legacy nvida video. Had to run the installer in compatibility mode to get video. Uniquely, on first boot I had no video but when I booted up in recovery mode video came up exactly as it should but video discovery in a normal boot fails. That's a different problem though. The FDE install, itself, did go okay.
More after the final release.
thanks again
Truly it is said by computer scientists, "shi+ happens" :-) Intermittency is the scourge of complex systems.Trapper wrote:Actually, when I tried another install on the same hardware the install seemed to complete correctly. I did get the "CP: cannot stat '/lib/live/boot" blurp again but I cannot find any problems at all with the install. Everything seems to be working as it should after several days of usage. Perhaps the first was just a sour install.
Thanks for doing as much as you have! I *suspect* that, the more we in the community can do in this space, the more likely it is that the LMDE maintainers will pick up this functionality. (but ICBW)Trapper wrote:I will wait until the LMDE2 final is released until I do more.
Re: Howto install LMDE with LVM (with or without encryption)
Hi TomRoche,
Since the original thread author didn't come here since 24 Jul 2013, and LMDE 2 has been released yesterday, I suggest creating a new tutorial in LMDE 2 tutorials section. This way you'll be able to update the first post as many times as you wish.
Since the original thread author didn't come here since 24 Jul 2013, and LMDE 2 has been released yesterday, I suggest creating a new tutorial in LMDE 2 tutorials section. This way you'll be able to update the first post as many times as you wish.
all hail new tutorial
Done. Thanks for the tip!Monsta wrote:I suggest creating a new tutorial in LMDE 2 tutorials section.
Re: Howto install LMDE with LVM (with or without encryption)
Nice. This thread can be closed now, I guess?
Re: Howto install LMDE with LVM (with or without encryption)
I.e., make it read-only, since its manual procedure is referenced from the new tutorial--works for me.Monsta wrote:This thread can be closed now, I guess?
Re: Howto install LMDE with LVM (with or without encryption)
Ok, you can simply click on "report this post" button (with the exclamation mark) and ask to lock it.
seek the new help, (not!) same as the old help
@Monsta: done. I'd point to the request, but can't see how.Monsta wrote:ask to lock it.
@everyone else: if you have further comments, complaints, or questions regarding installing LMDE with encryption or resizeability, please go to the follow-on LMDE2 tutorial thread.