Hi, guys. I am trying to create an initrd from scratch, to use as a
rescue system. It would be a bit big (~60 megs), having all what I'll
need on ramdisk.
Using a Debian system as a base (which has PAM) I tried to copy as
much as I could of pam and related things to be able to use openvt,
but I am having the following errors:
- the usernames and groupnames are not "resolved": when I type "ls
-lhad /", that's what I get:
drwxr-xr-x 13 0 0 4.0K Apr 11 16:09 /
- the openvt command get the following error:
modprobe: FATAL: Could not load
/lib/modules/2.6.12.6-xenU/modules.dep: No such file or directory
modprobe: FATAL: Could not load
/lib/modules/2.6.12.6-xenU/modules.dep: No such file or directory
Couldnt get a file descriptor referring to the console
Could not get a file descriptor referring to the console
And when I try to strace it, I get the following message:
-- supressed --
open("/dev/tty", O_RDWR) = -1 ENXIO (No such device or address)
-- supressed --
If I try to use "cat /dev/tty" it shows me the same message. But if I
try /dev/tty1 it works (ie.: /bin/bash hangs - doesn't trap Ctrl-C -
and doesn't show the message).
Does anyone know what is missing in my tiny initrd?
--
Eduardo Costa Lisboa
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page