Author Topic: Writing To The Read-only Filesystem?  (Read 7131 times)

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Writing To The Read-only Filesystem?
« 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

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Writing To The Read-only Filesystem?
« Reply #1 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?
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Writing To The Read-only Filesystem?
« Reply #2 on: April 27, 2006, 07:29:23 pm »
I was root when I tried it

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Writing To The Read-only Filesystem?
« Reply #3 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" ?
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Writing To The Read-only Filesystem?
« Reply #4 on: April 27, 2006, 08:43:21 pm »
Sorry mate......you just completely lost me

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Writing To The Read-only Filesystem?
« Reply #5 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.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Writing To The Read-only Filesystem?
« Reply #6 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

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Writing To The Read-only Filesystem?
« Reply #7 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

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Writing To The Read-only Filesystem?
« Reply #8 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.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Writing To The Read-only Filesystem?
« Reply #9 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