From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from leo.servertools24.de (leo.servertools24.de [31.47.247.68]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 12 Jun 2014 13:42:36 +0200 (CEST) Received: from [192.168.2.100] (p5B049726.dip0.t-ipconnect.de [91.4.151.38]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: web583p4) by leo.servertools24.de (Postfix) with ESMTP id 72822FDA009 for ; Thu, 12 Jun 2014 13:42:43 +0200 (CEST) Message-ID: <5399922B.9030403@schmidt9.de> Date: Thu, 12 Jun 2014 13:42:35 +0200 From: Andreas MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------090907040505030907060206" Subject: [dm-crypt] how to get a full disk encryption running on Linux Mint 17 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de This is a multi-part message in MIME format. --------------090907040505030907060206 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit hello, having used a Windows-based Truecrypt encryption with pre-boot-authentication for some years, I want to do the corresponding action under Linux. I am using Linux Mint 17 Cinnamon. The system has one harddisk. I already found, read and unsuccessfully tried out - http://blog.andreas-haerter.com/2011/06/18/ubuntu-full-disk-encryption-lvm-luks.sh and - http://community.linuxmint.com/tutorial/view/344 Both tutorials / scripts refer to older Linux versions. Since I am new to Linux I do not know, what syntaxes may have changed. I got things working so far, using a VirtualBox machine, (so Mint 17 x32 is used): - 200 MB primary partition ext3 on /dev/sda1 (unencrypted) as /boot - 9,81 GB crypt-luks on /dev/sda2 (as seen from GParted) This configuration boots up GRUB, Mint's green/white dots start flashing. Then I think a timeout appears - message reads: "Gave up waiting for root device ... ALERT /dev/mapper/ubuntu-root does not exist - dropping to a shell." When I boot up from CD, start "Preferences - Disks" I can use the built-in unlock feature and I see /dev/mapper/luks-0a410528-cde8-440c-891f-ef6068aad0b3 LVM2 Physical Volume (LVM2 001) which consists of /dev/ubuntu/swap (4.1 GB) /dev/ubuntu/root (5.2 GB) /dev/ubuntu/home (1.2 GB) So, the partions exist and can be unlocked. I also can mount e.g. /dev/ubuntu/root Mounted at /media/mint/fc34585c-ca63-4b28-aaca-5a00f3776856 There is /etc/fstab present. It reads (...) /dev/mapper/ubuntu-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=30b080b5-9b39-46c9-9b61-2320efde52dc /boot ext3 defaults 0 2 /dev/mapper/ubuntu-home /home ext4 defaults 0 2 /dev/mapper/ubuntu-swap none swap sw 0 0 There is a good deal accomplished on my way to a disk encryption, but some small problems still prevent it from running flawlessly. I wish to have the system booting up and asking for the passphrase to unlock all three partitions at once. Help would be appreciated. regards, Andreas --------------090907040505030907060206 Content-Type: text/html; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable hello,

having used a Windows-based Truecrypt encryption with pre-boot-authentication for some years, I want to do the corresponding action under Linux. I am using Linux Mint 17 Cinnamon. The system has one harddisk.

I already found, read and unsuccessfully tried out
- http://blog.andreas-hae= rter.com/2011/06/18/ubuntu-full-disk-encryption-lvm-luks.sh
and
- http://community.linuxmint.com/tutorial/view/344<= /a>

Both tutorials / scripts refer to older Linux versions.
Since I am new to Linux I do not know, what syntaxes may have changed.

I got things working so far, using a VirtualBox machine, (so Mint 17 x32 is used):
- 200 MB primary partition ext3 on /dev/sda1 (unencrypted) as /boot
- 9,81 GB crypt-luks on /dev/sda2 (as seen from GParted)

This configuration boots up GRUB, Mint's green/white dots start flashing.
Then I think a timeout appears - message reads:
"Gave up waiting for root device ...
ALERT /dev/mapper/ubuntu-root does not exist - dropping to a shell."

When I boot up from CD, start "Preferences - Disks"
I can use the built-in unlock feature and I see
=A0/dev/mapper/luks-0a410528-cde8-440c-891f-ef6068aad0b3=A0= =A0 LVM2 Physical Volume (LVM2 001)
which consists of
/dev/ubuntu/swap (4.1 GB)
/dev/ubuntu/root (5.2 GB)
/dev/ubuntu/home (1.2 GB)

So, the partions exist and can be unlocked.

I also can mount e.g. /dev/ubuntu/root
Mounted at /media/mint/fc34585c-ca63-4b28-aaca-5a00f3776856

There is /etc/fstab present.
It reads
(...)
/dev/mapper/ubuntu-root /=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 e= xt4=A0=A0=A0 errors=3Dremount-ro 0=A0=A0=A0=A0=A0=A0 1
# /boot was on /dev/sda1 during installation
UUID=3D30b080b5-9b39-46c9-9b61-2320efde52dc /boot=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 ext3=A0=A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 2
/dev/mapper/ubuntu-home /home=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ext4=A0= =A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 2
/dev/mapper/ubuntu-swap none=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 swap=A0= =A0=A0 sw=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 0


There is a good deal accomplished on my way to a disk encryption, but some small problems still prevent it from running flawlessly.

I wish to have the system booting up and asking for the passphrase to unlock all three partitions at once.

Help would be appreciated.

regards,
Andreas



--------------090907040505030907060206--