CDemu, How do I... - Chapter 2

Because of numerous failure, I need to replace my old windows XP VM which I use to play contract bridge (cards games).
I have a lot of regular original CD which can’t be use on windows 10.
I am trying to install them using wine.

Using my old XP VM, I use the iso files I have put on a usb stick (from the original CD).
I mount the iso file using a windows CD/DVD emulator (MAGICDISK).
To play, the CD must be on the system.

I have installed wine on my leap 42.3 notepad.

1st step.

After mounting the iso files ( no error )

mount -t iso9660 -o loop /data1_pub/wine/wine_win_bridge/SOME_FILE.iso  /tmp/003_MY_CD/SOME_FILE

I can see every things, but I can’t install the software in the wine windows environment.
I got something like disk full.

Reading a lot of things on internet, one says that a cd/dvd emulator is needed to converse with the kernel; and cdemu was recommended.

2nd step

After installing cdemu, I found that vhba was missing.
After installing it I got this error when trying mounting the iso :

ERROR: Failed to connect to CDEmu daemon: org.freedesktop.DBus.Error.Spawn.ChildExited: Process net.sf.cdemu.CDEmuDaemon exited with status 255

Googleing one more time I found this opensuse thread :

So I have create the two files
In the first one I had to change the value of parameter name (replace “%k” by “vhba_ctl”).

# sudo vi /etc/udev/rules.d/60-vhba.rules
KERNEL=="vhba_ctl", NAME="vhba_ctl", MODE="0666", OWNER="root", GROUP="users"

# sudo vi /etc/modules-load.d/vhba.conf

Then reboot.

But gogalthorp said :

                       ](                                                                                     **gogalthorp**](      

not a good idea mount it with the proper permissions

What is the proper permissions values.
Is that concerning the value ’ "MODE=“0666” ’ of the file /etc/udev/rules.d/60-vhba.rules

Now I am going to install the software in wine.

Any comments are welcome

Seems a lot of work… in gnome I just right click (as my user) and mount the iso file with Archive Mounter and it appears…

You can use fuseiso to mount manually (again all as your user);

mkdir iso_image
fuseiso <some_iso_image> ~/iso_image

when done;

fusermount -u ~/iso_image

The other option (eg a UDF image);

udisksctl loop-setup -f Win10_1703_SingleLang_English_x64.iso

This will mount in /run/media/$USER/

Since it attaches to loop0, to unmount;

udisksctl unmount -b /dev/loop0

Thank you for answering.
I am going to test the two tips.
I give news ASAP.