Gentoo Archives: gentoo-user-de

From: Thorsten Dikmann <th_mlist@×××××××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] crypto filesystem einrichten
Date: Sat, 14 Aug 2004 14:40:05
Message-Id: 200408141640.01320.th_mlist@dikmann.de
In Reply to: [gentoo-user-de] crypto filesystem einrichten by Volker Katz
1 Ahoi.
2
3
4 > Losetup ist mein Freund, oder? Gibt es da ein gutes Howto, an dem ich
5 > mich entlang hangeln kann - außer natürlich "man losetup"?
6
7 Ein WIRKLICH gutes Tutorial gibt es unter
8
9 http://forums.gentoo.org/viewtopic.php?t=108162
10
11 Im ersten Post wird so ziemlich alles zusammengefasst was auf den Seiten
12 steht, aber lesenswert ist es trotzdem.
13
14 Ich habe mir eine eigene Partition dafür eingerichtet, für mich war das
15 einfacher.
16
17 Performance-Einbußungen stelle ich subjektiv nicht fest, ich habe auf dieser
18 Partiton auch nur meine Daten gespeichert. Je besser dein Prozessor desto
19 weniger Probleme wirst du in Richtung Geschwindigkeit bekommen.
20
21 Ich habe mir ein Script geschrieben welches die partition bei Bedarf mountet
22 und mich zu einer Passworteingabe auffordert. Ist ja 1 min Sache.
23
24 Auf Seite 4 habe ich einen zusammenfassenden "Bericht" über meine
25 Vorgehensweie gepostet, den ich aber eben auch nochmal hier reinkopieren
26 kann:
27
28 --------------------------------------------------
29 Hi!
30
31 For weeks I'm reading this guide now trying around and today i`ve found the
32 time to end it
33
34 Well, I'd liked one special partition (which is SATA -> sda6 over here)
35 crypted. The key should be entered once after a reboot, no USB Key Stick or
36 that stuff.
37
38 Thx to Gentoo Server post above it worked for me with the 2.6:
39
40
41 Quote:
42
43
44
45 this howto has somebugs with 2.6 so i post the right stuff to save somebody
46 else time
47 all part i paypack to gentoo community
48
49 etc ... read above.
50
51
52
53
54 I just followed the steps ... changed them a bit for my system here. So I did
55 something like this (doesn't exactly remind but should be allright in
56 general)
57
58 Remind to enable the cryption you like and cryptoloop in kernel
59
60 1) add crypt losetup -e blowfish-128 /dev/loop0 /dev/sda6 (you can enter the
61 password only one time)
62 2) make filesystem mkreiserfs /dev/loop0
63
64 3) I added the following line to fstab
65
66
67 Code:
68
69
70
71 /dev/sda6 /opt/glftpd/site/crypt reiserfs
72 noauto,users,noatime,loop,encryption=blowfish-128 0 0
73
74
75
76
77 Well, crypting works as I have to enter a password when I mount the drive
78 (wrong pw -> error with filesystem).
79
80 However, mounting /dev/sda6 is confusing me a bit, don't I have to
81 mount /dev/loop0 (which actually doesn't work).
82
83 Has somebody a small explanation or maybe anybody has some more tips etc?
84
85 --------------------------------------------------
86
87 --
88 gentoo-user-de@g.o mailing list