From: Henry N. <Hen...@Ar...> - 2007-09-04 10:11:38
|
Eric DECORNOD wrote: > Le mardi 4 septembre 2007 10:26, Samir Kuthiala a écrit : >> So I guess there is no way of using co-linux on linux? > I didn't know it was possible. Thanks Henry. > >> I like the idea of using vserver but can vserver run >> colinux images directly? > If you can mount (either loopback or directly) you should be able to run any > linux bin. hold on the mount point. > > As a quick test, you can try to mount your colinux images, chroot inside (as > root) and run some applications : ls, man, ... Yes loop mount and chroot works also very good. For example: mkdir /mnt/colinux mount rootfs.img /mnt/colinux -o loop,rw,exec,dev mount --bind /proc /mnt/colinux/proc mount --bind /dev /mnt/colinux/proc chroot /mnt/colinux /bin/sh inside chroot colinux switch to your coLinuxUser: cd /home/coLinuxUser su coLinuxUser Without the bind mount for /dev, you need to create some basic devices (null, zero, tty1, tty2...) This way I use to create and check coLinux image files. -- Henry |