Not recognizing CD
Not recognizing CD
Hello,
I am trying to install a windows version of matlab (yes, I know a linux version is available, but I don't have that). The CD mounts, I open it, but when I click on setup.exe, wine says "This installer must be run from CD #1. Please insert that CD and try again." I am using CD#1.
Have tried mounting images, etc... can't seem to find this particular error. Would be very greatful for some help.
Thanks!
Pete
I am trying to install a windows version of matlab (yes, I know a linux version is available, but I don't have that). The CD mounts, I open it, but when I click on setup.exe, wine says "This installer must be run from CD #1. Please insert that CD and try again." I am using CD#1.
Have tried mounting images, etc... can't seem to find this particular error. Would be very greatful for some help.
Thanks!
Pete
Re: Not recognizing CD
Wine version? Is the drive mapped in winecfg? What happens when you run setup.exe from a terminal?
Re: Not recognizing CD
Hello,
Wine version 1.4.1 on Mint16 Cinnamon.
Yes, the drive is mapped in in winecfg.
When I run from the terminal, it gives the same message.
Thanks!
-Pete
Wine version 1.4.1 on Mint16 Cinnamon.
Yes, the drive is mapped in in winecfg.
When I run from the terminal, it gives the same message.
Thanks!
-Pete
Re: Not recognizing CD
Your Wine version is old and no longer supported; upgrade.
Try mounting the cd norock. http://wiki.winehq.org/FAQ#head-7b61ed5 ... 27082b1c41.
Try mounting the cd norock. http://wiki.winehq.org/FAQ#head-7b61ed5 ... 27082b1c41.
Re: Not recognizing CD
Hello dimesio,
I upgraded to 1.6 and later to 1.7 with the same message. This time in terminal I do get a bit more information:
fixme:exec:SHELL_execute flags ignored: 0x00000100
Trying to figure out norock and mounting in general, (still pretty new to Linux), so far I've determined that the cd is mounted as a type iso9660.
Not sure if any of the above gives some more clues... in the mean time I will keep working on norock.
Thanks for your help!
Pete
I upgraded to 1.6 and later to 1.7 with the same message. This time in terminal I do get a bit more information:
fixme:exec:SHELL_execute flags ignored: 0x00000100
Trying to figure out norock and mounting in general, (still pretty new to Linux), so far I've determined that the cd is mounted as a type iso9660.
Not sure if any of the above gives some more clues... in the mean time I will keep working on norock.
Thanks for your help!
Pete
Re: Not recognizing CD
@petekoto,petekoto wrote:...
Not sure if any of the above gives some more clues... in the mean time I will keep working on norock.
...
Not really!!
If you try and run the CD installer directly from Nautlius/Thunar/Dolphin it fail - because the path passed to Wine will be wrong. I would strongly suggest (!!) that you launch the installer from the commandline.
I typically use Udisks2 to mount disks (all the larger Desktop Environments have switched to using this now). Check that the drive shows in Wine - using Winecfg. Then browse to Autorun.exe, etc. path in a terminal. E.g. when I recently installed Battlefield 2 from a physical DVD.
Code: Select all
export WINEPREFIX="/mnt/robs-laptop/linux_shared/wineprefixes/battlefield/"
winecfg
cd "/mnt/robs-laptop/linux_shared/wineprefixes/battlefield/dosdevices/d:"
wine AutoRun.exe
Udisks2 will put an entry in the file /proc/mounts which you can check with:
Code: Select all
grep "^/dev/sr" /proc/mounts
If you are already launching the Matlab installer from terminal - then where are the commands you using to do this??!! You haven't posted any of these yet!!
In your case (with a default Wineprefix of ~/.wine), you would type something like:
Code: Select all
winecfg
cd "~/.wine/dosdevices/d:"
wine setup.exe
Re: Not recognizing CD
Hi Bob,
Thanks for the advice. My CD drive is mounted as follows:
/dev/sr0 on /media/cpumint/MathWorks_2006b1 type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)
The drive is configured in winecfg.
Here's what I'm doing, in terminal:
I've tried this with wine 1.4, 1.6, and now 1.7. Every time it asks to insert CD#1.
Still working on mounting norock, here's what I'm getting
I've been reading as much as I can about Linux, terminal commands, etc... in the past few days and am still wrapping my head around the file structure, command syntax, and everything else, so I apologize for my ignorance (especially with the norock issue).
Thanks again for your help.
-Pete
Thanks for the advice. My CD drive is mounted as follows:
/dev/sr0 on /media/cpumint/MathWorks_2006b1 type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)
The drive is configured in winecfg.
Here's what I'm doing, in terminal:
Code: Select all
cpumint@cpumint /media/cpumint/MathWorks_2006b1 $ wine setup.exe
Still working on mounting norock, here's what I'm getting
Code: Select all
cpumint@cpumint ~ $ sudo mount -o remount,unhide /dev/sr0 /mnt/cdrom
[sudo] password for cpumint:
mount: you must specify the filesystem type
Thanks again for your help.
-Pete
Re: Not recognizing CD
@Petepetekoto wrote: Thanks for the advice. My CD drive is mounted as follows:
/dev/sr0 on /media/cpumint/MathWorks_2006b1 type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)
Here's what I'm doing, in terminal:I've tried this with wine 1.4, 1.6, and now 1.7. Every time it asks to insert CD#1.Code: Select all
cpumint@cpumint /media/cpumint/MathWorks_2006b1 $ wine setup.exe
Just to be clear there could be a difference between trying to execute the setup.exe from the main mount point that Udisks 2 sets up (/media/cpumint/MathWorks_2006b1) and the mapping that Wine creates... It's all in the Unix path you initially pass to Wine. Wine will use the $PWD (Unix: "present working directory") as the working path for the "Windows" applications it attempts to support. The Windows OS is different from Unix-type OS's in that the current directory is always included in the working path for applications (e.g. so secondary executables and dynamic link libraries can be referenced both easily and insecurely

So open a terminal but cd to the directory I actually suggested (not the one you were using before!!)... Check there are the correct/expected contents in it by using the ls command...
Code: Select all
cd "~/.wine/dosdevices/d:"
echo "$PWD"
'ls' -ahl
wine setup.exe
If the files/directories are valid in this folder (i.e. contents of the Matlab CD) - when using the ls command - then norock will not help you... It's simply a hack to make sure that Linux Mint can "see" a CD/DVD or CD/DVD-type device (e.g. a disc image) has been mounted somewhere in your filesystem - not usually a problem with Udisks...
Bob
Re: Not recognizing CD
Hello Bob,
Here is the dump from terminal
Still asks to insert CD#1.
Looks like the setup file only has read permission, perhaps that should be changed to read and execute?
Thanks,
Pete
Here is the dump from terminal
Code: Select all
cpumint@cpumint ~ $ cd ~/.wine/dosdevices/d:
cpumint@cpumint ~/.wine/dosdevices/d: $ ls -ahl
total 2.0M
dr-xr-xr-x 11 cpumint cpumint 2.0K Sep 22 2006 .
drwxr-x---+ 3 root root 4.0K Mar 23 22:58 ..
dr-xr-xr-x 2 cpumint cpumint 2.0K Sep 22 2006 acme
dr-xr-xr-x 2 cpumint cpumint 2.0K Sep 22 2006 archives
-r-------- 1 cpumint cpumint 28 Jun 15 2006 autorun.inf
dr-xr-xr-x 3 cpumint cpumint 2.0K Sep 22 2006 bin
dr-xr-xr-x 3 cpumint cpumint 2.0K Sep 22 2006 help
-r-------- 1 cpumint cpumint 6.5K Jul 10 2006 installe.ini
-r-------- 1 cpumint cpumint 1.1M Aug 11 2006 install_.pdf
dr-xr-xr-x 3 cpumint cpumint 2.0K Sep 22 2006 java
dr-xr-xr-x 3 cpumint cpumint 2.0K Sep 22 2006 jhelp
-r-------- 1 cpumint cpumint 74K Aug 3 2006 license.txt
-r-------- 1 cpumint cpumint 57K Aug 12 2006 matinfox.enc
-r-------- 1 cpumint cpumint 6.6K Aug 3 2006 readme.txt
dr-xr-xr-x 5 cpumint cpumint 2.0K Sep 22 2006 .rr_
-r-------- 1 cpumint cpumint 684K Aug 3 2006 setup.exe
dr-xr-xr-x 2 cpumint cpumint 2.0K Sep 22 2006 uninstal
dr-xr-xr-x 3 cpumint cpumint 2.0K Sep 22 2006 utils
cpumint@cpumint ~/.wine/dosdevices/d: $ wine setup.exe
Looks like the setup file only has read permission, perhaps that should be changed to read and execute?
Thanks,
Pete
Re: Not recognizing CD
Hi Pete,petekoto wrote:Hello Bob,
Here is the dump from terminal
...
Still asks to insert CD#1.
Looks like the setup file only has read permission, perhaps that should be changed to read and execute?
Thanks,
Pete
Execute permissions will not apply to Windows executables you try to run with Wine directly. As the main wine binary is always executable!
What are the contents of the autorun.inf file?
If you have a 64-bit edition of Linux-Mint have you tried installing Matlab to a 32-bit Wineprefix?
Thanks
Bob
Re: Not recognizing CD
Hello Bob,
autorun.inf contains:
[autorun]
open=setup.exe
I am on a 64 bit edition on Mint. Found this bit of info about wine prefixes: http://askubuntu.com/questions/177192/h ... ine-prefix
However it doesn't seem to be working for me. Looks like there are a few errors, not quite sure how to interpret them.
Thanks,
Pete
autorun.inf contains:
[autorun]
open=setup.exe
I am on a 64 bit edition on Mint. Found this bit of info about wine prefixes: http://askubuntu.com/questions/177192/h ... ine-prefix
However it doesn't seem to be working for me. Looks like there are a few errors, not quite sure how to interpret them.
Code: Select all
cpumint@cpumint ~ $ WINEPREFIX=/home/cpumint/prefix32 WINEARCH=win32 wine wineboot
wine: created the configuration directory '/home/cpumint/prefix32'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe890, overlapped 0xdbe89c): stub
wine: configuration in '/home/cpumint/prefix32' has been updated.
Pete
Re: Not recognizing CD
Hi Pete,
OK so you're running the installer correctly!!
The message about:
refers to your system lacking the native 32-bit package lib32-gnome-keyring (or whatever Debian names it). I believe it's not essential to have this support.
The message about:
just ignore it!! Samba support in Wine is only really for enterprise use (we are talking Active Directory, etc).
More importantly does Matlab work or not??
Bob
OK so you're running the installer correctly!!
The message about:
Code: Select all
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
The message about:
Code: Select all
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
More importantly does Matlab work or not??

Bob
Re: Not recognizing CD
Hi Bob,
No, it is still asking to insert CD1
.
I am able to launch the installer on a Windows system with this CD, so it appears that the CD isn't corrupt...
Thanks,
Pete
No, it is still asking to insert CD1

I am able to launch the installer on a Windows system with this CD, so it appears that the CD isn't corrupt...
Thanks,
Pete
Re: Not recognizing CD
No, you should NOT ignore it. Quite a few apps that you wouldn't expect to need it will not install or work without it.Bob Wya wrote: just ignore it!! Samba support in Wine is only really for enterprise use (we are talking Active Directory, etc).
Re: Not recognizing CD
@Pete,
Thought your agony was dragging on too long!! So I did some Googling. As I suspected the problem is most likely down to Custom CD Copy Protection.
This Debian Mailing List thread that "died a death" - also doesn't bode well for your attempts...
Sorry I think we've hit a DRM brick wall here... To confirm just try to clone the CD/DVD on Windows and install from the disc (copy) also on Windows.
Bob
Thought your agony was dragging on too long!! So I did some Googling. As I suspected the problem is most likely down to Custom CD Copy Protection.
This Debian Mailing List thread that "died a death" - also doesn't bode well for your attempts...

Sorry I think we've hit a DRM brick wall here... To confirm just try to clone the CD/DVD on Windows and install from the disc (copy) also on Windows.
Bob
Last edited by Bob Wya on Tue Mar 25, 2014 9:15 am, edited 1 time in total.
Re: Not recognizing CD
Hi dimesio,dimesio wrote:No, you should NOT ignore it. Quite a few apps that you wouldn't expect to need it will not install or work without it.Bob Wya wrote: just ignore it!! Samba support in Wine is only really for enterprise use (we are talking Active Directory, etc).
Ahhh, I stand corrected. My humble apologies. I guess I've just not personally encountered any of these "applications" yet.
Bob
Re: Not recognizing CD
Bob--guess you don't use Microsoft Office 2010. And the forum is littered with threads from users whose problems with various other apps were solved just by installing winbind. I've seen it so often that I wish packagers would make winbind a dependency of their Wine packages.
As for copy protection, that was actually the first thing I thought of when I saw this thread, except the AppDB has numerous test reports from people who successfully ran Matlab in Wine. http://appdb.winehq.org/objectManager.p ... ion&iId=49
As for copy protection, that was actually the first thing I thought of when I saw this thread, except the AppDB has numerous test reports from people who successfully ran Matlab in Wine. http://appdb.winehq.org/objectManager.p ... ion&iId=49
Re: Not recognizing CD
Hi dimesio,dimesio wrote:Bob--guess you don't use Microsoft Office 2010. And the forum is littered with threads from users whose problems with various other apps were solved just by installing winbind. I've seen it so often that I wish packagers would make winbind a dependency of their Wine packages.
As for copy protection, that was actually the first thing I thought of when I saw this thread, except the AppDB has numerous test reports from people who successfully ran Matlab in Wine. http://appdb.winehq.org/objectManager.p ... ion&iId=49
No I use a combination of Kingsoft Office and Libre Office. I did assume that the Samba support would only really directly affect Microsoft products in the main. So I'll be more careful in future.
Ah good thinking about reminding me to wade through all those Matlab versions for the actual fix that everyone keeps referring to (but can't because of the link cleaning in the Wiki)... First install Matlab to Windows and transfer to a Wineprefix on Linux So there must be copy protection on the installer CD. Shame there is not an App maintainer for Matlab - the whole thing is a unholy mess on WineHQ!

All the best,
Bob
Re: Not recognizing CD
It seems to vary greatly by Matlab version. From the console output, the version the OP is using is 2006b1, which would be version 7.3 in the AppDB. The most recent test report for that says it does install. http://appdb.winehq.org/objectManager.p ... n&iId=5959
Of course, that test report is ancient; there could have been a regression since then. Unfortunately, that's not something that would be easily tested; 1.0 probably won't build on a modern system. So copying a Windows install is probably the easiest solution anyway.
Of course, that test report is ancient; there could have been a regression since then. Unfortunately, that's not something that would be easily tested; 1.0 probably won't build on a modern system. So copying a Windows install is probably the easiest solution anyway.
Re: Not recognizing CD
Hello,
It's a while, but I've installed Matlab on a 32bit windows system, did the Java update, and copied over the files. When I try to open the matlab.exe file in Program Files (x86)/MATLAB/R2006b/bin/win32, I get a License Manager Error
License Mangaer Error -9.
MATLAB is not licensed on this host.
Please reinstall MATLAB.
Any ideas?
Thanks,
Pete
It's a while, but I've installed Matlab on a 32bit windows system, did the Java update, and copied over the files. When I try to open the matlab.exe file in Program Files (x86)/MATLAB/R2006b/bin/win32, I get a License Manager Error
License Mangaer Error -9.
MATLAB is not licensed on this host.
Please reinstall MATLAB.
Any ideas?
Thanks,
Pete
Re: Not recognizing CD
http://en.wikipedia.org/wiki/GNU_Octave
petekoto if you did not know about it. GNU Octave might be method to get around problem without having to battle with wine.
petekoto if you did not know about it. GNU Octave might be method to get around problem without having to battle with wine.
Re: Not recognizing CD
I successfully cloned an install of Photoshop (CS4) from Windows to Wine - many moons ago. That was just following someones elses suggestions however.petekoto wrote:Hello,
It's a while, but I've installed Matlab on a 32bit windows system, did the Java update, and copied over the files. When I try to open the matlab.exe file in Program Files (x86)/MATLAB/R2006b/bin/win32, I get a License Manager Error
License Mangaer Error -9.
MATLAB is not licensed on this host.
Please reinstall MATLAB.
Any ideas?
Thanks,
Pete
In your will also have to copy over any registry keys the application (Matlab) creates as well as the physical files.
You can use the registry editor under Windows to export keys as .reg files and then import these .reg files again with the Wine Registry Editor:
Code: Select all
wine regedit
If you can find a Windows program - to do the (Windows side) registry dump for a specified application - then you are golden!
Basically you've got to be really quite "dedicated to the cause", at this point, to want to persevere!
Bob
Re: Not recognizing CD
Hi Bob,
I don't like to give up so easily. I will mess around with the registry files... we'll see how that goes.
Thanks for the tips, I really appreaciate it.
Pete
I don't like to give up so easily. I will mess around with the registry files... we'll see how that goes.
Thanks for the tips, I really appreaciate it.
Pete