LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-27-2011, 11:08 PM   #1
red hat flyfisherman
LQ Newbie
 
Registered: Oct 2007
Location: Birmingham, AL
Distribution: Linux Mint 11 LXDE
Posts: 23

Rep: Reputation: 0
Force executable .exe files when creating .iso files?


I have a some windows bin/cue files which i have made into isos using

bchunk file1.bin file1.cue file1.iso

which has worked great except that when i go to mount the iso the resulting .exe files are not executable. The man page for bchunk is little help in this area. I have tried making the .bin and .cue files executable first in the hopes that this setting would carry over, to no avail.

When I burn the image to cd and try to change permissions (obviously) I get the following

sudo chmod u+x /media/file1/playd2.exe
chmod: changing permissions of `/media/file1/playd2.exe': Read-only file sys

Also the command

mount -o remount,exec /media/file1

didnt seem to help resolve the issue.
Surely there is some way in Linux to force the creation of executable .exe files when making an iso? Making them under windows now would be like failure.....

thanks in advance

running linux mint 11 LXDE on Dell XPS M140 Laptop
 
Old 11-27-2011, 11:23 PM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
Are you trying to execute a *.exe on linux? Thats never going to work, (unless you use wine)

The ISO9660 filesystem is read only. That is why you're chmod'ing wont work.
 
Old 11-27-2011, 11:37 PM   #3
red hat flyfisherman
LQ Newbie
 
Registered: Oct 2007
Location: Birmingham, AL
Distribution: Linux Mint 11 LXDE
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fukawi1 View Post
Are you trying to execute a *.exe on linux? Thats never going to work, (unless you use wine)

The ISO9660 filesystem is read only. That is why you're chmod'ing wont work.
Yes sorry left that out.

the .exe in question is for running diablo II which i was able to successfully install using the iso i created and winetricks but when i try to run the game itself i get the never ending prompt to insert the Play Disc which is sitting in the cdrom tray ready to go. The only thing i can think of is that the game cant load it because it isnt executable....
 
Old 11-27-2011, 11:53 PM   #4
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
If the game is asking you to insert the disk, then the game is executing...

I don't game, or use wine, so i cant help beyond recommending
http://appdb.winehq.org/appview.php?iVersionId=49
 
Old 11-28-2011, 06:28 PM   #5
red hat flyfisherman
LQ Newbie
 
Registered: Oct 2007
Location: Birmingham, AL
Distribution: Linux Mint 11 LXDE
Posts: 23

Original Poster
Rep: Reputation: 0
another failure

Tried creating the iso as above then mounting before burning to see if I could change the permissions at this point

Quote:
sudo chmod -u+x ~/PLAYDISC_iso/playd2.exe
chmod: cannot access `/home/jbc/PLAYDISC_iso/playd2.exe': Permission denied
any thoughts?

btw I did read the wine page concerning Diablo II and while it was informative it didnt seem to address this issue

thanks again
 
Old 11-28-2011, 11:32 PM   #6
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
The ISO9660 file system, by design, is read only...

You cant change the permissions on a file contained within a mounted ISO image.

It is not a problem with permissions..

I am guessing your problem is related to the fact wine doesn't see where you mounted the ISO to as being a cd drive, with a drive letter, and the diablo executable is (obviously) looking at X:\ rather than /mnt/diablo_iso or where ever.

Quote:
Minimum Requirements

winecfg: A drive letter for your cdrom, and running as Win2k, XP or later.
taken from.... http://appdb.winehq.org/appview.php?iVersionId=49 (thats the same link i posted before by the way)
 
Old 12-01-2011, 06:10 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Moved: This thread is more suitable in <Linux-General> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply

Tags
diablo, exe, iso


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where Exactly Does Ubuntu 9.10 First Store Downloaded .ISO and .EXE Files? cbl48 Linux - Newbie 3 03-26-2010 04:40 PM
Creating a script to move or copy files into multiple directories below the files matthes138 Linux - Newbie 5 08-25-2009 04:57 PM
Creating ISO Files from DVDs atheist Linux - Software 8 08-01-2008 11:09 AM
Restrict exe files inside an archive files in samba paulreynand Linux - Networking 2 02-02-2006 04:07 AM
Converting perl files to executable mac files mrozkan Programming 0 04-16-2002 09:56 AM


All times are GMT -5. The time now is 12:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration