You are not logged in.
Hi,
I'm using a 32bit chroot to run wine.
My problem is, that external media such as usb-sticks and drives and also cd/dvd drives don't show up in winecfg.
When I attempt to run a program off say a cd, wine complains that it cannot find the path.
I've tried symlinking /opt/arch32/etc/mtab to /etc/mtab, and running mount from within the chroot gives the same results as it does from my 'real' system. I'm guessing this has something todo with devkit, which handles external-drives and media, but I am at a loss as to how I can make wine 'see' my drives.
Any ideas??
Last edited by hungerfish (2010-03-30 13:37:25)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
I don't know about wine specifically, but if you mount the device outside the chroot, you should be able to bind-mount it into the chroot.
Offline
Just bind-mount /media, AFAICR.
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
Ohhh, ok, I see...Thanks!
EDIT: Ok, I was too fast..its still not working...
What I did was
mount --bind /media /opt/arch32/media
When I now ls /opt/arch32/media, I get the correct folders for the mounts that should be located here, but they are empty.
Also, winefile still doesn't see all mountpoints that are in /media
I'm lost!?
Last edited by hungerfish (2010-03-30 13:41:16)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
I think bind doesn't expose filesystems mounted under the directory you bind. according to the mount manpage you have to use this to include mounts inside the directory:
mount --rbind /media /opt/arch32/media
PS.: didn't try for myself, just citation from the manpage
Last edited by seiichiro0185 (2010-03-30 14:41:17)
My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP
Offline
Ok, thanks for that tip.
Sadly it only partly solves my problem.
Now I get all mountpoints that are in /media also in /opt/arch32/media. Also I can traverse the subdirs.
However, this only works for harddisks/partitions, not cd/dvds.
I've tried separately binding the dvd's mountpoint, without success.
EDIT:
It seems that the 'only' way I can read the contents of cd is to mount the drive directly from within the chroot env.
For my purpose of testing/installing games via wine, this is acceptable, however a more transparent solution would be nice!
Any ideas?
Last edited by hungerfish (2010-03-30 17:31:00)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
*bump*!?
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline