LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-31-2009, 05:24 PM   #1
Korupt
LQ Newbie
 
Registered: Mar 2009
Distribution: Debian, OpenBSD
Posts: 9

Rep: Reputation: 1
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.
 
Old 03-31-2009, 05:44 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
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
 
Old 03-31-2009, 06:54 PM   #3
Korupt
LQ Newbie
 
Registered: Mar 2009
Distribution: Debian, OpenBSD
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by bsdunix View Post
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.
 
Old 03-31-2009, 07:37 PM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
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?
 
Old 03-31-2009, 08:06 PM   #5
Korupt
LQ Newbie
 
Registered: Mar 2009
Distribution: Debian, OpenBSD
Posts: 9

Original Poster
Rep: Reputation: 1
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

Last edited by Korupt; 03-31-2009 at 08:22 PM.
 
Old 03-31-2009, 09:13 PM   #6
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Glad you figured it out. I sometimes have my moments also.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
My filesystem is readonly , how can do read and write raghuveer520 Linux - Newbie 11 10-16-2008 11:55 PM
How can I have: Root has Read-Write, user has read only for the boot filesystem? xmrkite Linux - Software 6 10-16-2008 04:31 AM
ext3 filesystem read/write in xp babysparrow Linux - General 18 11-29-2006 02:03 PM
how do I change the filesystem from read-only to read-write? les_chow Linux - Newbie 5 05-26-2004 03:14 PM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration