[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: root-crypto with loop-aes on debian-testing, 2.6.15-1-686



reverend@xxxxxxxxxxxxx wrote:
> Hello-, I used the newest loop-aes.README (10.April 2006) to get my root-fs
> encrypted but failed with something like " no console found".

Most likely this is caused by missing /dev/console device node on your
encrypted root partition. Step 17 of April-10-2006 README is supposed to
make sure that static /dev/console device node exists on your encrypted root
partition. When udev starts up, it mounts a newly created file system on top
of /dev, so that original static nodes are unaccessible. So, after udev is
started, it looks like that there is a /dev/console device node, but your
real udev-less encrypted file system does not have that device node.

To fix, do this:

1)  boot knoppix
2)  mount partition where your key file is
3)  mount your encrypted root partition on /mnt
4)  run these commands:
        mknod -m 600 /mnt/dev/console c 5 1
        mknod -m 666 /mnt/dev/null c 1 3
        mknod -m 666 /mnt/dev/zero c 1 5
5)  unmount /mnt and key file partitions
6)  reboot

However, if your encrypted root partition already contains above mentioned
static device nodes, then please post your bootloader configuration and
time when that error occours (before or after entering passphrase).

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/