i'm deep into a mess here. The pi was running fine for several days, (just for history) tried to install manually npm and node.js from git, made a make install
, and I got warnings/issues. Humm.. tried a apt-get update / upgrade then everything got messy, several Illegal instruction appeared.
So I did shutdown the thing as I always do, sudo reboot
. And nothing anymore. The thing was headless on wifi. No connection to the router, plug in rj-45, reboot, nothing yet.
I'm lucky I installed a "failsafe" ad-hoc network in case pi can't connect to a known network. I can access it through ssh again.
Now, I can't even use nano anymore => Segmentation failure
, and alot of normal commands. BUT, it loads up. Apt-get returns me Illegal instruction
when I try to uninstall stuff.
I suspect the filesystem is lightly/medium corrupted/faulty. Probably due to my passion to disconnect directly the power form the beast.
What are my options ?
- I'm on Noob/Raspbian.
- I can't reaccess the internet (connect to router)
- But can launch an ad-hoc server (?)
- I'd prefer to keep the current system in place (lots of work getting the right config)
- If I could only reconnect the pi via eth0, it would give it access to the repos, normal access to ssh.
Is there a way to rebuild the system without touching my /home ? I'm kinda desperate, I'll probably reformat/install noobs at the end of the day if I manage to save my data. Else, if you have any idea, need to ask for info, please do so.