Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-21-2015, 03:51 AM
|
#1
|
LQ Newbie
Registered: Mar 2015
Posts: 20
Rep: 
|
How to copy .rar folder to iso image file?
I am on Ubuntu 14.04.I am trying to copy install.jar file to iso image file.Any ideas?
|
|
|
03-21-2015, 03:57 AM
|
#2
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
You might want to extract your .iso and then copy install.jar file to it and then create iso again. Here is something you might find useful on creating the iso again after embedding install.jar in it: http://askubuntu.com/questions/13616...ate-iso-images
|
|
1 members found this post helpful.
|
03-21-2015, 04:14 AM
|
#3
|
LQ Newbie
Registered: Mar 2015
Posts: 20
Original Poster
Rep: 
|
Still I do not get it.
I have in home/mil/2014a/MATLAB R2014a Unix.iso MATLAB.Should I copy the whole MATLAB R2014a Unix.iso then try to make changes in java ?
|
|
|
03-21-2015, 04:23 AM
|
#4
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
Let me put it sequential:
1. Extract your iso using the steps mentioned here: http://www.makeuseof.com/tag/extract-iso-files-linux/
2. Copy install.jar in extracted directory (where you have extracted your iso)
3. Build your iso again using the steps mentioned here: http://askubuntu.com/questions/13616...ate-iso-images
In step 3 you will be creating iso image from the directory which contains iso extracted files and install.jar
|
|
1 members found this post helpful.
|
03-23-2015, 03:54 PM
|
#5
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
Might be running out of space on that iso image but if you have enough then the above idea is basically what you asked about.
Other ideas may be to create a custom install cd with some tool or app or build online like found at SuseStudio.
Other idea may be to create a new track on the disc for this extra info.
Can usually just bring a second disc or usb too.
|
|
1 members found this post helpful.
|
03-25-2015, 05:32 AM
|
#6
|
LQ Newbie
Registered: Mar 2015
Posts: 20
Original Poster
Rep: 
|
I have problems with mounting iso file.
milenko@milenko-HP-Compaq-6830s:~/2014a$ sudo mount -o loop MATLAB\ R2014a\ Unix.iso /mnt/iso/
mount: block device /home/milenko/2014a/MATLAB R2014a Unix.iso is write-protected, mounting read-only
mount: you must specify the filesystem type
milenko@milenko-HP-Compaq-6830s:~/2014a$ sudo mount -t iso9660 MATLAB\ R2014a\ Unix.iso /mnt/iso/
mount: block device /home/milenko/2014a/MATLAB R2014a Unix.iso is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
|
|
|
03-25-2015, 08:10 AM
|
#7
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
Can you mount other iso images or iso cd/dvd's? Check you have module or kernel has iso9660 support. Try 'modprobe iso9660' and then lsmod | grep iso9660'.
Check dmesg output if the kernel has builtin iso9660 support.
Are you sure the image file you are trying to mount is indeed a iso9660 image?
May be the file is corrupted.
|
|
|
03-26-2015, 02:53 PM
|
#8
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
You un-roll the iso to a folder to modify it usually then wrap it back up. Not sure making a loop device would allow you to edit the iso.
|
|
1 members found this post helpful.
|
03-27-2015, 01:57 AM
|
#9
|
LQ Newbie
Registered: Mar 2015
Posts: 20
Original Poster
Rep: 
|
But how to un-roll it?
|
|
|
03-27-2015, 12:09 PM
|
#10
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
You may try using the cdrecord utilities: 'isodump', 'isovfy', 'isoinfo'.
|
|
|
03-27-2015, 01:00 PM
|
#11
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
Or, if you have got a windows box then you can download Winrar and extract the ISO using it.
|
|
|
04-16-2015, 02:23 AM
|
#12
|
LQ Newbie
Registered: Mar 2015
Posts: 20
Original Poster
Rep: 
|
Well,I have tried this:
Quote:
isoinfo -d -i MATLAB\ R2014a\ Unix.iso
CD-ROM is NOT in ISO 9660 format
|
Quote:
isodump MATLAB\ R2014a\ Unix.iso
isodump: Short read on old image
|
Actually the file zip format,I do not know if that matters.
|
|
|
04-16-2015, 02:34 AM
|
#13
|
LQ Newbie
Registered: Mar 2015
Posts: 20
Original Poster
Rep: 
|
Quote:
isovfy -i MATLAB\ R2014a\ Unix.iso
Root at extent 6e692fde, 1866739564 bytes
[0 0]
********Directory has unusual size
isovfy: Short read on old image
|
What this means?
|
|
|
04-16-2015, 03:45 AM
|
#14
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
So it says the iso file is not in standard iso9660 format and also it causes short read of file. This may explain why it's not mounting.
Run:
Code:
file MATLAB\ R2014a\ Unix.iso
Post what it produces.
|
|
|
04-16-2015, 03:50 AM
|
#15
|
LQ Newbie
Registered: Mar 2015
Posts: 20
Original Poster
Rep: 
|
Quote:
file MATLAB\ R2014a\ Unix.iso
MATLAB R2014a Unix.iso: Java Jar file data (zip)
|
It is a zip file.
|
|
|
All times are GMT -5. The time now is 07:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|