LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Making a iso filesystem read/write (https://www.linuxquestions.org/questions/linux-general-1/making-a-iso-filesystem-read-write-715890/)

Korupt 03-31-2009 05:24 PM

Making a iso filesystem read/write
 
Not sure if this is the right section, but here goes, I'm trying to add a file to an ISO image, so I mounted it to a work directory like so:
Code:

mount -o loop myfile.iso /mnt/iso
But when I try to copy over the file I want to it:
Code:

cp file.tar.gz /mnt/iso/
I get a message saying:
Code:

cp: cannot create regular file `/mnt/iso/file.tar.gz': Read-only file system
Any help is appreciated. Thanks.

bsdunix 03-31-2009 05:44 PM

Here's a related post:

http://www.linuxquestions.org/questi...ing-it-463906/

And I found this, but have never used it so your milage may vary:

ISO Master 1.3.5
http://linux.softpedia.com/get/Deskt...er-16676.shtml

Korupt 03-31-2009 06:54 PM

Quote:

Originally Posted by bsdunix (Post 3494224)
Here's a related post:

http://www.linuxquestions.org/questi...ing-it-463906/

And I found this, but have never used it so your milage may vary:

ISO Master 1.3.5
http://linux.softpedia.com/get/Deskt...er-16676.shtml

Thanks for the link, it said that iso9960 filesystems are read-only so it won't work :(. The problem is I'm trying to include the ports.tar.gz to the OpenBSD installation iso and I've tried copying the files from the iso, adding my package, and then making an iso out of that with mkisofs but no bootsector code was written so it wouldn't boot.

Also another question since I saw you use OpenBSD, what's the command to download a file? Linux's wget and FreeBSD's fetch aren't working. :(

bsdunix 03-31-2009 07:37 PM

OpenBSD's wget is in ports, you have to install it to use it just in case you didn't know. It's also available as a package.

http://www.openbsd.org/cgi-bin/cvsweb/ports/net/wget/

Or are you asking about something else?

Korupt 03-31-2009 08:06 PM

This is the thing, the ports.tar.gz file is not included in the i386 install iso (intall44.iso) so I can't install wget and without wget I can't download the ports tarball. Any idea of what I can do?

haha lol, im so stupid, pkg_add -i wget did it :)

bsdunix 03-31-2009 09:13 PM

Glad you figured it out. I sometimes have my moments also. :D


All times are GMT -5. The time now is 06:33 PM.