LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-01-2011, 10:14 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 50
mount ISO file and change files inside


Hi

Howto mount an ISO file, change some files and save it after changes?
 
Old 02-01-2011, 10:37 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

I've tried several ways to do that but the only one working for me (probably because I lack experience in that field) is to mount it, copy the contents to another directory and create a new ISO from there after the changes are applied using mkisofs.

Kind regards,

Eric
 
Old 02-01-2011, 10:58 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,758

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Mount an iso file : When you do that, it is still 'read only'.
( # mount -o loop my.iso /home/<username>/<new-folder> )

To edit, I don't think, there is any other way than copying the
<mounted content> to a new folder. Ref. post #2.

The complete method :
http://www.asylumnation.com/blogs/am...post-2775.html

..
 
1 members found this post helpful.
Old 02-01-2011, 11:16 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi knudfl,

Thanks for the link, I was looking for a complete and easy to understand howto when posting but didn't find it fast enough. For reference, I tried using MagicISO which at first seemed to work but when booting from the 'recreated' CD I got lots of errors and booting failure whereas using the copy / mkisofs combination worked flawless.

Kind regards,

Eric
 
Old 02-02-2011, 04:57 AM   #5
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
post 2 here:
http://www.debe17.com/web_pages/dean...apr08.php.html
there is also a explanation how-to use xnest.
 
  


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 make dvd iso file from cd iso files. hocheetiong Linux - General 1 09-29-2007 06:21 AM
How do i change spaces inside a txt file, and replace space with backslash \? repolona Linux - Newbie 1 05-24-2006 06:08 AM
unable to put file 4GB file INSIDE iso saravkrish Linux - Software 2 03-23-2005 04:41 PM
how to mount iso files hillelr Linux - Newbie 2 02-17-2004 08:54 AM
A mounted file system inside an NFS mount paradoxlight Linux - Networking 1 04-24-2002 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration