You are not logged in.
Pages: 1
Hi, I want to use wine from a chroot environment, I followed the instructions on the wiki, now my problem is that wine won't see the data from my 64bit install. I think I need to bind a lot of my 64bit install to my 32bit chroot, how do I do that? what folders should I bind?
I use the alias wine='schroot -pqd "$(pwd)" -- wine' to run wine.
Last edited by RiceKills (2010-07-14 22:37:29)
Offline
> now my problem is that wine won't see the data from my 64bit install.
I think that's what chroot's about: what happens in Vegas, stays in Vegas.
http://wiki.archlinux.org/index.php/Chroot
When you change root to another directory you cannot access files and commands outside that directory.
Offline
isn't that what the schroot -p for? FWIU, schroot -p will automagically preserve the environment, thats how I can schroot -p -- firefox and run 32 bit firefox and it keeps my history/themes ect.
I don't understand why it doesn't work with wine though.
Offline
Offline
schroot -p only preserves the environment (output of env), if you have multiple mount-points you need to specify them without the chroot.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
now my problem is that wine won't see the data from my 64bit install. I think I need to bind a lot of my 64bit install to my 32bit chroot, how do I do that? what folders should I bind?
Write the folders where your data are in the file /etc/schroot/mount-arch32.
For example, I need to access files in a /data folder when I am inside my arch32 chrooted system ; so I added the folder like that :
# mount.defaults: static file system information for chroots.
# Note that the mount point will be prefixed by the chroot path
# (CHROOT_PATH)
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev /dev none rw,bind 0 0
#/dev/pts /dev/pts none rw,bind 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/sys /sys none rw,bind 0 0
/tmp /tmp none rw,bind 0 0
/home /home none rw,bind 0 0
/data /data none rw,bind 0 0Note the last line in the file.
You should not have so many data folders to bind, so write one line for each different base directory.
Last edited by berbae (2010-07-15 13:51:10)
Offline
Pages: 1