Help - Search - Members - Calendar
Full Version: Writing To The Read-only Filesystem?
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > 5x00 General discussions
Ventmore
I would like to modify the /root/etc/rc.d/rc.sysinit file (to get home on sd), but it says that it is a read-only filesystem. I have seen a couple of commands in different threads to remount / as writeable, but it always says permission denied...even though I am root.

Any ideas......I have a 5500 with Sharp ROM 3.13.

Cheers
Ventmore
sidmoraes
QUOTE(Ventmore @ Apr 27 2006, 01:13 PM)
I would like to modify the /root/etc/rc.d/rc.sysinit file (to get home on sd), but it says that it is a read-only filesystem.  I have seen a couple of commands in different threads to remount / as writeable, but it always says permission denied...even though I am root.

Any ideas......I have a 5500 with Sharp ROM 3.13.

Cheers
Ventmore
*


did you make "mount -o remount,rw,noatime" as root?
Ventmore
I was root when I tried it smile.gif
sidmoraes
QUOTE(Ventmore @ Apr 27 2006, 03:29 PM)
I was root when I tried it smile.gif
*


"ls -ls /root/etc/rc.d/rc.sysinit" ?
"mount" ?
Ventmore
Sorry mate......you just completely lost me smile.gif
sidmoraes
QUOTE(Ventmore @ Apr 27 2006, 04:43 PM)
Sorry mate......you just completely lost me smile.gif
*


I need the output of these commands.
Ventmore
QUOTE(sidmoraes @ Apr 28 2006, 02:13 AM)
QUOTE(Ventmore @ Apr 27 2006, 04:43 PM)
Sorry mate......you just completely lost me smile.gif
*


I need the output of these commands.
*


Ahhh...I see. I think I may have been a bit tired last night smile.gif

I will post them later when I get back home smile.gif

Cheers
Ventmore
Ventmore
ls -ls /root/etc/rc.d/rc.sysinit gives:

2 -rwxrwxr-x 1 root root 2174 Jan 1 00:00 /root/etc/rc.d/rc.sysinit

mount gives:

/dev/mtdblock0 on / type cramfs (ro)
/proc on /proc type proc (rw)
/dev/ram1 on /dev type minix (rw)
/dev/mtdblock1 on /home type ext2 (rw,sync)
none on /dev/pts type devpts (rw)

Cheers
Ventmore
sidmoraes
QUOTE(Ventmore @ Apr 28 2006, 05:01 AM)
ls -ls /root/etc/rc.d/rc.sysinit gives:

2 -rwxrwxr-x    1 root    root  2174 Jan  1 00:00 /root/etc/rc.d/rc.sysinit

mount gives:

/dev/mtdblock0 on / type cramfs (ro)
/proc on /proc type proc (rw)
/dev/ram1 on /dev type minix (rw)
/dev/mtdblock1 on /home type ext2 (rw,sync)
none on /dev/pts type devpts (rw)

Cheers
Ventmore
*


Bad news...

You have / with cramfs. You can't write in a cramfs....
Your last chance is get a unionfs of / and another writeble place.
Ventmore
QUOTE(sidmoraes @ Apr 29 2006, 02:52 AM)
QUOTE(Ventmore @ Apr 28 2006, 05:01 AM)
ls -ls /root/etc/rc.d/rc.sysinit gives:

2 -rwxrwxr-x    1 root     root   2174 Jan  1 00:00 /root/etc/rc.d/rc.sysinit

mount gives:

/dev/mtdblock0 on / type cramfs (ro)
/proc on /proc type proc (rw)
/dev/ram1 on /dev type minix (rw)
/dev/mtdblock1 on /home type ext2 (rw,sync)
none on /dev/pts type devpts (rw)

Cheers
Ventmore
*


Bad news...

You have / with cramfs. You can't write in a cramfs....
Your last chance is get a unionfs of / and another writeble place.
*


Thanks for the help mate......at least I know what the problem is now. Think I'll try tckrom again smile.gif

Cheers
Ventmore
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.