LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Getting X working on UML?

[ILUG] Getting X working on UML?

Mel mel at csn.ul.ie
Wed Jul 10 00:49:31 IST 2002


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





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell