You are not logged in.
Hello fellow students at the lab!
I recently encrypted a partition of my hdd followning this advice and it works great besides this one problem:
[...]
when I want to keep my folder encrypted and do NOT plugin a USB key during boot process I got error like:Timeout wait for device dev-sda1.device Dependency failed for /mnt/usd Dependency failed for Local File System
I started by changing my /etc/fstab to
[...]
# thumbdrive for decryption purposes
UUID=78B3-4CFC /mnt/usb vfat errors=remount-ro 0 0
# encrypted device on /dev/sda4
UUID=4f08458c-4f86-40fe-919e-b3d01d7ee578 /mnt/secret* ecryptfs rw,exec,auto,async,users,errors=continue 0 0*changed device-path
AFAICS this should force the system to try to mount /dev/sda4 but continue if/when this is impossible but since it doesn`t change the behaviour described earlier i must have got something wrong...
EDIT:
I managed to get things working by adding the nofail and nobootawait option to /etc/fstab. This forces the system to report no errors when disk is not ready or not present (nofail) and skips the halt on boot if errors occur during boot (nobootwait). This second option is not supported for fat filesystems, but you could use errors=continue|remount-ro|panic (which in fact are not applicable on ext2,3,4 filesystems). However, since this seems not to be necessary on debian 8 systems i just didn`t. I think vfat and ntfs are handled more plug`n`play-ish or something...
[...]
# thumbdrive for decryption purposes
UUID=78B3-4CFC /mnt/togo vfat defaults,nofail 0 0
# encrypted device on /dev/sda4
/SPARE/secret /SPARE/secret ecryptfs defaults,nobootwait,nofail 0 0Although i have to admit that this was not too big a deal to figure out, i hope it could be of any help for someone.
naik --greetz
Last edited by Naik (2016-07-13 22:59:36)
"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg
Offline