Re: Problem with root filesystem encryption

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

 



Michael Böhm wrote:
> Encrypted file system, please supply correct password to continue
> 
> Password:
> gpg: failed to create temporary file `/lib/.#lk0x8162458.(none).665´:
> Read-only file system
> gpg: can't allocate lock for `/lib/secring.gpg´
> gpg: keyblock resource `/lib/secring.gpg´: general error
> gpg: failed to create temporary file `/lib/.#lk0x8162458.(none).665´:
> Read-only file system
> gpg: can't allocate lock for `/lib/pubring.gpg´
> gpg: keyblock resource `/lib/pubring.gpg´: general error
> gpg: cannot open `/dev/tty´: No such device or address

Above "cannot open `/dev/tty´: No such device or address" is the cause of
this failure. /dev/tty device node is created inside the initrd by
build-initrd.sh line 700, but for some reason your kernel does not have
support for that device built in.

Can you provide output of "ls -l /dev/tty" command and your kernel config
(bzip2 compressed preferred)?

Are you using udev created /dev/* names? Any chance of disabling udev?

> Error: gpg key file decryption failed
> Command "/lib/losetup -e AES256   -I 0 -K /lib/rootkey.gpg -G /lib
> /dev/loop0 /dev/hda7" returned error

These errors are caused by above /dev/tty open failure.

-- 
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/



[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux