LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2007, 06:11 PM   #1
linuxpokernut
Member
 
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Blog Entries: 8

Rep: Reputation: 59
Editing an .iso file in linux


I am running Moonshine with the latest kernel and want to make a slax distro with my prefered modules. Allegedly all that needs to be done is adding the .mo files to the /modules/ directory. What is the easiest way to accomplish this?

I am assuming that I can burn the iso to a cd, copy the cd onto a directory on my hard drive, add the file, and then burn that as a new .iso. Thats how I would do it in Winslows anyway. I read somewhere there was an editiso command but no manual and no command in my distro.

If one was to do what I suggested, what program in linux would I use to make the new iso image?

Thanks in advance as always.
 
Old 09-24-2007, 06:22 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
Please disregard this post.

Last edited by osor; 09-24-2007 at 08:29 PM.
 
Old 09-24-2007, 07:10 PM   #3
linuxpokernut
Member
 
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Blog Entries: 8

Original Poster
Rep: Reputation: 59
Is "hello" the /directory/file of what I want to add?

The mounted iso seems to be a read only file system even tho my root has rwx permissions...

drwxr-xr-x 9 root root 4096 2006-08-21 14:00 disk

Last edited by linuxpokernut; 09-24-2007 at 07:34 PM.
 
Old 09-24-2007, 07:42 PM   #4
i_grok
Member
 
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79

Rep: Reputation: 16
Yes, you can loopback mount an ISO, but you cannot edit it. You'll need to pull the files out of the ISO, edit them, and then stick them back into a new ISO.

I've been waiting for a better solution to this problem, probably through FUSE, but haven't seen it yet.
 
Old 09-24-2007, 07:54 PM   #5
linuxpokernut
Member
 
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Blog Entries: 8

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by i_grok View Post
Yes, you can loopback mount an ISO, but you cannot edit it. You'll need to pull the files out of the ISO, edit them, and then stick them back into a new ISO.

I've been waiting for a better solution to this problem, probably through FUSE, but haven't seen it yet.
Ok, i have the file mounted so i can just make a new directory and put the files in there. I am not editing anything, only adding a file, so all that is left to do is make the new iso.

I take it I need a program for this? I could cheat and use my winslows box but i would really like this to be accomplished in linux.

So I guess my (hopefully) last question in this thread is how do I create said new iso in linux?

thanks again.
 
Old 09-24-2007, 08:28 PM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
Quote:
Originally Posted by linuxpokernut View Post
So I guess my (hopefully) last question in this thread is how do I create said new iso in linux?
use mkisofs

Last edited by osor; 09-24-2007 at 08:29 PM.
 
Old 09-25-2007, 10:31 AM   #7
juergen
Member
 
Registered: Sep 2001
Posts: 40

Rep: Reputation: 16
I realize that this doesn't really answer your question, but I would like to point out that in your case, burning a multisession CD might also be an option: Just burn the original ISO with 'cdrecord -multi ...' and create a supplementary ISO containing your modules by following the instructions at http://www.faqs.org/docs/Linux-HOWTO...TO.html#ss4.18

That way, you can keep the 'clean' ISO and your own contributions separate, which ought to make things easier to manage as new versions of Slax and/or the modules are released.
 
Old 09-25-2007, 02:28 PM   #8
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
K3B will burn an image, which is an iso. Why make it harder than it has to be?
 
Old 09-26-2007, 09:44 AM   #9
linuxpokernut
Member
 
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Blog Entries: 8

Original Poster
Rep: Reputation: 59
Thanks for all the help, I didn't think k3b could could write to an existing directory on a multisession but apparently it can. I got it to copy and added my files but now the disk isn't bootable so I think I am just going to open a thread in the slackware forum for help on the specific problem.

btw isomaster is a good FE tool for linux noobs (like me, no malice intended).
http://littlesvr.ca/isomaster/
 
  


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
Mounting an ISO Image & Editing it linuxnewbie82 Fedora 21 10-05-2010 07:35 AM
Easy ISO remastering/editing Randux Slackware 6 02-22-2007 05:02 AM
Editing ISO image Guignol Linux - Software 2 02-28-2006 04:27 PM
SUSE Installer ISO editing help pokemaster SUSE / openSUSE 1 02-27-2006 10:25 AM
Why when editing files does Linux create a duplicate file with a ~ in the extension? bugbite99 Linux - General 6 01-17-2005 03:21 PM


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