Bin32-wine vs 32-bit chroot environment

I run Arch x86_64 with bin32-wine for all of my windows applications, however I was wondering if there are any advantages (compatibility, speed, etc.) to running a 32-bit chroot environment for all of my 32 bit apps (which would only be wine). 
Currently I only use wine for Office 2007, however I would like to run Deus Ex and Starcraft (maybe others in the future), and I'm currently unable to get Starcraft running.  Deus Ex runs in windowed mode with safe mode on, but very poorly.
System specs:
ASUS UL30A U7300 dual core 1.3 GHz
4 GB DDR3
Intel GMA4500 MHD graphics
Any thoughts on this?  Thanks in advance

I see.......thank you for the response.  I wondered if I had to compile for the chroot or simply use pacman -Syu.  That is indeed a large advantage. 
I went ahead and completely wiped bin32-wine, all of the dot files, and reinstalled Office 2007, Starcraft, and Deus Ex.  That fixed a bug in Office (files with space in file path not opening correctly from dolphin/konqueror/etc).
I also discovered that one of my problems with my games was that I somehow missed a few packages related to opengl.  I stll wasn't able to get Deus Ex working just yet.....
I may go ahead and do the chroot, as that seems like an easier way of doing things after the initial setup. 
If anyone has anymore input I would be grateful to hear it.

Similar Messages

  • Wine-stable & 32 bit chroot.

    I tried to install wine-stable from the AUR but am getting these errors when I run makepkg.
    dave@localhost ~/builds/wine-stable $ makepkg
    ==> Making package: wine-stable 1.4.1-1 (Thu Mar  7 11:21:31 SAST 2013)
    ==> Checking runtime dependencies...
    ==> Missing Dependencies:
      -> lib32-mesa
    ==> Checking buildtime dependencies...
    ==> Missing Dependencies:
      -> fontforge
      -> prelink
      -> gcc-multilib>=4.5.0-2
      -> lib32-giflib
      -> lib32-libpng
      -> lib32-gnutls
      -> lib32-libxinerama
      -> lib32-libxcomposite
      -> lib32-libxmu
      -> lib32-libxml2
      -> lib32-libldap
      -> lib32-lcms
      -> lib32-mpg123
      -> lib32-openal
      -> lib32-v4l-utils
      -> lib32-alsa-lib
    ==> ERROR: Could not resolve all dependencies.
    I've installed a 32 bit chroot system in /opt/arch32  by following the instructions here: https://wiki.archlinux.org/index.php/In … _in_Arch64
    Copying the wine-stable PKGBUILD to the /opt/arch32/builds/wine-stable directory and chrooting into the arch32 system, then running makepkg gives these errors.
    [dave@localhost wine-stable]$ makepkg
    ==> Making package: wine-stable 1.4.1-1 (Thu Mar  7 12:07:36 SAST 2013)
    ==> Checking runtime dependencies...
    ==> Missing Dependencies:
      -> fontconfig
      -> mesa
      -> libxcursor
      -> libxrandr
      -> libxdamage
      -> libxi
      -> desktop-file-utils
    ==> Checking buildtime dependencies...
    ==> Missing Dependencies:
      -> fontforge
      -> prelink
      -> giflib
      -> libpng
      -> gnutls
      -> libxinerama
      -> libxcomposite
      -> libxmu
      -> libxxf86vm
      -> libxml2
      -> lcms
      -> mpg123
      -> openal
      -> v4l-utils
      -> alsa-lib
    ==> ERROR: Could not resolve all dependencies.
    If I try to install these (still chrooted in arch32), I get errors:
    pacman -S fontconfig
    error: failed to prepare transaction (package architecture is not valid)
    :: package fontconfig-2.10.2-1-i686 does not have a valid architecture

    bohoomil wrote:Are you sure your chroot is set up correctly? What are the values of "CARCH" and "CHOST" in /opt/arch32/etc/makepkg.conf (should be "i686" and "i686-pc-linux-gnu" respectively) and "Architecture" in /opt/arch32/etc/pacman.conf (should be set to "i686", the multilib repo should be disabled)?
    CARCH="i686"
    CHOST="i686-pc-linux-gnu"
    Architecture is set to 'auto'.
    Architecture = auto
    Multilib is not mentioned in /opt/arch32/etc/pacman.conf. I assume that means that it is disabled?

  • [SOLVED] Problems with setting up 32-bit chroot environment

    Recently I've moved to Arch64 and decided to build chroot environment in order to have a working flashplugin, Java and some other applications without messing up system libraries of two different architectures. I've followed directly instrucions from the wiki, but unfortunately still can't make it work. I'm stuck with
    Kod:
    bash-3.2# /etc/rc.d/arch32 start
    :: Starting Arch32 chroot [DONE]
    bash-3.2# xhost +local:
    No protocol specified
    xhost: unable to open display ":0.0"
    bash-3.2# chroot /opt/arch32
    I've googled a lot, asked on Polish Arch Linux forum, but so far I wasn't able to find a working solution. Can someone more experienced give me a hand with this?
    Last edited by Zibi1981 (2008-11-14 22:35:48)

    I have a working 32 bits chroot on a 64 bits system. My /etc/rc.d/arch32:
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    case $1 in
    start)
    stat_busy "Starting Arch32 chroot"
    mount --bind /proc /opt/arch32/proc
    mount --bind /proc/bus/usb /opt/arch32/proc/bus/usb
    mount --bind /dev /opt/arch32/dev
    mount --bind /dev/pts /opt/arch32/dev/pts
    mount --bind /dev/shm /opt/arch32/dev/shm
    mount --bind /sys /opt/arch32/sys
    mount --bind /tmp /opt/arch32/tmp
    mount --bind /home /opt/arch32/home
    add_daemon arch32
    stat_done
    stop)
    stat_busy "Stopping Arch32 chroot"
    umount /opt/arch32/proc/bus/usb
    umount /opt/arch32/proc
    umount /opt/arch32/dev/pts
    umount /opt/arch32/dev/shm
    umount /opt/arch32/dev
    umount /opt/arch32/sys
    umount /opt/arch32/tmp
    umount /opt/arch32/home
    rm_daemon arch32
    stat_done
    restart)
    $0 stop
    sleep 1
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac
    exit 0
    I have the arch32 daemon in my /etc/rc.conf and I run this when I want to use the chroot:
    #!/bin/sh
    /etc/rc.d/arch32 start
    xhost +local:
    chroot /opt/arch32 su -l username -c "linux32 zsh"
    Is it similar to your setup?

  • [solved] Wine with 3D under 32 Bit chroot - any how2 ?

    Hi fellow archers,
    I have set up a 32 Bit change root as discribed in the wiki here:
    http://wiki.archlinux.org/index.php/Ins … _in_Arch64
    The installation and configuration worked pretty straight forward. Unfortunately WINE doesn't find 3D acceleration. I installed Mesa inside the chroot but it lists softwaremode for the renderer when I do a glxinfo.
    Do I need to follow the ATI guide in the wiki and install some libs like this ?
    pacman -S libgl ati-dri
    Or do I need to completely build Mesa within the 32 bit chroot ?
    TIA,
    D$
    Last edited by Darksoul71 (2010-04-16 20:48:48)

    You're welcome If you don't have a wiki account, just register one and you should be able to edit the page you want. It's a wiki, after all.
    Darksoul71 wrote:
    BTW: A CDROM mounted inside the chroot seems to be accessed different from being mounted inside the native linux environment.
    At least Starcraft tells me that the original CD is not inserted although it is my original CD is inserted in the DVD drive. Under 64 Bit Ubuntu 9.04 works fine with WINE and the original CD.
    Do I have to change my mounting approach ?
    First of all: Do you use schroot and have your --bind mounts set up properly?
    The Arch Linux Wiki wrote:mount --bind /proc /opt/arch32/proc
            mount --bind /proc/bus/usb /opt/arch32/proc/bus/usb
            mount --bind /dev /opt/arch32/dev
            mount --bind /dev/pts /opt/arch32/dev/pts
            mount --bind /dev/shm /opt/arch32/dev/shm
            mount --bind /sys /opt/arch32/sys
            mount --bind /tmp /opt/arch32/tmp
            mount --bind /home /opt/arch32/home
    You can just add the path to your arch32 rc.d script (if you use that) or to mount-arch32 (if you use schroot), e.g.
    mount --bind /media/cd /opt/arch32/media/cd
    Anyways, CD checks are a weird matter with wine… I can't get Warcraft III to recognize the CD either, so I'd just cross my fingers

  • [SOLVED]Wine on 64-bit - can't find wine libraries

    Hi. I'm a n00b at Arch with 64-bit system and would like to install Wine. I downloaded it from here:
    http://aur.archlinux.org/packages.php?ID=7915
    And then installed resulting 'bin32-wine-1.1.25-1-x86_64.pkg.tar.gz' . I satisfied all dependencies, and I get:
    [warnec@chakra ~]$ wine
    wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
    I might also add that there are libwine.so, libwine.so.1 and libwine.so.1.0 files in /opt/lib32/usr/lib.
    Last edited by warnec (2009-07-16 20:23:35)

    Whoa, simple relogging worked I'm starting to discover that some of mysterious linux bugs/problems are simply fixed by a reboot/relogin
    Thanks for support guys

  • Not enough disk space in 32-bit chroot [SOLVED]

    Hi all,
    I am trying to set up a 32-bit chroot on my Arch64 system.
    I have followed the steps detailed in the wiki http://wiki.archlinux.org/index.php/Arc … bit_system
    When I tried to install the fonts, it complained of not enough space on the disk:
    pacman -Sy ttf-bitstream-vera ttf-ms-fonts
    :: Synchronising package databases...
    current is up to date
    extra is up to date
    community is up to date
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: expat-2.0.0-1 freetype2-2.3.4-2 fontconfig-2.4.2-1
    libfontenc-1.0.4-1 fontsproto-2.0.2-1 libxfont-1.2.8-1
    xorg-font-utils-1.0.3-2 xorg-fonts-encodings-1.0.2-2
    ttf-bitstream-vera-1.10-5 cabextract-1.2-1 ttf-ms-fonts-2.0-1
    Total Package Size: 9.64 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from current...
    expat 149.2K 92.9K/s 00:00:02 [#####################] 100%
    freetype2 698.9K 47.0K/s 00:00:15 [#####################] 100%
    fontconfig 316.2K 94.8K/s 00:00:03 [#####################] 100%
    libfontenc 14.9K 42.9K/s 00:00:00 [#####################] 100%
    fontsproto 9.7K 51.9K/s 00:00:00 [#####################] 100%
    libxfont 470.4K 68.1K/s 00:00:07 [#####################] 100%
    xorg-font-utils 100.7K 46.8K/s 00:00:02 [#####################] 100%
    xorg-fonts-encodings 567.6K 80.1K/s 00:00:07 [#####################] 100%
    ttf-bitstream-vera 338.8K 64.8K/s 00:00:05 [#####################] 100%
    :: Retrieving packages from extra...
    cabextract 29.2K 57.0K/s 00:00:01 [#####################] 100%
    ttf-ms-fonts 7.0M 103.3K/s 00:01:09 [#####################] 100%
    checking package integrity... done.
    cleaning up... done.
    (11/11) checking for file conflicts [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (not enough space on disk)
    This is strange, as my disk space is as follows:
    df -h #(from my 64-bit system)
    Filesystem Size Used Avail Use% Mounted on
    /dev/sdb3 69G 2.7G 63G 5% /
    none 1007M 0 1007M 0% /dev/shm
    /dev/sdb6 66G 23G 43G 35% /home
    /dev/sda1 150G 32G 118G 22% /mnt/windows
    But from the chroot:
    df -h
    df: cannot read table of mounted file systems
    Is there anything I'm doing wrong here?
    Thanks
    Last edited by JAwuku (2007-06-09 19:40:09)

    Pierre wrote:Just copy your /etc/mtab into your chroot environment.
    Thanks, Pierre, that did the trick! 

  • Oracle Forms 11.1.2.0 on Win 7 64-bit  JVM bits error

    Trying to install Oracle Forms 11.1.2.0 on Win 7 64-bit and keep getting INST-07407: Unable to detect machine platform or JVM Bits.
    I read somewhere where having spaces in the JDK install path causes problems so I changed the path to c:\oracle\java instead of C:\Program Files\java\jdk1.6.0_24. I do have a 64-bit JDK installed. What else could be causing this error message? Opening an Oracle service request has been zero help - hoping for help here. I have set JAVA_HOME and added the java home to the end of PATH. I can start and stop the weblogic server at middleware home C:\Oracle\middleware_oraforms.
    c:\Oracle\Java\bin>java -version
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
    c:\Oracle\Java\bin>echo %JAVA_HOME%
    C:\Oracle\java
    c:\Oracle\Java\bin>echo %PATH%
    C:\Oracle\Ora10\bin;C:\product\11.2.0\dbhome\bin;C:\Oracle\ORA11\11.2.0\bin;C:\P
    rogram Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\
    windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\Windows
    PowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\
    Program Files (x86)\WinMerge;C:\Program Files (x86)\Rational\common;C:\Program F
    iles (x86)\Hummingbird\Connectivity\11.00\Accessories\;;C:\Program Files (x86)\R
    ational\ClearCase\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
    \VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
    \;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\M
    icrosoft SQL Server\100\DTS\Binn\;*C:\Oracle\java*
    product.properties
    DOCSWEBROOT=http\\://download.oracle.com/docs/cd/E17904_01/web.1111
    ProgramGroupName=BEA WebLogic Platform 10.3 (Integrated Build)
    PLATFORMHOME=C:\\Oracle\\MIDDLE~1\\wlserver
    WLS_INSTALL_DIR=C:\\Oracle\\MIDDLE~1\\wlserver
    USER_INSTALL_DIR=C:\\Oracle\\MIDDLE~1\\wlserver
    CONFIGWIZ_HOME=C:\\Oracle\\MIDDLE~1\\wlserver
    BEAHOME=C:\\Oracle\\MIDDLE~1
    MW_HOME=C:\\Oracle\\MIDDLE~1
    WL_HOME=C:\\Oracle\\MIDDLE~1\\wlserver

    First, there is no need to relocate the system jdk. Part of your problem is more likely the result of a known limitation which is caused by the System PATH and/or CLASSPATH containing special characters like the parenthesis in (x86). So, do the following:
    Before you start, be sure that your machine has a static IP address. If it does not, you will need to install the Windows loopback adapter. Read the Installation Guide and System Requirements for more details.
    1. Clean up from your failed installation attempts. Be sure to also remove the C:\bea folder assuming no other product is using WLS.
    2. Uninstall the 64bit jdk then reinstall it where you prefer it. I would recommend its default location.
    3. Open a Notepad session and leave it open as a holding place to paste the following information.
    4. Open the System properties. Computer > right mouse click > Properties > Advanced System Properties > Environment Variables
    5. Locate PATH in the system variables and cut all of the values to the clipboard and paste them in the Notepad session you just opened above. Save this information for later.
    6. In the PATH value, set it to the following, be sure that the path to the jdk is correct for your installation:
    <blockquote>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%;C:\Program Files\Java\jdk1.6.0_37\bin</blockquote>
    7. You will need the "generic" WLS download if you plan to run 64bit. This will be a jar file rather than an exe. Assuming you are using WLS 10.3.6, open a DOS window and start the installer as follows:
    <blockquote>java -jar C:\PathToJar\wls1036_generic.jar</blockquote>
    After you have completed the WLS installation and the FMw installation and configuration, you can reset your PATH back to the way you desire.

  • TS1424 When I try to watch a rented movie from ITUNES ver 11 on my WIN 7 64 bit PC...the movie starts then after about 30 seconds I receive the following error "Itunes has stopped working"

    I downloaded and rented a movie from ITUNES ver 11. I'm able to run the movie but after about 30 seconds I receive an error.
    "Itunes has stopped working" A problem cause the program to stop working correctly. Windows will close the program and notify you if a solution is available.
    Windows offers me to down load ITUNES WIN 7 64 bit, I have uninstalled and reinstalled the 64 bit version...no joy... I have run the repair option and still nothing.. Any suggestions???
    Regards, Steve Tipton

    I'm expreriencing the same conditions with the same environment.  Windows 8, iTunes-64 11.1.2.32, iTunes Store with a processing bar up to 80 +/- and the POPUP MESSAGE OF "iTunes stopped working. The error ...."
    I UNINSTALLED, iTUNES WITH NO POSITIVE RESULT.  I CHECKED THE FIREWALL AND IS THE SAME DEFINITION AS THE PREVIOUS ITUNES VERSION.
    My iTunes StoreS from my iPhones ARE OK.
    I'm spending a lot of time of research for WINDOW'S iTUNE with no solutions.... 

  • Automate gaming in 32 bit chroot ?

    Hi fellow archers,
    Gaming with WINE inside a 32 bit chroot works perfectly for me. I just want to add some more comfort.
    I have not really found a good description on how to automate gaming within a 32 bit chroot.
    There is a hint in the wiki to add an alias which launches wine inside the 32 bit chroot from your 64 bit system but how would I write a script which does:
    1) Mount an ISO required for a windows game as loopback
    2) Start the 32 bit chroot
    3) Start the game via WINE inside the 32 bit chroot
    4) Exit the 32 bit chroot
    I know how to do this all inside a terminal manually but
    ...how do I "change into 32 bit chroot" from a bash script ?
    ...how do I call WINE inside the 32 bit chroot from the same bash script ?
    ...how do I exit the 32 bit chroot from the bash script ?
    Additional to this I am not shure if it is smarter to mount the ISO inside the 64 bit system and export the directory to your 32 bit chroot ? Or is it smarter to change inside the 32 bit chroot and mount the ISO there ?
    I am asking this esp. in regard to some "CD checks" of Windows games which sometimes seem to be very sensitive in regard how the media is mounted / presented to WINE itself.
    As usual I would like to write things together and add them to the corresponding part of the wiki.
    TIA,
    D$

    Hi Runiq,
    Thanks for your help again !
    Using schroot works perfectly for me when I use it to run darkplaces together with SDQuake.
    In order to do more than one command within the chroot I guess I simply have to write shell script and launch this inside the chroot via schroot, right ?
    I am not shure how schroot takes care for mounting / unmounting when I have several ISOs lying in my home directory which I require for different games. A lot of games work fine with "no-cd" patches in term of requireing the original CD but still rely on files stored on the CD.
    My best guess is a combination of two shell scripts. One running under arch64 and one which is started via schroot in my chroot.
    Cheers,
    D$

  • Installing FMW 11.1.1.3 on Win 7 64 bit

    Hi %,
    after successfully installing forms and reports (Win 7 64 bit) I tried to configure these managed servers by starting config.bat (as Administratpr). Now the process hangs at step 11 (Creating Domain in Progress).
    Any ideas?
    Best Regards,
    Rolf

    First, there is no need to relocate the system jdk. Part of your problem is more likely the result of a known limitation which is caused by the System PATH and/or CLASSPATH containing special characters like the parenthesis in (x86). So, do the following:
    Before you start, be sure that your machine has a static IP address. If it does not, you will need to install the Windows loopback adapter. Read the Installation Guide and System Requirements for more details.
    1. Clean up from your failed installation attempts. Be sure to also remove the C:\bea folder assuming no other product is using WLS.
    2. Uninstall the 64bit jdk then reinstall it where you prefer it. I would recommend its default location.
    3. Open a Notepad session and leave it open as a holding place to paste the following information.
    4. Open the System properties. Computer > right mouse click > Properties > Advanced System Properties > Environment Variables
    5. Locate PATH in the system variables and cut all of the values to the clipboard and paste them in the Notepad session you just opened above. Save this information for later.
    6. In the PATH value, set it to the following, be sure that the path to the jdk is correct for your installation:
    <blockquote>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%;C:\Program Files\Java\jdk1.6.0_37\bin</blockquote>
    7. You will need the "generic" WLS download if you plan to run 64bit. This will be a jar file rather than an exe. Assuming you are using WLS 10.3.6, open a DOS window and start the installer as follows:
    <blockquote>java -jar C:\PathToJar\wls1036_generic.jar</blockquote>
    After you have completed the WLS installation and the FMw installation and configuration, you can reset your PATH back to the way you desire.

  • Setting up a slim 32-bit chroot

    My purpose of setting up a 32-bit chroot is to play some 32-bit games. When I install nvidia, it pulls in a bunch of other dependencies, such as kernel26, mkinitcpio, xorg (via nvidia-utils), and probably a bunch of other stuff.
    The wiki wasn't exactly clear. At first it said I could clean up the environment a bit by getting rid of kernel26 and mkinitcpio. However, it says to install nvidia, simply put:
    # pacman -S nvidia
    Like I said, this pulls in a BUNCH of things, which may or may not be necessary. The kernel I'm not so sure about, but I'm pretty sure I don't need mkinitcpio and another X server running.

    If hard disk space is not a big problem, I'd suggest just leaving things as they are. If it is, you should just force remove them after installing nvidia. Be aware that the next nvidia update would probably pull them back in, and you'd have to do it all over again.
    You could probably just have a script to remove everything you know you won't need (don't forget to clear the cache).

  • Autostarting a daemon from a 32 bit chroot

    hello
    i have arch64 and a brother dcp 135c printer. brother does supply drivers for linux but unfortunatelly for 32 bits only. because i have a 32 bit chroot, i thought i would just remove cups, and then inside the chroot install cups again, install the driver and add the printer. i did it and it all works fine except for one thing: i don't know how to autostart the cups deamon (inside the chroot) on boot.
    i tried adding cups32 to my list of deamons in rc.conf. first what i put in it was
    schroot -p /etc/rc.d/cups $1
    but it didn't work, so i tried
    chroot /opt/arch32
    /etc/rc.d/cups $1
    exit
    but with no more luck.
    here's what i get when i try to start cups not from inside chroot:
    # schroot -p /etc/rc.d/cups start
    I: [Arch32-801204e2-dcae-4c65-901f-145b605d70e9 chroot] Running command: "/etc/rc.d/cups start"
    :: Starting CUPS Daemon [DONE]
    ps aux | grep cups
    root 6027 0.0 0.1 8752 996 pts/0 S+ 14:13 0:00 grep cups
    as opposed to
    root 6036 0.0 0.5 8720 2628 ? Ss 14:15 0:00 /usr/sbin/cupsd
    when started from inside chroot.
    could anyone help me please?

    I am having the same issue.  I want to start distccd, but when I run schroot /etc/rc.d/distccd start, it says [DONE] as usual, but the daemon doesn't come up in ps -A.  if I manually chroot into /opt/arch32, I can issue the same command and it'll stay running.  I'm assuming that schroot sandboxes the environment, and when the command releases the terminal, it kills all the processes associated to it.
    How can I keep daemons running when they are started by schroot?

  • Arch32-light: minimal 32-bit chroot

    Project page: http://xyne.archlinux.ca/projects/arch32-light
    *edit: check the project page above for up-to-date information*
    I finally got around to going through the 32-bit chroot setup guide in the wiki and ended up with this. The project and man pages should explain everything.
    As always, questions, suggestions and feedback are welcome.
    Related: What's the best way to detect the chroot for the sake of setting the PS1 variable?
    Last edited by Xyne (2011-12-10 19:37:00)

    Xyne wrote:It's left to the user to install locale-gen if they want it. If you look closely at the arch32.conf file, it doesn't actually copy over files that don't yet exist in the chroot. Both locale.gen and locale.sh will only be copied if the user has installed locale-gen in the chroot. I've done it this way to avoid file conflicts when installing packages in the chroot with pacman.
    Ah, I missed that. Thanks for the clarification.
    The bauerbill alias that you've posted needs to be changed to work with arch32-light because the pacman32 configuration file and mirrorlist are located at /opt/arch32/etc/pacman32.conf and /opt/arch32/etc/pacman32.d/mirrorlist. This is to ensure that pacman32 in the host remains independent of pacman in the chroot (the base installation doesn't even include pacman in the chroot).
    Yes, I caught that right after I posted it. I'll fix the alias.
    Edit: Done.
    I've never actually used schroot so I didn't know that it mounted anything itself. Note though that all the hook does is make sure that the daemon is running, which is expected anyway, so I don't think it can hurt to have the extra check. Aside from ensuring that the correct directories are mounted in the chroot, it also prevents files from being created inside the empty mountpoints.
    Schroot has a precofigured makeshift fstab file for arch32 under /etc/schroot/mount-arch32. Since I never really did anything else with my chroot aside from running applications installed by pacman32 (or bb32 in my case), I left it to schroot to mount my stuff. That way I also didn't need to run the arch32 daemon the wiki specified. If I actually needed shell access to the chroot, I just launched schroot -p -- bash or schroot -p -- zsh. (I don't know if this could give rise to any security issues, though). I didn't try the more exotic cases however, like installing applications that need to change CDs in the middle of the process in chrooted wine…
    I'll play around with schroot a bit to see if any issues come up with the mounts.
    Last edited by Runiq (2010-05-24 12:10:45)

  • [SOLVED]How to use pulseaudio with in 32 bit chroot on ARch64

    I am trying to running some 32bit software from chroot environment on Arch64.
    I set up pulseaudio on Arch64 property.
    However, within 32 bit chroot, I cannot use pulseaudio.
    For an example,
    arch32 chroot /home/xxxx/Audio > paplay Front_Center.wav
    Connection failure: Connection refused
    How can I fix this?
    Last edited by phabulosa (2008-04-27 19:37:15)

    I made this to work by the following steps:
    1. Install pulseaudio and alsa-plugin stuff in Arch32;
    2. Edit /etc/pulse/default.pa on Arch64 and enable "load-module module-native-protocol-tcp";
    3. Edit /etc/rc.d/pulseaudio and add a line "cp /var/run/pulse/.pulse-cookie /opt/arch32/etc/pulse-cookie" after pulseaudio line in 'start' part;
    4. Add some lines in /etc/hosts.allow on Arch64 (some of them may not be necessary) ;
    pulseaudio-native: 127.0.0.1
    pulseaudio-simple: 127.0.0.1
    pulseaudio-cli: 127.0.0.1
    pulseaudio-http: 127.0.0.1
    esound: 127.0.0.1
    5. Follow the "PulseAudio over Network" in Arch Wiki on Pulse audio http://wiki.archlinux.org/index.php/Pul … er_network and configure my Arch32 as a remote client on the network while setting the server address as 127.0.0.1;
    6. Restart Pulseaudio daemon on Arch64 and Run "paplay" on Arch32 to test.

  • [SOLVED] Compile 32bit Wine in x64 without chroot?

    I was wondering if it's possible. Due to winetricks not working with x64 wine, I wanted to do a compile of 32-bit Wine without chroot. I need to apply patches, otherwise I'd just use pacman. I've looked but pretty much all topics I've found that are related are before Multilib was added to Arch and all require chroot. Thanks for any help.
    -- Edit --
    Solved it by just getting multilib gcc, and downloading all the missing dependencies that caused warnings after ./configure with x32 wine
    Last edited by Citric (2012-05-14 02:57:46)

    Citric wrote:
    tommis wrote:
    You don't recompile new wine you use 32 bit wineprefix.
    env WINEARCH=win32 WINEPREFIX=~/where/you/want/your/wineprefix/to/be winecfg
    See: https://wiki.archlinux.org/index.php/Wine
    This is for precompiled from pacman. I have to do a fresh compile to be able to apply patches that will fixes games/software for myself, which usually requires a chroot to compile it in 32-bit, therefore pacman isn't an option.
    it doesn't require a 32-bit chroot. that is only 1 of 2 options;
    https://wiki.archlinux.org/index.php/Ar … _Arch64.3F
    You can use a chroot if you want to, or have good reason to... but myself -> i run a multilib system and i compile wine on every update (i just compiled 1.5.4 yesterday). I only use 32bit apps in wine, as well via my 32bit prefix.
    If you decide to go the 'multilib' route, you could use package management in arch to compile/install wine ... there are a couple of patched versions of wine in the AUR, that you could use as a template. just download the tarball, extract it and modify it to use your patches / suit your needs, add your patches to the directory, fix checksums, etc and voila
    patched versions of wine in AUR;
    https://aur.archlinux.org/packages.php?ID=40169
    https://aur.archlinux.org/packages.php?ID=52143
    there is one or two others, but they are very similar. either could work as a good template.
    ...then anytime you want to update wine, you just cd into the pkgbuild's directory and makepkg -si (you may have to edit the pkgver)... (you can also automate all of this too, i just don't have a link(s) to the archwiki on this, off hand.
    anyway, it basically comes down to either having a 32bit chroot, or running a multlib system.
    cheerz
    Last edited by triplesquarednine (2012-05-14 17:46:58)

Maybe you are looking for