Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Verschlüsseltes Array Automatisch Starten

Featured Replies

Moin,
Ich hab meine Festplatten alle verschlüsselt und jetzt ist mir aufgefallen das Ich bei jedem Start das Passwort eingeben muss um das Array zu Starten.

Geht das nicht irgendwie Automatisch? Ja ich weiß das dann weniger sicher aber trotzdem ist es extrem nervig.

 

 

  • Community Expert

Was sagst du dazu:

 

 

 

 

 

 

  • Author

Funktioniert nicht richtig, ab Version gibt es die Keyfile Datei nicht mehr, also hab ich eine selbstgemacht und diese auf one drive gepackt und diese wird mit wget downgeloadet und nach /root/keyfile kopiert .

 

Nach einem Neustart liegt die Datei auch in root/keyfile aber das array wird nicht gestartet "der key ist wohl falsch" wenn ich mir aber mit Nano diese Datei anschaue steht da exakt nur mein Key drin, wenn ich dann händisch unter main die Datei angebe und genau die Datei aus meinem One Drive nehme klappt es.

Hat vielleicht jemand eine Idee?

 

So jetzt der "funny" part. Ich hab die Datei aus meinem Onedrive genommen auf den Stick vom Unraid kopiert und dann per go file in den /root/keyfile kopiert. Dann klappt es aber die Datei mit Nano schaut genauso aus.

hier noch der log (wenn es per wget geholt wird):

Apr 11 22:30:16 SchackSchack emhttpd: shcmd (22): /usr/sbin/cryptsetup luksOpen /dev/md1 md1 --allow-discards --key-file=/root/keyfile
Apr 11 22:30:16 SchackSchack kernel: device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: [email protected]
Apr 11 22:30:18 SchackSchack root: No key available with this passphrase.
Apr 11 22:30:18 SchackSchack emhttpd: shcmd (22): exit status: 2
Apr 11 22:30:18 SchackSchack emhttpd: shcmd (24): /usr/sbin/cryptsetup luksOpen /dev/md2 md2 --allow-discards --key-file=/root/keyfile
Apr 11 22:30:20 SchackSchack root: No key available with this passphrase.
Apr 11 22:30:20 SchackSchack emhttpd: shcmd (24): exit status: 2
Apr 11 22:30:20 SchackSchack emhttpd: shcmd (26): /usr/sbin/cryptsetup luksOpen /dev/md3 md3 --allow-discards --key-file=/root/keyfile
Apr 11 22:30:22 SchackSchack root: No key available with this passphrase.
Apr 11 22:30:22 SchackSchack emhttpd: shcmd (26): exit status: 2
Apr 11 22:30:22 SchackSchack emhttpd: shcmd (28): /usr/sbin/cryptsetup luksOpen /dev/nvme0n1p1 nvme0n1p1 --allow-discards --key-file=/root/keyfile
Apr 11 22:30:23 SchackSchack root: No key available with this passphrase.
Apr 11 22:30:23 SchackSchack emhttpd: shcmd (28): exit status: 2
Apr 11 22:30:23 SchackSchack emhttpd: Wrong encryption key

 

Edited by farco

...lass mal nano stecken....welche Zeichen sind noch drin, zB CR/LF?

Mach mal ein "cat -vet /root/keyfile"

  • Community Expert

Stimmen die Rechte der Datei? Vielleicht gibt es keine Leserechte?

  • Author

Moin,

sorry das Ich mich erst so spät wieder zurückmelde. Ich will aber noch "meine Lösung schreiben".

Es lag wohl wie @mgutt vermutet hatte an den Rechten. Wenn die Datei aus dem OneDrive geladen wurde fehlten die Leserechte. Ich habe diese dann angepasst und jetzt "stimmen" diese auch nach jedem Reboot und das Array wird gestartet.

 

Danke nochmals für den Hinweis.

  • 3 years later...

Gibt es auch eine Anleitung für Dummies?

7 minutes ago, Kono said:

Gibt es auch eine Anleitung für Dummies?

in post #2 ? ...

 

woran hängt es dabei ?

nichts, das ist ein super dummie video.

aber...

ich bekomme kein keyfile erzeugt:

cp /root/keyfile /boot/keyfile
cp: cannot stat '/root/keyfile': No such file or directory

 

  • Community Expert
2 hours ago, Kono said:

bekomme kein keyfile erzeugt

Der Befehl "cp" steht für copy.

Es wird also davon ausgegangen, das bereits ein Keyfile existiert, welches kopiert werden kann.

 

Erzeugen kannst Du es beispielsweise so:

dd if=/dev/urandom of=/root/keyfile bs=64 count=1

👍 DANKE

Das hat wunderbar funktioniert !!!

Jetzt kann ich weitermachen und schauen ob ich den Rest auch noch hinbekomme.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.