Specify devices manually in exotic environment

Milan Hauth
2006-08-22T19:26:45Z

Hello there.

Got a quite exotic environment here -- a Compaq Evo T20 thin client, which
I want to run Linux on.

But I'm not satisfied with a completely thin client, meaning that all the
files are located on the server. What I want is the basic system to be
located on the client, while the Unix System Resources, for example, are
mounted from the server, since they're too big for 32MB of Flash memory.

The problem I'm facing at the moment is the T20's BIOS, which doesn't seem
to pass the device information correctly to the Kernel. GRUB (v0.97) does
work with a workaround, which can be found in the document [1] I followed
to 'teach' Linux to the T20.

I already tried to use /proc/sys/kernel/real-root-dev, but setting the
root device to 0x80 (as already specified for GRUB) or 0x81 (1st partition
of 0x80) did not seem to help.

So, did I forget anything when building my Kernel? Or is it just another
trick, I don't know yet?

Hopefully someone here can help me on this one.. have been 'working' on my
cute T20 for several months now.. :-\

Cheers, milahu

[1] http://www.kazak.ws/evo/

PS: Here's my linuxrc:

#!/bin/sh
mount -v -t proc proc /proc
echo 0x80 >/proc/sys/kernel/real-root-dev
mount -o remount,rw /
exec chroot . sh <<- EOF
<dev/console >dev/console 2>&1
exec /sbin/init
EOF
--
proc on /proc type proc (rw)
mount: can't find / in /etc/fstab or /etc/mtab
INIT: version 2.86 booting
INIT: No inittab file found