OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Writing To The Read-only Filesystem?
Ventmore
post Apr 27 2006, 01:13 PM
Post #1





Group: Members
Posts: 62
Joined: 16-April 06
Member No.: 9,632



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
Go to the top of the page
 
+Quote Post
sidmoraes
post Apr 27 2006, 03:16 PM
Post #2





Group: Members
Posts: 116
Joined: 25-July 05
From: Brazil
Member No.: 7,691



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?
Go to the top of the page
 
+Quote Post
Ventmore
post Apr 27 2006, 03:29 PM
Post #3





Group: Members
Posts: 62
Joined: 16-April 06
Member No.: 9,632



I was root when I tried it smile.gif
Go to the top of the page
 
+Quote Post
sidmoraes
post Apr 27 2006, 04:36 PM
Post #4





Group: Members
Posts: 116
Joined: 25-July 05
From: Brazil
Member No.: 7,691



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" ?
Go to the top of the page
 
+Quote Post
Ventmore
post Apr 27 2006, 04:43 PM
Post #5





Group: Members
Posts: 62
Joined: 16-April 06
Member No.: 9,632



Sorry mate......you just completely lost me smile.gif
Go to the top of the page
 
+Quote Post
sidmoraes
post Apr 27 2006, 05:13 PM
Post #6





Group: Members
Posts: 116
Joined: 25-July 05
From: Brazil
Member No.: 7,691



QUOTE(Ventmore @ Apr 27 2006, 04:43 PM)
Sorry mate......you just completely lost me smile.gif
*


I need the output of these commands.
Go to the top of the page
 
+Quote Post
Ventmore
post Apr 28 2006, 01:51 AM
Post #7





Group: Members
Posts: 62
Joined: 16-April 06
Member No.: 9,632



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
Go to the top of the page
 
+Quote Post
Ventmore
post Apr 28 2006, 05:01 AM
Post #8





Group: Members
Posts: 62
Joined: 16-April 06
Member No.: 9,632



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
Go to the top of the page
 
+Quote Post
sidmoraes
post Apr 28 2006, 05:52 PM
Post #9





Group: Members
Posts: 116
Joined: 25-July 05
From: Brazil
Member No.: 7,691



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.
Go to the top of the page
 
+Quote Post
Ventmore
post Apr 29 2006, 12:24 AM
Post #10





Group: Members
Posts: 62
Joined: 16-April 06
Member No.: 9,632



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th April 2014 - 06:03 PM