Exact matches only
Search in title
Search in content
Search in posts
Search in pages

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

I am reading page: 1 2 3 4

And you should see this. You are almost where you want to be. This is closer to a Debian desktop than a Linux Mint GNOME desktop. We will have to customize it to look more like an LMDE desktop.
lmdelvm29

Here are suggested steps you can take to make the desktop look just like an LMDE desktop:

  • Right-click on the bottom panel and select “Add to Panel…”Add this following from the list in the window that will open
    1. Clock
    2. mintMenu
    3. Network Monitor
    4. Notification Area
    5. Volume Control
  • Move the applets around
  • Since you now have a duplicate of all that is on the top panel on the bottom panel, you may delete the top panel.

That should do it. Now you have an hybrid Debian-Linux Mint Debian Edition system. Aside from LVM and an encrypted disk, the one other thing I like about this installation is that it allows me to use the traditional root user account system rather than the sudo that is used on LMDE.

Not everything will work as expected. The update manager, mintUpdate, will not, for example, launch from the panel. That is a bug. Also Epiphany will be the only Web browser installed. Uninstall it and Firefox (3.6.13) will be installed automatically. The default language installed will be firefox-l10n-af, the Afrikaans language packs for Firefox. Unless you can read Afrikaans, uninstall it, and the English language pack for Firefox will be installed automatically. Install any other application you need. By the way, if you need to run the fastest and coolest browser on the planet, follow these steps to install Opera 11, the latest stable version of Opera. Evolution is the installed email client. A much better email client is Sylpheed.

To help you manage the disk using a graphical interface, install system-config-lvm either from the Software Manager or from a shell terminal with the following command (a future article will cover basic LVM management techniques):

# apt-get install system-config-lvm

If you need help with any step involved in this tutorial, please use the forum for LMDE.

I am reading page: 1 2 3 4

Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.

22 Comments

  1. MrRabbit says:

    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.

  2. PePas says:

    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

  3. Raymond says:

    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

    • finid says:

      Issues with installation of packages might have more to do with the state of LMDE itself. I haven’t seen any updates about it since it was first released, and with all the projects that the devs are taking on, I see no indication that LMDE will be getting much needed attention any time soon.

      That aside, have you tried installing individual packages as given here?

      And about your partition sizes, what are you doing with a 10 GB Swap partition?

  4. netzgewitter says:

    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/

  5. Brandon says:

    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

  6. Steve says:

    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.

    • finid says:

      Check your sources.list to make sure that you are not mixing repos. If your repos are fine, then run apt-get install –fix-broken mint-meta-debian.

      • Tom says:

        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

        • finid says:

          Ok, it looks like the gstreamer0.10-pitfdll package is no longer in the repository (or is broken). To verify, I uninstalled it from my test system and could not reinstall it. If you run the LMDE Live DVD, you will see that it is installed by default. I think this problem is related to the recent attack on Sourceforge.

          The article has been updated to give the command that works.

        • finid says:

          I think another method of getting around this problem is to add the LMDE installation DVD in the /etc/apt/sources.list file, so that all the packages are installed from it. You can then run apt-get install mint-meta-debain.

          Update: Do not try this. It will not work.

        • steve p. says:

          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 says:

          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 says:

          You can add Lenny repos to fix the problem.

  7. gearge says:

    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?

  8. Eric says:

    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.

    • finid says:

      I do not see how you can do that, but even if you could, it will defeat the whole point of encrypting the disk. And that is that anybody trying to reboot the computer, must supply the passphrase for the machine to reboot successfully. It is the best, direct physical security layer for your data.

      Auto-login is a very convenient tool, but it creates a hole in the (physical) security posture of your computer.

  9. David Miller says:

    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

    • finid says:

      Great catch! You are right. The LMDE installation disk is not needed. I should not have put it in there. The article will be updated to reflect that.

Leave a Comment