Partner links

How to install Linux Mint Debian Edition on an encrypted LVM file system

lmdelvm29

These are the default partitions and logical volumes created by the installer. The first partition is a non-LVM boot partition (255 MB with ext2) and the rest of the unallocated space is assigned to the Physical Volume. Three logical volumes (for /, swap, and /home) are created with most of the available space allocated to /home). The default file system used by the Debian Installer on logical volumes is ext3. Continue.
lmdelvm6

Yes, and Continue.
lmdelvm7

I recommend Yes here. Continue.
lmdelvm9

At this stage, the base system is already installed. Sticking with the default choices at this step will prompt the installer to install a set of packages needed to run a complete GNOME desktop. This is one option, and one that I will not recommended for what we are trying to do. My recommendation is to deselect both options.
lmdelvm10

So the window will look just like this one. Continue.
lmdelvm24

The installer will install GRUB, the boot loader, on the Master Boot Record (MBR). You will not always need to install GRUB on the MBR, but for this tutorial, we will take the default. Keep in mind that this article is proceeding on the premise that LMDE will be the only operating system on the computer.Continue.
lmdelvm11

Share:

Facebook
Twitter
Pinterest
LinkedIn

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
22 Comments
Inline Feedbacks
View all comments
MrRabbit
MrRabbit
10 years ago

Hi there and thank you for this great howto.

In the meantime the domain name of “www.debian-multimedia.org” has changed to “www.deb-multimedia.org”. Maybe you’d like to update that.

PePas
PePas
10 years ago

Just so people that find this article are helped in the right direction: I provided a very simple way to get a fully luks encrypted LMDE (201303) install on LVM2. You can read the instructions here: http://j.mp/lmdelukslvm2

Raymond
Raymond
12 years ago

Have several challenges thus far. Installing on laptop which has 3 primary partitions already, a boot a recovery and C:. An unkn virus damaged Win7, took the opportunity to redo the drive. Expanded boot sector from 100mb to ~500mb to allow for LMDE non-encrypt grub. Created through much error (days of guessing) an encrypted-LVM 50G/root 10G/swap 350G/home partitions for LMDE. Still at CLI, pls advise. I would like LMDE, not just looks like, ready for update to announced 3/25/12. Quite a noob, struggled this far.

apt-get install mint-meta-debian #Did not work
apt-get install gdm #Did not work
apt-get install mintmenu #Did not work

Thanks

netzgewitter
12 years ago

Not a bad solution. In my case I had LMDE already installed in a VM first and then transferred it onto an encrypted LVM. That way I didn’t need Debian Testing as a starter. You can read about it here:
http://www.netzgewitter.com/2011/09/how-to-install-linux-mint-debian-edition-lmde-on-an-encrypted-hard-drive/

Brandon
Brandon
12 years ago

This is good, however, I don’t like how the final state is so unlike a standard install. It also requires a fast Internet connection. The following howto sets up a pristine encrypted LVM from the LMDE install DVD while downloading only a few packages:

http://forums.linuxmint.com/viewtopic.php?f=141&t=71159

Steve
Steve
13 years ago

Great tutorial but I have a question.

When I get to the part to run:
apt-get install mint-meta-debian

I get this error:

mint-meta-debian: depends: gstreamer0.10-pitfdll but it is not installable. Broken packages.

Any idea?

I am working with the amd64 netinstall of testing

thanks
Steve.

Tom
Tom
Reply to  finid
13 years ago

apt-get install –fix-broken mint-meta-debian
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mint-meta-debian : Depends: gstreamer0.10-pitfdll but it is not installable
E: Broken packages

steve p.
steve p.
Reply to  Tom
13 years ago

finid,

I will try as you suggest.

Glad to see that the problem I identified was legitimate.

I appreciate your work.
Steve.

Best Regards
Steve.

Steve
Steve
Reply to  Tom
13 years ago

finid,

We are closer now.

This is what I found:

1. apt-get install -m mint-meta-debian does not work.

2. when attempting to install those packages individually, certain are not found, like mint-artwork-gnome (did you mean art-work-debian?), mint-artwork-common, and maybe others. Note: These are not found, so the gstream issue does not seem to apply.

The other items of note are:
1. software manager launches from desktop and appears to work
2. software sources – can not change sources.
3. synaptic package manager – works from desktop and works.
4. update manager – not sure if it really works.
5. uninstalling epiphany did not appear to cause firefox to install. so I installed the firefox english pack first, then firefox and it installed the english firefox.

In general, the approach you outline does work.

Thanks
Steve.

yarlson
yarlson
Reply to  Tom
12 years ago

You can add Lenny repos to fix the problem.

gearge
gearge
13 years ago

After being accustomed to “inteli” installers for RPM based distributions, I must say that Debian has an impressively smart installer – offering to do exactly what I want it to.

Great introduction to the world of Debian. I am quite impressed. Who knows, may be a new Debian contributor has emerged out of this 🙂

One question: in Debian-testing, is Nouveau 2D/3D driver installed by the first Debian DVD, or will the drivers be added by the Mint meta package?

Eric
Eric
13 years ago

Nice! I’m using Crunchbang (based on Debian Squeeze) so I think it should also work?
Is there a way so the passphrase will be transaparent? I mean just like Ubuntu? I don’t need to enter it each time I boot my machine.

David Miller
David Miller
13 years ago

Great tutorial! I have not performed this step-by-step but I a question. When is the Debian Mint Installation image used? It seems that the Debian install disk is used to install a basic Debian system, the apt sources file is modified to point at LMDE repositories, and a system upgrade is then performed. Is this correct or am I missing something?

Again, great tutorial.
Regards,
Dave

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
22
0
Hya, what do you think? Please comment.x
()
x