---------- Forwarded message ---------- From: Ramez Hanna <rha...@informatiq.org> Date: Tue, Aug 30, 2011 at 2:36 PM Subject: Re: [Lxc-users] help regarding lxc To: nishant mungse <nishantmun...@gmail.com>
there is a lxc-fedora template which wors just fine for fedora releases prior to 15 lxc-create -n lxc -t fedora -- -R14 this will create a fedora 14 container that works for you I don't know about that tar file you downloaded, is it a fedora container? or just a fedora install tarred On Tue, Aug 30, 2011 at 2:25 PM, nishant mungse <nishantmun...@gmail.com> wrote: > hiii > > > 1.First i downloaded the fedora-11-x86.tar.gz into /home/nishant/fedora > 2.tar -xvf fedora-11-x86.tar.gz in same folder > 3.created fstab and conf file > 4.lxc-create -n lxc -f /home/nishant/fedora.conf > 5.lxc-start -n fedora. > > And after that what happened i have disp in prev thread. > > Regards, > Nishant. > > On Tue, Aug 30, 2011 at 4:48 PM, Ramez Hanna <rha...@informatiq.org> wrote: >> >> On Tue, Aug 30, 2011 at 2:13 PM, nishant mungse <nishantmun...@gmail.com> >> wrote: >> > Hi Canhua >> > >> > >> > I hv created a fedora container. >> > >> > commnd::lxc-start -n fedora >> > >> > >> > Welcome to Fedora >> > ... >> > .. >> > .. >> > Setting hostname fedora: [ OK ] >> > Checking filesystems >> > [ OK ] >> > mount: according to mtab, rootfs is already mounted on / >> > >> > Mounting local filesystems: [ OK ] >> > Enabling local filesystem quotas: [ OK ] >> > Enabling /etc/fstab swaps: [ OK ] >> > >> > hangs after this ...... >> > >> > What should i do.?????? i have deleted allthe contents form fstab also. >> > What might be d problem??? >> > >> > plZ hlp me ASAP >> > >> > Regards, >> > Nishant. >> > >> > >> > On Tue, Aug 30, 2011 at 12:40 PM, Canhua <dreamerat...@gmail.com> wrote: >> >> >> >> this file is needed. some form of bootstrap is need to setup these >> >> system >> >> files. >> >> >> >> On Tue, Aug 30, 2011 at 3:07 PM, nishant mungse >> >> <nishantmun...@gmail.com> >> >> wrote: >> >> > hii Canhua >> >> > No there is no such file. >> >> > Regards, >> >> > Nishant >> >> > >> >> > On Tue, Aug 30, 2011 at 12:20 PM, Canhua <dreamerat...@gmail.com> >> >> > wrote: >> >> >> >> >> >> do you have /sbin/init file in container's rootfs? e.g. >> >> >> /var/lib/lxc/guest/sbin/init >> >> >> >> >> >> On Tue, Aug 30, 2011 at 2:39 PM, nishant mungse >> >> >> <nishantmun...@gmail.com> >> >> >> wrote: >> >> >> > hi Joerg >> >> >> > Thnks 4 reply. >> >> >> > I have executed the script now the error is gone but there is some >> >> >> > problem. >> >> >> > lxc-start -n guest >> >> >> > lxc-start: No such file or directory - failed to exec /sbin/init >> >> >> > lxc-start: invalid sequence number 1. expected 2 >> >> >> > lxc-start: failed to spawn 'guest' >> >> >> > lxc-start: Device or resource busy - failed to remove cgroup >> >> >> > '/cgrouplxc/guest' >> >> >> > Why it failed to exec /sbin/init? and what might be the solution >> >> >> > to >> >> >> > this. >> >> >> > And i am not using any of the templates in creating the container. >> >> >> > >> >> >> > Regards, >> >> >> > Nishant >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > ------------------------------------------------------------------------------ >> >> >> > Special Offer -- Download ArcSight Logger for FREE! >> >> >> > Finally, a world-class log management solution at an even better >> >> >> > price-free! And you'll get a free "Love Thy Logs" t-shirt when you >> >> >> > download Logger. Secure your free ArcSight Logger TODAY! >> >> >> > http://p.sf.net/sfu/arcsisghtdev2dev >> >> >> > _______________________________________________ >> >> >> > Lxc-users mailing list >> >> >> > Lxc-users@lists.sourceforge.net >> >> >> > https://lists.sourceforge.net/lists/listinfo/lxc-users >> >> >> > >> >> >> > >> >> > >> >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Special Offer -- Download ArcSight Logger for FREE! >> > Finally, a world-class log management solution at an even better >> > price-free! And you'll get a free "Love Thy Logs" t-shirt when you >> > download Logger. Secure your free ArcSight Logger TODAY! >> > http://p.sf.net/sfu/arcsisghtdev2dev >> > _______________________________________________ >> > Lxc-users mailing list >> > Lxc-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/lxc-users >> > >> > >> >> how did you create the fedora container? > > -- -- BR RH -- -- BR RH ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users