Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DM-Crypt Loop Device Key auf USB Stick
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
_Poseidon_
n00b
n00b


Joined: 31 Aug 2006
Posts: 44

PostPosted: Sun Apr 06, 2008 11:17 am    Post subject: DM-Crypt Loop Device Key auf USB Stick Reply with quote

Hi!

Ich habe ein Problem mit mit DM-Crypt. Ich habe ein verschlüsesltes LoopDevice welches beim boot gemountet werden soll. Der Key der für die Entschlüsselung benötigt wird liegt auf einem USB Stick. Jetzt is das Problem das der USB Stick erst nachdem Versuch das Device zu entschlüsseln gemountet wird.
In der dmcrypt.conf kann man ja von einem ramdevice booten welches über den Kernel schon temporär gemountet wird (Zumindest vermute ich so dieses Verhalten)
Leider wird dieses Keyfile nicht auf dem Usb Stick gefunden.

Dann hab ich noch nen Problem mit der mount Zeile. Diese Zeile wird immer als ungültig gekennzeichnet. Aber ich hab keine Ahnung wieso, habe schon alle SChreibmöglichkeiten ausprobiert


dmcrypt.conf
Code:

## Loopback file example
target=media
source='/dev/loop0'
loop_file='/home/sven/crypt.raw'
key='/mnt/usb/key.loop0'
remdev='/dev/sdc1'
mount=crypto


fstab
Code:

/dev/sdb3               /boot           ext2            noauto,noatime,nouser   1 2
/dev/sdb4               /               ext3            noatime         0 1
/dev/sdb1               none            swap            sw              0 0
/dev/hda                /mnt/dvdrom     iso9660         noauto,ro,user  0 0
/dev/hdb                /mnt/dvdrw      iso9660         noauto,rw,user  0 0
/dev/sdb2               /mnt/daten      auto            noatime,user,uid=sven   0 0
/dev/sdc1               /mnt/usb        auto            nodev,nosuid,noauto,user,uid=sven   0 0
/dev/sdc2               /mnt/usb2       auto            nodev,nosuid,noauto,user,uid=sven   0 0

#/dev/fd0               /mnt/floppy     auto            noauto          0 0

/dev/mapper/media       /mnt/crypto      ext3           noatime,noexec,nodev,noauto,user        0 0

Back to top
View user's profile Send private message
_Poseidon_
n00b
n00b


Joined: 31 Aug 2006
Posts: 44

PostPosted: Wed Apr 09, 2008 7:37 am    Post subject: Reply with quote

*PUSH*

Hat denn keiner eine Idee? :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum