You are not logged in.

#1 2007-03-07 17:02:14

nGerrit
Member
From: Aachen [GER]
Registered: 2006-09-27
Posts: 36

auto mount encrypted partitions

Hi,
i encrypted my usb-stick today to test if it would run good enough to do it on my home partition. It all works fine but i can't get it to get mounted on startup.

This is from the /etc/fstab

/dev/mapper/stick /dev/sda5 ext3 auto,user 0 0

and i added this to the /etc/crypttab

stick        /dev/sda5

i expected to get an password request on startup but instead i got something like

"could not mount /media/stick device /dev/mapper/stick does not exist..

What have i done wrong?
Is there even a way to mount it automatically? If not i would not make much sense for me to excrypt /home

Thx

ngerrit

Offline

#2 2007-03-08 08:40:23

nGerrit
Member
From: Aachen [GER]
Registered: 2006-09-27
Posts: 36

Re: auto mount encrypted partitions

Hi,
i found out that if i specify my password in the crypttab on bootup the device is mounted. But if i leave it blank or type "none" it is interpreted as the actual password instead of asking for it.
Is this a bug?

nGerrit

Offline

Board footer

Powered by FluxBB