You are not logged in.
Pages: 1
Old
Hi everybody,
i have encrypted my /home with truecrypt.
/etc/crypttab entry:
#home /dev/sda4 ASK
then i inserted this in /etc/fstab
#/dev/mapper/home /home xfs noatime,user 0 0
When I try to mount it at boot it says wrong fs
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Can someone help me please?
Last edited by Psyce (2009-08-12 10:02:52)
Offline
Take a look at this.
http://notes.lokorin.org/2007/1/9/mount … ns-on-boot
But I'd suggest using LUKS,and using crypttab and fstab to do the mounting(as you are trying to do now),without altering anything out of the ordinary.
Offline
Push
Found tcbootscreen on google and tried it, but failed.
Tcbootscreen worked for the decrypt part but when I tried to bring it up in the boot sequence it failed.
This is the tut for Debian(German) http://privat.heinzelzwerg.de/howtos/de … x.html#p27.
Instead of update-rc.d tcbootscreen defaults, I edited my rc.conf and wrote tcbootscreen in the Deamons section.
My new problem is that archlinux doesn't stop the bootsecquence till I encrypted my hard disk. It goes straight to the tty login and then starts tcbootscreen which fails.
Is there a possibility to stop the boot sequence when I use tcbootscreen in the rc.conf or can I write it in the inittab with bootwait?
Offline
Ok I think I got it running with tcbootscreen.
I just wrote the path to the script into rc.sysinit.
tcbootscreen is in /etc/rc.d
Entry in rc.sysinit is
/etc/rc.d/tcbootscreen
I wrote it before /bin/dmesg | /var/log/dmesg.log
I'll test it over the weekend.
Offline
I just discovered that running tcbootscreen is a big security risk!
If you run htop, it will show all commands that were entered to start a program. As tcbootscreen uses Truecrypt's -p Parametern, your password will be just standing there, in full clearly readable text!
Does anyone know of alternatives to tcbootscreen that don't exhibit this flaw? Or rather, is there any possibility of auto-mounting a Truecrypt volume without the -p parameter?
Offline
Pages: 1