LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-05-2002, 03:12 PM   #1
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
altering .iso's


If I mount an iso image, make some changes to it, and unmount it.... Is it still a valid .iso image? can I still burn it onto a cd w/ the same functionality as before, or do I need to do mkisofs on it again?
 
Old 11-05-2002, 04:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
AFAIK you can't modify iso's like changing stuff because of the way stuff like TOC's are handled.
 
Old 11-05-2002, 04:34 PM   #3
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Original Poster
Rep: Reputation: 30
ooh darn.

thanks
 
Old 11-05-2002, 04:47 PM   #4
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
They are usually tagged as readonly CD-ROM filesystems, so you won't be
able to mount them rw. . .
 
Old 11-05-2002, 05:22 PM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Is there any way to change this? I would find it incredibly helpful to be able to mount an ISO image of a *ahem* certain type of *ahem* CD so that I can add a text file that contains *ahem* certain serial informations *ahem*.
 
Old 11-05-2002, 07:10 PM   #6
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
As was said before most of the filesystems on CDs are designed to be read-only. Ignoring the questionable ethics, I will assume this is for software the you legitimately own and want a working copy for. Being a programmer who makes his living selling software I have strong opinions on the subject.

That said, why not just burn your copy and place the serial # on the label?

Chances are adding a file and creating a new iso will be no more harmful to the copy than cereating the iso itself. ISO images do not specify the physical topology of the end result.

If the software is designed to a specific physical topology then a copy from an iso image would not be valid, you would need to do a raw write from a manufactured CD.

If the software is not designed for such copy protections then (purposely flawed data, specific file topology, etc) adding a file and creating a new image will not hurt anything.

EDIT: To clarify for the original poster, no it can not be done for most iso file systems. I could be wrong though.

Last edited by Mephisto; 11-05-2002 at 07:17 PM.
 
Old 11-05-2002, 08:31 PM   #7
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
every tried making another iso of just the text file and appending it to a cd? Or do you just want the iso as one file, so "you" can download it over the "L"AN?
 
Old 11-05-2002, 08:42 PM   #8
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Original Poster
Rep: Reputation: 30
"I" am not trying to send anything over a "L"AN.... I have simply made a boot cd with a program on it to install some packages.... It doesn't work right, so I need to fix it. I was wondering if I could do that without having to copy it all over to a directory again.

what do you mean by making an iso of the text file and appending it to the cd... how would you do that?
 
Old 11-05-2002, 09:16 PM   #9
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
adam_boz, wasn't trying to insinuate anything dude, I was simply reacting to one of the messages in the thread before I realized it was not from you.

That said I did a quick scan of the man page for mkisofs and came up with this:

-M path
or

-M device
Specifies path to existing iso9660 image to be merged.
The alternate form takes a SCSI device specifier that
uses the same syntax as the dev= parameter of cdrecord.
The output of mkisofs will be a new session which
should get written to the end of the image specified in
-M. Typically this requires multi-session capability
for the recorder and cdrom drive that you are attempt-
ing to write this image to. This option may only be
used in conjunction with the -C option.


This is intended for multisession disks but it might do what you want.

Edit: But if you need to modify an existing file then copying the dir tree and creating a new iso is likely necessary.

Last edited by Mephisto; 11-05-2002 at 09:18 PM.
 
Old 11-05-2002, 10:35 PM   #10
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Original Poster
Rep: Reputation: 30
No harm done.... I understand (and respect) your views on the subject.

I really don't use any closed source software, but that's probably b/c I don't do anything too important :-)

uh-oo... now I've probably pissed off a bunch of gnu gurus ;-)

really though, this is a pretty interesting topic... thanks all for your replies.
 
  


Reply



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
Altering cursor size dogpatch Programming 4 12-02-2005 01:57 AM
Downloading Debian Iso's - 7 ISO's ? GoinEasy9 Debian 13 04-16-2005 01:33 PM
altering cd command, can it be done? glingon Linux - Software 9 11-24-2004 08:47 PM
sound-level-altering script benjithegreat98 Linux - General 2 01-07-2004 08:18 PM
altering the time at the command line vendemmian Linux - General 1 05-01-2001 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:41 AM.

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