Chrooted Wine -- Where is its folder?
This seems to be the logical place to post about an exploration.
A post today, viewtopic.php?p=21374#p21374 got me thinking about the possibility of running wine in a chroot. Watchdog & Mike Walsh's endeavors have resulted in a number of chrooted applications including Chrooted Iron 88 'portable' as a standalone SFS for older Puppies, viewtopic.php?f=90&t=760 with "Xenialpup 7.5 as the 'chrooted environment'".
Mounting that application reveals that it consists of two parts: (1) the aforementioned Xenialpup 7.5 within a top level folder named 'cont'; and (2) files in /usr to initiate the chroot and to provide menu entries from one's main operating system to the applications in the chroot. Although many of the original Xenialpup's files/applications were removed from the chrooted Xenialpup, not all of them were and some which remained might still function. I had previously discovered that one which did was /cont/usr/uget: handy if you need to download a large file.
As 'fuse' --it might be something else-- does not function, neither AppImages nor SFSes can be used by the chroot OS. My initial idea of running portable-wine from /cont/opt did not work. So I switched my attention to the possibility of installing a wine pet. I SFS-loaded the Iron-Chroot, ran Iron to make certain the chroot was functioning, and [using rox under my main OS] copied one of version2013's wine pets, wine-5.22_v3.2. pet into /cont/root. [I later tried this with wine-4.3_v3.1.pet with the same results].
[As this was for exploration purposes, creation of the /usr files and folders --the (2) above-- could wait].
/cont/usr/xterm also functions as I discovered by file-browsing to it, and left-clicking it. With that xterm running I cd'd into /root and then entered the command /cont/usr/local/petget/petget wine-5.22_v3.2. pet.
Wine was dutifully written/installed. But, of course, that installation is useless until you create a wine environment. So I entered the command wine wine.cfg. It ran but hung when it tried to download mono. After killing that instance of xterm, however, by opening another instance of xterm and typing the command wine winefile wine file-manager dutifully appeared.
By the way, I don't have any other instance of wine on my OS. I do have portable-wine. But applications run under it do not respond to the command wine. To invoke programs under portable-wine the command wine.sh is required.
With wine installed portable applications such as Netsurf and Atlantis Wordprocessor Lite could be started merely by (left) Clicking their respective exes.
I had copied their folder into /cont/opt. Netsurf ran, enabled me to open to this Forum, but not log in. Portable radiosure ran and played selected radio stations.
But opening pfind via a terminal started at /cont, selecting Search Director and making certain that Search Sub-directories was checked, neither the search term “wine” nor “.wine” revealed any relevant files. [The pet used to install it was found, along other files/folders with wine in their names, e.g. qwine.png and references to wine under quickpet]. Thinking that wine may have escaped the chroot, I ran pfind from /. Same results. Usually installation of a wine pet creates a hidden (.wine) directory under /root. But visual examination of /root and /cont/root also revealed nothing. Neither did other possible locations such as /cont/usr and /usr.
Where can the missing Chroot-Wine be?
The answer may not be important if where-ever it is survives unloading the Iron-Chroot SFS. If it survives that, a menu entry can be created in the main OS: As I mentioned, portables in /cont/opt could be started merely be clicking their executables. So, for example a bash script should be able to start a window's application in /cont/opt. Still, it is rather curious. Unloading the Iron-Chroot.sfs may reveal what was written to the /cont folder during this exploration.
I'll unload the Iron-Chroot.sfs and see what happens.