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.
|
 |
05-13-2015, 12:32 PM
|
#1
|
Member
Registered: May 2012
Distribution: gentoo, debian, qubes, openELEC
Posts: 42
Rep:
|
ISO Filesystem Information / Analysis Tool
I have an ISO which is placed on a USB device and then inserted into a system in order to update it. The issue is I need to edit a file on the ISO and recreate a new image, with the original ISO's options, so that this system will recongize and use it.
I've been searching the web for a tool/method that will tell me how the ISO was "created".
- Does it have a boot image or catalog
- Was a boot-load-size specified
- Was rock ridge used
- Was a specific volid used
- etc...
I've looked through mkisofs for an option that would accomplish this, but haven't seen one yet.
Does anyone have some suggestions? All of my internet queries thus far have only yielded a deluge of "what is an ISO" and "how to mount and burn an ISO" results...
|
|
|
05-13-2015, 12:36 PM
|
#2
|
Member
Registered: May 2012
Distribution: gentoo, debian, qubes, openELEC
Posts: 42
Original Poster
Rep:
|
Solution found.
Amazing how a random thought can lead you to your answer. showed an 'isoinfo' binary installed. This looks like what I needed.
EDIT: The binary isodebug when given an image outputs the command used to create the image.
Code:
$ isodebug -i ISO.iso
ISO-9660 image created at Sat Jun 21 16:45:14 2014
Cmdline: '3.01a02 -r -J -o swdl.iso ISO'
Last edited by unassailable; 05-13-2015 at 12:46 PM.
Reason: New information
|
|
|
05-13-2015, 12:45 PM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
Is that a command entered in a terminal? What distribution do you use? Did you try it yet? Didn't you mount the iso with the "-o loop" option and wouldn't that allow you to edit what you want?
Last edited by JZL240I-U; 05-13-2015 at 12:47 PM.
|
|
|
05-13-2015, 12:52 PM
|
#4
|
Member
Registered: May 2012
Distribution: gentoo, debian, qubes, openELEC
Posts: 42
Original Poster
Rep:
|
Quote:
Originally Posted by JZL240I-U
Is that a command entered in a terminal? What distribution do you use?
|
Sorry, forgot about the basics.
I'm running linux-3.18.11-gentoo x86_64 from the terminal. All these binaries are installed with the 'cdrtools' package available in the main repo.
Yes I did and it gave me what I needed
Quote:
Didn't you mount the iso with the "-o loop" option and wouldn't that allow you to edit what you want?
|
I did come across this during my searching and after looking into it I think this is a misnomer. I was able to mount it using the loop option but the filesystem is readonly due to the nature of the ISO filesystem.
Last edited by unassailable; 05-13-2015 at 12:53 PM.
Reason: grammar
|
|
|
05-13-2015, 04:27 PM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,404
|
Quote:
I did come across this during my searching and after looking into it I think this is a misnomer. I was able to mount it using the loop option but the filesystem is readonly due to the nature of the ISO filesystem.
|
Loop mounting will not allow writing to the extracted file as you indicate. You would need to copy the loop mounted directories/files to another location where you have write permissions to make changes, then re-create the iso. Moot point in your case as you have found another method.
|
|
2 members found this post helpful.
|
05-13-2015, 05:01 PM
|
#6
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
n/m.
Last edited by Habitual; 05-13-2015 at 05:03 PM.
|
|
|
05-15-2015, 11:51 AM
|
#7
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
Quote:
Originally Posted by unassailable
...I was able to mount it using the loop option but the filesystem is readonly due to the nature of the ISO filesystem.
|
Hmm. Though all is solved and well, I just wonder if a "mount -o loop,rw" wouldn't have done the trick, but, as already stated, it is sort of moot  ...
<edit> Tried it myself. System (openSUSE) denies rw mounting because of file system type. </edit>
Last edited by JZL240I-U; 05-18-2015 at 01:19 AM.
|
|
|
All times are GMT -5. The time now is 09:02 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
|
|