PDA

Bekijk de volledige versie : External Root: Config changes lost after reboot



tscoreninja
08-06-2005, 21:11
Dear all,

I have setup my WL500gx to use /dev/scsi/host0/bus0/target0/lun0/part5 as root file system, according to infos on http://oleg.wl500g.info , using an USB2 flash drive.

What I am doing?:
mount output after boot shows:

...
/dev/scsi/host0/bus0/target0/lun0/part5 on / type ext3 (ro)
...
Then enter the command:

mount -o remount,rw,noatime /dev/scsi/host0/bus0/target0/lun0/part5 /
mount output after command:

...
/dev/scsi/host0/bus0/target0/lun0/part5 on / type ext3 (rw)
...
Edit /usr/local/sbin/post-boot and/or post-firewall, then run

sync
Then issue a:

reboot
And any edits to /usr/local/sbin are lost... Any ideas? Maybe I am overlooking something really easy. I can remove the flash drive, edit the files on the router's /partition, and copy things over, but thats obviously not what I want...
Thanks for any help,
TSCoreNinja