Re: [uml-user] how to build programs for running in UML

2013-08-08 Thread Michael Richardson
Han wrote: > [Han] in my case, the host is using a different linux kernel and different 32/ > 64-bit-ness.  And I can't change that.  And I also cannot mount the UML rootfs > (don't have permission) to add things from the host.   I see. > [Han]  I don't have the network connec

Re: [uml-user] how to build programs for running in UML

2013-08-08 Thread Han
I was able to manually install more packages after the "debootstrap" created the basic rootfs. Now I have a much more complete rootfs and was able to run the programs I compiled earlier on the host. thanks for all your help. On Thu, Aug 8, 2013 at 8:56 AM, Tony Su wrote: > If your rootfs is in

Re: [uml-user] how to build programs for running in UML

2013-08-08 Thread Tony Su
If your rootfs is incomplete I've generally speculated it was designed to run on a similar Host and likely would need bind mounts. The following is where I get complete fs which can run independently on any Host Http://openvz.org/Download/template/precreated Although the fs are built for openvz

Re: [uml-user] how to build programs for running in UML

2013-08-07 Thread Han
On Tue, Aug 6, 2013 at 7:51 PM, Michael Richardson wrote: > > Han wrote: > > I am trying to build and run some of my C programs in UML. One way > I tried is > > to build (i.e. compile) the program on the host, then run it in > UML. The > > problem is that the UML rootfs I used lac

Re: [uml-user] how to build programs for running in UML

2013-08-06 Thread Michael Richardson
Han wrote: > I am trying to build and run some of my C programs in UML.  One way I tried is > to build (i.e. compile) the program on the host,  then run it in UML.  The > problem is that the UML rootfs I used lacks many of the /usr/lib/ shared > libraries, hence the program faile

[uml-user] how to build programs for running in UML

2013-08-06 Thread Han
Hi, I am trying to build and run some of my C programs in UML. One way I tried is to build (i.e. compile) the program on the host, then run it in UML. The problem is that the UML rootfs I used lacks many of the /usr/lib/ shared libraries, hence the program failed to run. My question is: what