initrd missing TTY

From: harry_b
Date: Wed Sep 01 2004 - 08:12:00 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I am not sure where to ask this question but I hope this is the right place.

I am trying to setup an encrypted root partition where the key is stored
gpg-encrypted on an USB memorystick. So far everything works quite nicely
but I fail to get a TTY working in the initial RAM disk.

All I get is gpg complaining:
gpg: cannot open '/dev/tty': No such device or address

Any idea what's necessary to get a TTY within the RAM disk? Or is there any
other way to pass a passphrase to gpg without displaying it on the screen?
(yes, I know about the --no-tty and --passphrase-fd options but when I use
/dev/console the passphrase is visible)

Any ideas or hints?

TIA,
Harry

- --

1024D/40F14012 18F3 736A 4080 303C E61E 2E72 7E05 1F6E 40F1 4012

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/S dx s: a C++ ULS++++$ P+++ L+++$ !E W++ N+ o? K? !w !O !M
V PS+ PE Y? PGP+++ t+ 5-- X+ R+ !tv b++ DI++ D+ G e* h r++ y++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBNcmBfgUfbkDxQBIRAogjAJ9mZhb7zJ+g9EZpvOAwicrKaH8KnwCePw7S
ub5Y1xEeAqwTQTGFF3tgYt8=
=MUFf
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/