From: Mel (mel at domain csn.ul.ie)
Date: Wed 10 Jul 2002 - 00:49:31 IST
On Wed, 10 Jul 2002, John Gay wrote:
> At the moment, I'm trying to set up nfs from the host to the usermode so the
> usermode can mount /usr/local/OpenOffice1.0 from the host over NFS so I can
> play with the network install of OpenOffice. Unfortunately, the uml linux
> does not have nfs compiled in, and no /lib/modules/<kernerversion> directory
> to get modules from
You can make your own handy enough. Get a working .config from a normal
kernel install complete with NFs modules and do the following
make oldconfig ARCH=um
make linux ARCH=um
make modules ARCH=um
mount root_fs ~/mnt -o loop
make modules_install INSTALL_MOD_PATH=~/mnt
umount ~/mnt
./linux
and load the NFS modules and you're flying it. If you haven't compiled
your own kernel before, you'll need to start there but the questions asked
for UML aren't particularly hard and help is available. Just run make
config ARCH=um and go through them one at a time. It'll take a while but
you'll get there. If menus are your thing
make menuconfig ARCH=um
make oxconfig ARCH=um
are your friends. Personally I find been asked the questions with make
config easier, but thats just me.
> reconise them. I know, it's a long shot, but I really would like to avoid
> building a whole new uml kernel. Unfortunately, the root fs does not have any
> libs or incudes??? I'm installing libc6 now to see if this is enough.
>
I seriously doubt it will be. You need the NFS kernel modules and
compiling your own kernel is the only way to do it. A normal linux module
will not work in UML.
Nice thing with UML, if you get the kernel compile wrong, it doesn't
matter. There isn't anything serious to break ;-)
-- Mel Gorman MSc Student, University of Limerick http://www.csn.ul.ie/~mel
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:47 GMT