I have an embedded system with X windows.
Now I try to compress the whole filesystem and boot with this image as initrd.
 
I am using LILO, and my lilo.conf looks looks:
 
....
image = /embedded/boot/bzImage
        ramdisk =10000
        label = embedded
        root = /dev/hda3
 
image = /embedded/boot/bzImage
        ramdisk = 10000
        label = embeddedRD
        initrd = /embedded/rootfs.gz
        root = /dev/ram0
....
 
"rootfs.gz" is /dev/hda3 but compressed.  There is no linuxrc, so the only thing the 
initrd does is decompress rootfs.gz into /dev/ram0 and then mount it as root.
 
Everything works fine, except X Windows.  When I execute startx, I get these errors:
 
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
...
giving up.
xinit: No such file or directory (errno = 2): unable to connect to X server
xinit: No such process (errno = 3): Server error
 
I have compared the root filesystems resulting from booting "embedded" and 
"embeddedRD" and I see no difference.
Any hint how to solve this??
 
Thank you.
--
Carlos Mateo
[EMAIL PROTECTED]

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to