On 28 Mar 2005, 19:38, rainer herrendoerfer <[EMAIL PROTECTED]> wrote:

> raina:~$ dchroot -c ia32 -d firefox
>    (ia32) firefox
>    Unknown ID: raina
>    dchroot: Child exited non-zero.
>    dchroot: Operation failed./
> / 
> Any ideas????

Did you follow this part of HOWTO?

To run an application inside the chroot you will need some parts of
your 64bit system tree inside the chroot. This can be
achieved with a bind mount. In this example we will bind /tmp to the
chroot for the X11 sockets which are in /tmp, and bind /
home to access the home directories from within the chroot. You may
also want to mount the /proc and /sys filesystems within
the chroot. Edit your fstab and add the required paths:

# ia32 chroot
/home           /var/chroot/sid-ia32/home none  bind            0      0
/tmp            /var/chroot/sid-ia32/tmp none   bind            0      0
proc            /var/chroot/sid-ia32/proc proc  defaults        0      0

Then mount them:

mount /var/chroot/sid-ia32/home
mount /var/chroot/sid-ia32/tmp
mount /var/chroot/sid-ia32/proc

You will also need to set up the relevant users in the chroot. Copy
your /etc/passwd, /etc/shadow and /etc/group files to the
chroot, or add the users manually to the passwd/shadow of your chroot.
It is also possible to hard link the files when they are
on the same partition. Just make sure the user exists also in the
chroot.


-- 
 <@,@>  Il corpo del povero cadrebbe subito in pezzi
 [`-']  se non fosse legato ben stretto dal filo dei sogni
 -"-"-                                --Anonimo indiano


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to