LinuxQuestions.org
Review your favorite Linux distribution.
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 04-07-2005, 03:29 PM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
program to modify iso image


lets say I have downloaded an iso image of a linux distro I want to use. I would like to modifiy it by adding a file to it before I burn the image. Is there a program that will allow me to edit the isos image?
 
Old 04-07-2005, 04:17 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
just mount the iso image, copy the contents to a directory, do whatever you need to do in that directory, and then make a new (bootable) iso image of that directory...

something like this example (your milage may vary):

Code:
mount -o loop example.iso /mnt/cdrom

cp -vR /mnt/cdrom/* /somewhere

# do whatever you need to do in /somewhere and when you're done:

cd /somewhere

mkisofs -o /tmp/example_new.iso -R -J -hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort \
isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot  .
the mkisofs command in my example was taken from the slackware isolinux readme... you might wanna use other options... check "man mkisofs" for more info about that...

ftp://ftp.slackware.com/pub/slackwar...nux/README.TXT

just my two cents...


Last edited by win32sux; 04-07-2005 at 04:19 PM.
 
Old 04-07-2005, 04:29 PM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
thanks, that should work nice
 
Old 04-18-2005, 05:28 PM   #4
jago25_98
Member
 
Registered: Jun 2001
Posts: 302

Rep: Reputation: 30
What a pain, on the fly is alot faster, especially if you're working with bootable DVD images
 
Old 04-18-2005, 05:38 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by jago25_98
What a pain, on the fly is alot faster, especially if you're working with bootable DVD images
how about you share your knowledge and explain how to do it "on the fly" instead of just venting on the thread??
 
Old 04-18-2005, 07:32 PM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Heh, heh... Really... Enlighten us...

It is a pain but thats what I normally do myself. Only I use K3B instead of that long ass command. There are still so many commands that I haven't explored in Linux. I know there is a way to do it. Maybe 'growisofs' or something along those lines would do the trick. That sounds like it might work but the man page only mentions recordable media.

Maybe it will be tricked into thinking it's 'recordable media' because the image is an ISO9660 filesystem....

Last edited by jong357; 04-18-2005 at 07:34 PM.
 
Old 08-26-2006, 06:15 AM   #7
jago25_98
Member
 
Registered: Jun 2001
Posts: 302

Rep: Reputation: 30
Yes, for this I reboot into Windows and use MagicISO as it's quicker this way.

Surprised there isn't a linux way or rather it involves remastering the iso. In fact I thought you could just remount the ISO as rw but it unfortunately you can't. Really suprised me.
 
  


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
modify linux iso image xelnt Linux - General 6 07-15-2010 06:41 PM
howto modify the image on the screen after logging in?? rohan208 Linux - General 3 07-13-2004 11:48 PM
I downloaded the gentoo iso in mandrake, what program do i burn the iso with backflippin General 4 04-05-2004 10:20 AM
how to modify codes in a program? timberwolf Linux - Software 1 12-08-2003 07:21 AM
HELP!!! What to do with iso image!!! nosebleed Linux - Newbie 17 03-03-2003 04:02 PM

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

All times are GMT -5. The time now is 08:01 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