Re: qemu and chroot

2014-06-22 Thread Erez D
-user-static includes the wrapper qemu-debootstrap to do just that, and also copy the required qemu-user-static. and i was astonished that doing just 'chroot rootfs' worked, without explicitly telling 'chroot' to use qemu-arm-static - somehow it decided automatically to run everything under qemu

qemu and chroot

2014-05-20 Thread Erez D
I am using centos 6 and developing for an armel platform i created a rootfs using multistrap/debbootstrap i copied qemu-arm-static to rootfs/usr/bin/qemu-arm-static and i was astonished that doing just 'chroot rootfs' worked, without explicitly telling 'chroot' to use qemu-arm-static - somehow

Re: qemu and chroot

2014-05-20 Thread Erez D
, without explicitly telling 'chroot' to use qemu-arm-static - somehow it decided automatically to run everything under qemu-arm-static without me telling it to. after a restart of the server. rootfs does not work anymore automatically, i get a chroot: failed to run command `/bin/bash

Re: qemu and chroot

2014-05-20 Thread Baruch Siach
target (ARM)? Do you really need to run QEMU on your target? and i was astonished that doing just 'chroot rootfs' worked, without explicitly telling 'chroot' to use qemu-arm-static - somehow it decided automatically to run everything under qemu-arm-static without me telling it to. after

Re: qemu and chroot

2014-05-20 Thread Valery Reznic
From: Erez D erez0...@gmail.com To: linux-il linux-il@cs.huji.ac.il Sent: Tuesday, May 20, 2014 9:14 AM Subject: qemu and chroot I am using centos 6 and  developing for an armel platform i created a rootfs using multistrap/debbootstrap i copied qemu-arm

Re: qemu and chroot

2014-05-20 Thread Tzafrir Cohen
, the package qemu-user-static includes the wrapper qemu-debootstrap to do just that, and also copy the required qemu-user-static. and i was astonished that doing just 'chroot rootfs' worked, without explicitly telling 'chroot' to use qemu-arm-static - somehow it decided automatically to run everything

Re: qemu and chroot

2014-05-20 Thread Erez D
just 'chroot rootfs' worked, without explicitly telling 'chroot' to use qemu-arm-static - somehow it decided automatically to run everything under qemu-arm-static without me telling it to. after a restart of the server. rootfs does not work anymore automatically, i get a chroot: failed to run

Re: qemu and chroot

2014-05-20 Thread Amos Shapira
Most of the times when I use chroot, I usually do something a-la (from memory): for i in proc dev sys; do mount -o bind /$i /chrootdir/$i; done ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il