kanotix.com
General Support - dchroot vs schroot
jackiebrown - 07.07.2006, 00:40 Uhr
Titel: dchroot vs schroot
I have been using chroot for my 32 bit apps for some time. A recent upgrade moves me over to schroot.
Both stay installed but my dhcroot config files disappers and suddenly I have lotsof trouble with my 32 apps.
Does anyone have a good how-to for this or the differnces. (Right now I moved back to the testing version and got rid of schroot.
schnorrer - 07.07.2006, 00:56 Uhr
Titel: dchroot vs schroot
the diffrence between schroot and dhchroot:
dhchroot is the common debian helper for both 32 and 64Bit progs. and got one param. set 64bit=true /or false. depending on this variable either system got installed.(one time installing)
with chroot you can fake a 32-Bit Prog to run under 64Bit OS
schroot should do the same as before chroot does, with exception of using a dual-core CPU. Where you can run a 64bit and a 32bit on seperate CPU-Cores.
jackiebrown - 07.07.2006, 03:38 Uhr
Titel: RE: dchroot vs schroot
Well I have set up my system based on this guide.
https://alioth.debian.org/docman/view.p ... l#id271960
Now I upgraded again to the new chroot which automaticall install schroot.
When I type
Code:
dchroot -c ia32 -d firefox
firefox opens and in the terminal says "observer added"
When I type firefox32 I get "E: Only one command may be specified" and then dumps me back at the terminal.
Firefox32 uses do_dchroot a script set up using that guide from above (and unfortunetly all my menus are based on that.)
it is a simple script
Code:
#!/bin/bash
args=""
for i in "$@" ; do
args="$args '$i'"
done
/usr/bin/dchroot -d "`basename $0`" "$args"
Any ideas?
jackiebrown - 08.07.2006, 05:53 Uhr
Titel: RE: dchroot vs schroot
I didn't think there would be any idea. The scrip itself is probably flawed with the new system.
I went back to the testing chroot and all is fine.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007