LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-02-2005, 04:25 PM   #1
Johnsernickle
Member
 
Registered: Aug 2002
Posts: 71

Rep: Reputation: 15
Mount ISO Read/Write


Hello, I am trying to edit a Live CD, Overclockix, to fold for my username. I downlaoded the ISO and mounted it using

Code:
mount  -o rw,loop -t iso9660 /home/luser/Overclockix_3.8.iso /mnt/iso/
But the filesystem is still read only! i just want to edit a textfile inside the ISO, and then burn it. It seems like it shouldnt be that hard. After that failed i extracted the ISO to a directory edited the file and was unable to figure out how to rebuild the ISO. If thats what i have to do how do i put the ISO back together? Thanks alot,

Petes
 
Old 06-02-2005, 04:42 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
you'll have to copy the files from /mnt/iso/ to another /home/directory/ make your changes then create a new .iso image file.

KC
 
Old 06-02-2005, 04:47 PM   #3
king_nothingzzz
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Red Hat Enterprise Linux 4
Posts: 120

Rep: Reputation: 15
*mkisofs* is your friend.

I personally havent used it, but i know a few people who swear by it.

You can download it here --> http://freshmeat.net/projects/mkisofs/

There's also a nice write up to make your live cd/edit iso etc here --> http://www.asylumnation.com/blogs/am...post-2775.html

Hope this helps

Cheers

king_nothingzz
 
Old 06-02-2005, 09:33 PM   #4
Johnsernickle
Member
 
Registered: Aug 2002
Posts: 71

Original Poster
Rep: Reputation: 15
I have no idea how to remake this image. Ive been trying to do it for a while and i cant get it to work. I followed that guide, and tried to remake the ISO by

Code:
mkisofs -o /new.iso -b /home/luser/cdrom/boot/isolinux/isolinux.bin -c /home/luser/cdrom/boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R /home/luser/
but i always get the same error and i dont know whats wrong

INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
Unknown file type (unallocated) /home/luser/.. - ignoring and continuing.
call to search_tree_file with an absolute path, stripping
initial path separator. Hope this was intended...
mkisofs: Uh oh, I cant find the boot catalog directory '/home/luser/cdrom/boot/isolinux'!

Whats wrong!? i really want to get this working. Does anyone have an easier way of doign this, this is making me crazy!

Petes
 
Old 06-03-2005, 03:19 PM   #5
jimsvoboda
LQ Newbie
 
Registered: Nov 2004
Distribution: suse 10.2
Posts: 9

Rep: Reputation: 0
Since you want to burn a cd anyway and since mkisofs is giving you trouble, instead of concentrating on regenerating the iso, just burn the files you recovered from the iso directly to a cd using k3b or your favorite cd burning software. Then if you really need the iso file, you can generate it from the cd.
 
Old 11-29-2016, 04:18 PM   #6
Jason Swartz
LQ Newbie
 
Registered: Nov 2016
Location: Dallas Texas
Distribution: Linux Mint
Posts: 1

Rep: Reputation: Disabled
@Johnsernickle

I know this thread is old but if anyone else came here to figure this out try the following
To Rebuild/Remake an ISO with mkisofs:

Lets assume the working folder for you extracted ISO image is ~/Desktop/CD
and for simplicity your boot file located at ~/Desktop/CD/boot.img

The code below will output the new ISO image at ~/Desktop/BOOTCD.iso

put the contents of the script below in a file called:
createiso.sh

Code:
#!/bin/bash

CDLABEL="BOOTCD"
ISONAME="BOOTCD.ISO"
 
mkisofs -o "$ISONAME" -v -J -R -D -A "$CDLABEL" -V "$CDLABEL" \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot.img CD
Open a terminal at ~/Desktop and run the script:
sh ./create-iso.sh

I have always has issues with mkisofs using true paths or ./CD
seems like mkisofs has issues with full paths and or using ./

This works for me and I hope this method and script helps someone else.

Good luck!
 
1 members found this post helpful.
Old 12-02-2016, 11:32 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Jason Swartz, hello and welcome to LQ.

Thanks for the information.

The original post is 11 years ago
 
Old 12-03-2016, 12:11 AM   #8
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Thanks for the info
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
editing iso images (mounting read-write?) aesahaettr Linux - Software 5 11-16-2006 07:51 PM
Cannot mount a USB drive as read/write. icheyne MEPIS 2 06-28-2005 01:48 AM
Lexar Jumpdrive, detected, but cannot read/write/mount Gary987 Linux - Hardware 1 06-12-2005 02:20 PM
mount vfat read/write problem dhammika Linux - General 4 08-27-2004 06:25 AM
Can't mount NTFS in read-write mode Tyco Linux - Hardware 4 06-08-2003 11:52 AM

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

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