Michael Cox wrote: > I setup an encrypted fs simply by selecting that > option for a partition in the Mandrake disk > partitioning tool (stock mandrake 9.0). On boot, I am > asked to enter the passphrase, but the mount fails > with the generic error about maybe having a bad block, > too many fs, etc. Once boot is complete, I get the > same error if I simply try 'mount /dev/hdaX, but if I > mount via the Mandrake GUI tool everything works OK. > > I have a couple of theories, but this is probably > where my inner-newbie shows through. > > 1) the mount fails during the startup sequence because > the loop filesystems aren't themselves mounted yet; to > fix, can I just reorder things a bit in rc.sysinit? > > 2) there's something missing in /etc/fstab which the > GUI tool is taking care of for me > > Or a combination of 1 and 2. Your /etc/fstab line should look something like this: /dev/hdaX /mountpoint ext2 defaults,noauto,loop=/dev/loop0,encryption=AES128 0 0 ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ Regards, Jari Ruusu <jari.ruusu@pp.inet.fi> - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/