Le Vendredi 17 Mai 2002 17:47, vous avez �crit :
> I have been using the Oxygen LEAF distro, but was thinking about
> switching the Bering.  I was following the instructions on setting up
> UML, but have run into a problem.  I have successfully gotten UML to run
> with the slink root filesystem (root_fs_slink), but on the page about
> running Bering under UML you provide a link to a "LEAF filesystem" for
> UML.  However the link points to the root_fs_slink.bz2 file.  Therefore
> the remainder of the instructions on this page do not apply (eg. there
> is no startuml script on the image).
> I've looked around on the site, but have not been able to find a LEAF
> filesystem for UML.  Do you have any suggestions or modifcations to the
> manual?
>
> Thanks
Todd:
You are right this part of the documentation is not up to date.
So here is what you will have to do to run a "virtual" Bering
1/ Download the latest Bering image
2/ Download the latest UML kernel for Bering (2.4.18-21) and the 
corresponding modules file
Both files are available in the LEAF download (1/ in the Bering section and 
2/ in the Leaf_UML section). Check here:
http://sourceforge.net/project/showfiles.php?group_id=13751
Download these 3 files in a specific non root account
Create a 2M minix fs
dd if=/dev/zero of=bering_uml.fs bs=1M count=2
mkfs.minix bering_uml.fs
mkdir temp 
mount -o loop bering_uml.fs ./temp
Copy in this file all the lrp packages (and nothing else)
also copy the initrd.lrp file in the same dir where you have your UML kernel 
and your bering_uml.fs
Create startup script:
#!/bin/sh
./linuxuml-2.4.18-21 ubd0=bering_uml.fs initrd=initrd.lrp root=/dev/ram0 \    
 init=/linuxrc boot=/dev/ubd0:minix PKGPATH=/dev/ubd0 devfs=nomount \         
 LRP=root,etc,local,log,modules,shorwall

make sure your script is chmod 755 (and also UML kernel)
You may also need to update the modules.lrp file with the UML modules files
Executing ./linuxuml will fire up your Bering router
This does not take care of network connections. Refer to the UML 
documentation to see how that works
Good luck
Jacques



_______________________________________________________________

Hundreds of nodes, one monster rendering program.
Now that�s a super model! Visit http://clustering.foundries.sf.net/

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to