Reflash help: Am I going crazy!?
OK, so let's start with some history. On Monday night I did a full backup of my rootfs (and more) with rsync. I know what I'm doing.
On Tuesday I edited some files on rootfs, again, no problems. Today around noon I launch Iceweasel, N900 freezes hard, I have to pull the battery (for the second time ever). I reboot, rootfs is damaged and mounted as read only, but no problem since I have backups. Just now, I reflash rootfs, install rootsh+ssh client+rsync and start a restore process from Monday night. It goes well, I restart. Everything looks flawless at first. But as a test I try writing to rootfs. rootfs is damaged again and mounted as read-only :eek: WHAT THE F@#$!?!?!?!? What the hell could cause this!? I'm going to try the process again. The screen did flash an extra time on the first reboot after restoring as I unplugged the charger, maybe that's related. |
Re: Reflash help: Am I going crazy!?
did you use the backupMenu?
|
Re: Reflash help: Am I going crazy!?
Nope, no backupmenu, just rsync (running as rot both on the local and remote device).
|
Re: Reflash help: Am I going crazy!?
then I don't know, if it caused by rsync then may be someone else can help you.
:) good luck and may god has mercy upon your N900. |
Re: Reflash help: Am I going crazy!?
Try install sysklogd.. you might find some write errors.. also check the rsync backup so it is not restoring read-only files.
|
Re: Reflash help: Am I going crazy!?
OK something more freaky is going on here. I ran this exact command on tuesday, NOT proceeded by sudo gainroot:
rootsh echo "set nowrap" > /etc/nanorc this gives a permission denied error. But this: sudo gainroot echo "set nowrap" > /etc/nanorc works fine after a fresh reflash and installing rootsh. I didn't try that after the restore. What could cause this change in behavior? |
Re: Reflash help: Am I going crazy!?
Quote:
|
Re: Reflash help: Am I going crazy!?
Right now it shows 1.5, but I'm in the middle of the restore process. But as recently as Tuesday I was using rootsh like a password-less sudo.
|
Re: Reflash help: Am I going crazy!?
Quote:
|
Re: Reflash help: Am I going crazy!?
After a restore in /etc/sudoers.d/ I have no rootsh.sudoers file, it doesn't exist in the rsync backup either
I am still running rootsh 1.5 after the restore. rootsh and sudo gainroot behavior is the same as outlined above - apart from that everything seems normal :confused: Another command I tried on Tuesday was: cd /etc/event.d rootsh nano set-swaps-custom Then I saved the file. I just tried this and it worked :confused: |
Re: Reflash help: Am I going crazy!?
I don't know if the name are exactly rootsh.sudoers.. have not looked into v1.5 to much.. in my case i made a file called 99all.sudoers for sudo. I am using v1.8..
|
Re: Reflash help: Am I going crazy!?
Here's something else that sucks - since restoring I've lost at least 13MB of rootfs space :confused: going to check some rootfs optimizations I made in the past...
|
Re: Reflash help: Am I going crazy!?
OK I think the difference in rootfs space is caused by the files being de-sparsed by rsync...not a major issue, I still had over 53MB free and now have 63MB free since manually optifying some microB components.
|
| All times are GMT. The time now is 20:22. |
vBulletin® Version 3.8.8