[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dchroot: cannot execute binary file



Am Dienstag 04 Juli 2006 11:57 schrieb Klaus Becker:
> 4. Programme in dieser Umgebung rufe ich auf mit:
> "dchroot -c sarge32 -d Programm". Das funktionniert in "konsole" und
> auch über selbstgestrickte KDE-Menüeinträge.

OK

> 6. Das Problem:
> $ dchroot -c sid32 -d ls
> (sid32) ls
> /bin/ls: /bin/ls: cannot execute binary file
> dchroot: Child exited non-zero.
> dchroot: Operation failed.

OK

> 7. Es klappt aber folgendermaßen:
> - in der "konsole" öffne ich eine neue Sitzung als root. Dann:
> - chroot /var/chroot/sid32,
> - su - klaus,
> - export DISPLAY=:0,
> - avidemux (als Beispiel).

Gut. da verwendest Du nicht dchroot.

Versuch doch mal:
dchroot -c sid -d -- -c ls

Gruß Chris

-- 
A: because it distrupts the normal process of thought
Q: why is top posting frowned upon



Reply to: