Specify devices manually in exotic environment

From: Milan Hauth
Date: Tue Aug 22 2006 - 15:24:10 EST

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:

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