All of lore.kernel.org
 help / color / mirror / Atom feed
* ISO Image
@ 2002-07-09 17:00 Oliver Ob
  2002-07-09 18:17 ` Ray Olszewski
  2002-07-11 10:17 ` szonyi calin
  0 siblings, 2 replies; 5+ messages in thread
From: Oliver Ob @ 2002-07-09 17:00 UTC (permalink / raw)
  To: Lx Newbie List

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.

-- 
*º¤., ¸¸,.¤º*¨¨¨*¤        =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:VGAP-93-subscribe@yahoogroups.com                I
I       http://home.t-online.de/home/spacecraft.portal          I
>>>  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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ISO Image
  2002-07-09 17:00 ISO Image Oliver Ob
@ 2002-07-09 18:17 ` Ray Olszewski
  2002-07-09 18:31   ` Wladimir Foo
  2002-07-11 10:17 ` szonyi calin
  1 sibling, 1 reply; 5+ messages in thread
From: Ray Olszewski @ 2002-07-09 18:17 UTC (permalink / raw)
  To: Oliver Ob, Lx Newbie List

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).

At 07:00 PM 7/9/02 +0200, Oliver Ob wrote:
>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.



--
-----------------------------------------------"Never tell me the 
odds!"--------------
Ray Olszewski					     -- Han Solo
Palo Alto, California, USA				ray@comarre.com
-------------------------------------------------------------------------------------------

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ISO Image
  2002-07-09 18:17 ` Ray Olszewski
@ 2002-07-09 18:31   ` Wladimir Foo
  0 siblings, 0 replies; 5+ messages in thread
From: Wladimir Foo @ 2002-07-09 18:31 UTC (permalink / raw)
  To: Lx Newbie List

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.

On Tuesday 09 July 2002 02:17 pm, Ray Olszewski wrote:
> 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).
>
> At 07:00 PM 7/9/02 +0200, Oliver Ob wrote:
> >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.

-- 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ISO Image
  2002-07-09 17:00 ISO Image Oliver Ob
  2002-07-09 18:17 ` Ray Olszewski
@ 2002-07-11 10:17 ` szonyi calin
  1 sibling, 0 replies; 5+ messages in thread
From: szonyi calin @ 2002-07-11 10:17 UTC (permalink / raw)
  To: Oliver Ob; +Cc: linux-newbie

 --- Oliver Ob <ob_ok@gmx.net> a écrit : > 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
> 

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

> 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 

> -- 
> *º¤., ¸¸,.¤º*¨¨¨*¤        =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:VGAP-93-subscribe@yahoogroups.com    
>            I
> I      
> http://home.t-online.de/home/spacecraft.portal      
>    I
> >>>  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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ISO Image
       [not found] <3D2E76E2.A74A2D@gmx.net>
@ 2002-07-12 12:37 ` szonyi calin
  0 siblings, 0 replies; 5+ messages in thread
From: szonyi calin @ 2002-07-12 12:37 UTC (permalink / raw)
  To: Oliver Ob; +Cc: linux-newbie

 --- Oliver Ob <ob_ok@gmx.net> a écrit : > szonyi
calin schrieb:
> > 
> >  --- Oliver Ob <ob_ok@gmx.net> a écrit : > This is
> > what I would like to do: Updating a backup
> > > then burn new.
> > >
> > >
> > > 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.
> 
> Even though it is mounted RW (!) according to mount
> ? 

Well it's pretty strange that mount says it's rw
because AFAIK you the ISO 9660 filesystem wasn't
 designed as a normal filesystem

Mount does pretty strange things. :-)

Calin

=====
--
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-12 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-09 17:00 ISO Image Oliver Ob
2002-07-09 18:17 ` Ray Olszewski
2002-07-09 18:31   ` Wladimir Foo
2002-07-11 10:17 ` szonyi calin
     [not found] <3D2E76E2.A74A2D@gmx.net>
2002-07-12 12:37 ` szonyi calin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.