Skip to contentSkip to conversation

ISO Image

DISCUSSION Oliver Ob 4 participants 4 messages Jul 9, 2002 – Jul 11, 2002

lore
Share & tools
lore

Oliver Ob

author
#0 lore raw

This is what I would like to do: Updating a backup then burn new.

I copied the old cd using
dd=if... of=/image.iso

Now I mounted that iso
mount -o loop -t iso9660 image.iso /mnt/image

It is there, no problems till here.

Now it is mounted rw (according to mount)
I want to copy one file INTO it.

But I get "READ ONLY FS"

So what do I do wrong here? It IS mounted rw

Please help, I need to get that done for tomorrow.

Signature · 6 lines
*º¤., ¸¸,.¤º*¨¨¨*¤        =Oliver@home=         *º¤., ¸¸,.¤º*¨¨*¤
I       http://www.bmw-roadster.de/Friends/Olli/olli.html       I
I       http://www.bmw-roadster.de/Friends/friends.html         I
I       http://groups.yahoo.com/group/VGAP-93                   I
I       mailto:[email protected]                I
I       http://home.t-online.de/home/spacecraft.portal          I
Quoted 1 line
Quoted 1 line
Quoted 1 line

Telek0ma iBBMS - now back online +49.4504.TRSi1/TRSi2 <<<

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw

An iso9660 filesystem is intrinsically read only, as I recall. To do what you want, you need to --

1. cp the contents of the filesystem to a directory on an ordinary
(e.g., ext2) filesystem.

2. Make the changes there.

3. Use a tool (such as mkisofs; I don't know if there are others)
to turn the updated directory into an iso9660 image file.

4. Put the new iso9660 image on a CD (for example, with cdrecord).

Quoted 10 lines · Oliver Ob

This is what I would like to do: Updating a backup then burn new.

I copied the old cd using
dd=if... of=/image.iso

Now I mounted that iso
mount -o loop -t iso9660 image.iso /mnt/image

It is there, no problems till here.

Quoted 8 lines

Now it is mounted rw (according to mount)
I want to copy one file INTO it.

But I get "READ ONLY FS"

So what do I do wrong here? It IS mounted rw

Please help, I need to get that done for tomorrow.

--
-----------------------------------------------"Never tell me the odds!"--------------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw

Here are a few scripts that might help:

To create an ISO image from a directory:

-----cut-----
#!/bin/sh

DIRECTORY=echo "$1/" | cut -d "/" -f1 echo Creating ISO image called "$DIRECTORY".iso... mkisofs -R -J -l "$1" > "$DIRECTORY.iso"

----end cut---

Just make it executable and run it like this:

./makeiso directory

where directory is where you have your files you want to put on CD. This will make an iso with the name directory.iso

Here's another script to burn iso's using cdrecord:

--cut---

#!/bin/sh
cdrecord -eject dev=1,0,0 speed=12 fs=16M -isosize -pad "$1" sleep 2

--end cut--

Again, make this exe. after you've made changes to reflect your current hardware. Use cdrecord --scanbus to see what your dev= settings are and set the speed.

If you save this file as burniso.sh, just "burn" a cd with "burniso directory.iso".

That's it!

hope this helps,

Wlad.

Quoted 32 lines · Ray Olszewski

An iso9660 filesystem is intrinsically read only, as I recall. To do what you want, you need to --

1. cp the contents of the filesystem to a directory on an ordinary
(e.g., ext2) filesystem.

2. Make the changes there.

3. Use a tool (such as mkisofs; I don't know if there are others)
to turn the updated directory into an iso9660 image file.

4. Put the new iso9660 image on a CD (for example, with cdrecord).

Quoted 18 lines · Oliver Ob

This is what I would like to do: Updating a backup then burn new.

I copied the old cd using
dd=if... of=/image.iso

Now I mounted that iso
mount -o loop -t iso9660 image.iso /mnt/image

It is there, no problems till here.

Now it is mounted rw (according to mount)
I want to copy one file INTO it.

But I get "READ ONLY FS"

So what do I do wrong here? It IS mounted rw

Please help, I need to get that done for tomorrow.

Signature · 10 lines
http://www.linuxvoodoo.com     

perl -le '$_="75>42833<33.=3?,13406577073890:;90833<330690<3!!";tr[0-?][ 
YXOUIWLVETHDCNM];print'

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#3 lore raw
In reply to Oliver Ob

--- Oliver Ob <[email protected]> a écrit : > This is
what I would like to do: Updating a backup

Quoted 8 lines

then burn new.

I copied the old cd using
dd=if... of=/image.iso

Now I mounted that iso
mount -o loop -t iso9660 image.iso /mnt/image

Quoted 9 lines

It is there, no problems till here.

Now it is mounted rw (according to mount) I want to copy one file INTO it.

But I get "READ ONLY FS"

So what do I do wrong here? It IS mounted rw

1. You should RTFM before experimenting.
2. ISO9660 is _not_ a writable filesystem.
It was developed for read only media.

Quoted 2 lines

Please help, I need to get that done for tomorrow.

If you want to "write" to a ISO image:
1. mount the iso
2. copy the files you want to keep on that iso
in a directory. COpy the others file which you
want on that iso in that directory
3. man mkisofs
4. make the iso from that directory

Quoted 25 lines
Signature · 15 lines
*º¤., ¸¸,.¤º*¨¨¨*¤        =Oliver@home=        
*º¤., ¸¸,.¤º*¨¨*¤
I      
http://www.bmw-roadster.de/Friends/Olli/olli.html   
   I
I      
http://www.bmw-roadster.de/Friends/friends.html     
   I
I       http://groups.yahoo.com/group/VGAP-93       
           I
I       mailto:[email protected]    
           I
I      
http://home.t-online.de/home/spacecraft.portal      
   I
Quoted 1 line
Quoted 1 line
Quoted 1 line

Telek0ma iBBMS - now back online

+49.4504.TRSi1/TRSi2 <<<
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at

http://www.linux-learn.org/faqs

=====
--
The UNIX Hierarchy - Beginner
- insecure with the concept of a terminal
- has yet to learn the basics of "vi"
- has not figured out how to get a directory
- still has trouble with typing <RETURN> after each line of input

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs