You are not logged in.

#1 2006-08-24 16:15:01

oliv
Member
Registered: 2005-04-17
Posts: 58

Arch32 platform used for chrooting

I started a wiki page for building a 32bit platform.

I use it as a temporary solution for some codecs, acroread, and will use it for oo2.

http://wiki.archlinux.org/index.php/Arc … bit_system

I started this post for some hints, comments about chrooting.

I also trying to find a "generic script" to start any app directly in the chroot.

Offline

#2 2006-08-24 18:33:55

Neverth
Member
From: Finland - Land of taxes
Registered: 2006-05-16
Posts: 45
Website

Re: Arch32 platform used for chrooting

I use dirty hacks to run 32bit stuff. 'Our' nspluginwrapper in aur uses same thing to run 32bit browserplugins,.

 # LD_LIBRARY_PATH="/path/to/libs" linux32 <program> 

Where the path is to the 32bit shared libraries the program needs.
Tested with nspluginwrapper and skype (linux32 isn't always needed but it doesnt harm anything, it's in aur).


Flying is Trying is Dying

Offline

#3 2006-09-17 17:02:04

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: Arch32 platform used for chrooting

oliv wrote:

I also trying to find a "generic script" to start any app directly in the chroot.

NB: I am not currently running a 64-bit distro.
Here is some info I used when I ran a 64-bit distro. Basically, you setup the script, and then create a symlink to it with the name of the 32-bit binary you want available. So, your 64-bit install w/ an app "foo" in the 32-bit chroot would have a  symlink /usr/bin/foo -> script. Then, you could run "foo" from the 64-bit install, and it automatically exec's the 32-bit binary in the chroot. This particular page uses schroot, but I do seem to recall using dchroot (available in community) instead when I set this up (I just did a quick google and found a forum posting that uses dchroot instead). I hope this is what you were looking for re: a "generic script", as basically you create a symlink for any 32-bit binary you want to run automatically, e.g. firefox, mplayer, etc.


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#4 2006-09-17 21:41:29

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Arch32 platform used for chrooting

This is very nice. I think that using a separate partition and installing Arch32 from the install cd would reduce the risk of messing up a working Arch64 install though.

Offline

#5 2006-09-18 18:41:24

oliv
Member
Registered: 2005-04-17
Posts: 58

Re: Arch32 platform used for chrooting

Yeah it's the only problem. But it critical just during the base install, witch take 2 commands. Then every thing stay in the arch32 repository/arch32 partition.

Offline

#6 2006-10-01 23:45:01

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Arch32 platform used for chrooting

Neverth wrote:

I use dirty hacks to run 32bit stuff. 'Our' nspluginwrapper in aur uses same thing to run 32bit browserplugins,.

 # LD_LIBRARY_PATH="/path/to/libs" linux32 <program> 

Where the path is to the 32bit shared libraries the program needs.
Tested with nspluginwrapper and skype (linux32 isn't always needed but it doesnt harm anything, it's in aur).

What all did you do to get Skype running?

Offline

#7 2006-12-23 11:58:46

blance2599
Member
Registered: 2006-12-16
Posts: 5
Website

Re: Arch32 platform used for chrooting

in this evn,how to type other's language in firefox?


AMD Opteron 146 2.75G (275x10)
DFI LP UT NF4-D (SLI)
Dataland X800XL 256MB DDR3
Seagate 160G eSATA 8MB x 2
Maxtor 160G PATA 8M
ASUS DRW-1608P3S
CoolerMaster 534 Enturion (MODed)
OS:ArchLinux + WinXP + Win2k3

Offline

#8 2006-12-25 20:16:09

Neverth
Member
From: Finland - Land of taxes
Registered: 2006-05-16
Posts: 45
Website

Re: Arch32 platform used for chrooting

skottish wrote:
Neverth wrote:

I use dirty hacks to run 32bit stuff. 'Our' nspluginwrapper in aur uses same thing to run 32bit browserplugins,.

 # LD_LIBRARY_PATH="/path/to/libs" linux32 <program> 

Where the path is to the 32bit shared libraries the program needs.
Tested with nspluginwrapper and skype (linux32 isn't always needed but it doesnt harm anything, it's in aur).

What all did you do to get Skype running?

Only oss skype will work, alsa apps wont work with this.


Flying is Trying is Dying

Offline

Board footer

Powered by FluxBB