LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-21-2015, 03:51 AM   #1
Mikibelavista
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Rep: Reputation: Disabled
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?
 
Old 03-21-2015, 03:57 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
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.
Old 03-21-2015, 04:14 AM   #3
Mikibelavista
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 03-21-2015, 04:23 AM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
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.
Old 03-23-2015, 03:54 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,048

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
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.
Old 03-25-2015, 05:32 AM   #6
Mikibelavista
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-25-2015, 08:10 AM   #7
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 03-26-2015, 02:53 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,048

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
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.
Old 03-27-2015, 01:57 AM   #9
Mikibelavista
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
But how to un-roll it?
 
Old 03-27-2015, 12:09 PM   #10
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You may try using the cdrecord utilities: 'isodump', 'isovfy', 'isoinfo'.
 
Old 03-27-2015, 01:00 PM   #11
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Or, if you have got a windows box then you can download Winrar and extract the ISO using it.
 
Old 04-16-2015, 02:23 AM   #12
Mikibelavista
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-16-2015, 02:34 AM   #13
Mikibelavista
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-16-2015, 03:45 AM   #14
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 04-16-2015, 03:50 AM   #15
Mikibelavista
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
file MATLAB\ R2014a\ Unix.iso
MATLAB R2014a Unix.iso: Java Jar file data (zip)
It is a zip file.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy the ISO Image to Datastores in VMware mashiurrahman Linux - Newbie 2 11-25-2012 02:42 AM
Where can I get a copy of Redhat 6.1, iso image that I can load from? jorge11b Red Hat 3 06-08-2012 09:11 PM
Embed File into Image (rar?) swatward Linux - Software 5 01-14-2008 05:57 AM
Help me !!!! I have a folder non iso copy of Red Hat CDs vivinuthappa Red Hat 6 08-01-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration