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 |
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.
|
 |
09-24-2007, 05:11 PM
|
#1
|
Member
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Rep:
|
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.
|
|
|
09-24-2007, 05:22 PM
|
#2
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
Please disregard this post.
Last edited by osor; 09-24-2007 at 07:29 PM.
|
|
|
09-24-2007, 06:10 PM
|
#3
|
Member
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Original Poster
Rep:
|
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 06:34 PM.
|
|
|
09-24-2007, 06:42 PM
|
#4
|
Member
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79
Rep:
|
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.
|
|
|
09-24-2007, 06:54 PM
|
#5
|
Member
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Original Poster
Rep:
|
Quote:
Originally Posted by i_grok
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.
|
|
|
09-24-2007, 07:28 PM
|
#6
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
Quote:
Originally Posted by linuxpokernut
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 07:29 PM.
|
|
|
09-25-2007, 09:31 AM
|
#7
|
Member
Registered: Sep 2001
Posts: 40
Rep:
|
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.
|
|
|
09-25-2007, 01:28 PM
|
#8
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
K3B will burn an image, which is an iso. Why make it harder than it has to be?
|
|
|
09-26-2007, 08:44 AM
|
#9
|
Member
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Original Poster
Rep:
|
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/
|
|
|
All times are GMT -5. The time now is 06:34 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
|
|