OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: Ventmore on April 27, 2006, 05:13:16 pm

Title: Writing To The Read-only Filesystem?
Post by: Ventmore on April 27, 2006, 05:13:16 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
Title: Writing To The Read-only Filesystem?
Post by: sidmoraes on April 27, 2006, 07:16:38 pm
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124847\"][{POST_SNAPBACK}][/a][/div]

did you make "mount -o remount,rw,noatime" as root?
Title: Writing To The Read-only Filesystem?
Post by: Ventmore on April 27, 2006, 07:29:23 pm
I was root when I tried it
Title: Writing To The Read-only Filesystem?
Post by: sidmoraes on April 27, 2006, 08:36:27 pm
Quote
I was root when I tried it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124866\"][{POST_SNAPBACK}][/a][/div]

"ls -ls /root/etc/rc.d/rc.sysinit" ?
"mount" ?
Title: Writing To The Read-only Filesystem?
Post by: Ventmore on April 27, 2006, 08:43:21 pm
Sorry mate......you just completely lost me
Title: Writing To The Read-only Filesystem?
Post by: sidmoraes on April 27, 2006, 09:13:54 pm
Quote
Sorry mate......you just completely lost me
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124874\"][{POST_SNAPBACK}][/a][/div]

I need the output of these commands.
Title: Writing To The Read-only Filesystem?
Post by: Ventmore on April 28, 2006, 05:51:26 am
Quote
Quote
Sorry mate......you just completely lost me
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124874\"][{POST_SNAPBACK}][/a][/div]

I need the output of these commands.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124877\"][{POST_SNAPBACK}][/a][/div]
Ahhh...I see.  I think I may have been a bit tired last night

I will post them later when I get back home

Cheers
Ventmore
Title: Writing To The Read-only Filesystem?
Post by: Ventmore on April 28, 2006, 09:01:29 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
Title: Writing To The Read-only Filesystem?
Post by: sidmoraes on April 28, 2006, 09:52:25 pm
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124962\"][{POST_SNAPBACK}][/a][/div]

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.
Title: Writing To The Read-only Filesystem?
Post by: Ventmore on April 29, 2006, 04:24:49 am
Quote
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124962\"][{POST_SNAPBACK}][/a][/div]

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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125024\"][{POST_SNAPBACK}][/a][/div]
Thanks for the help mate......at least I know what the problem is now.  Think I'll try tckrom again

Cheers
Ventmore