There is this new godlike creation, that very few people know about. Its called
GOOGLE With it and my magical guru like god powers, I found this:
Quote:
You can type dchroot -d "command" and it executes that command in the chroot.
I have this script do_chroot in /usr/local/bin:
#!/bin/sh
/usr/bin/dchroot -d "`echo $0 | sed 's|^.*/||'` $*"
Then I create a symbolic link from that to the command I want to execute in the chroot, e.g.:
ln -s /usr/local/bin/do_chroot /usr/local/bin/firefox
which will execute firefox in the chroot environment when I launch it in my normal 64 bit environment. To launch my amd64 firefox I can type /usr/bin/firefox.
Instead if you want you can just create a script for launching the 32bit firefox e.g.:
#!/bin/bash
dchroot -d "firefox"
put it in /usr/local/bin and add it to the gnome menu.
If you're going to start a program that only works in 32bit, first type dchroot -d and you'll be in the 32 bit environment.
|
What is really amazing is that it was the 2nd result for "32 bit chroot"
-Joey