Reply
Thread Tools
Posts: 13 | Thanked: 0 times | Joined on Jan 2010
#1
made a noob mistake so bear with me...
i was attempting to install ettercap based on these instructions
http://talk.maemo.org/showthread.php...light=ettercap

as i was getting errors when attempting to launch the program saying about libnet.so.1. Says no such file or dir. so i figured there must be a problem with the symlinks so i went to remove them and redo
wanting to save time i didnt consider other files and i pressed this



/usr/lib # rm lib*
rm: libaccounts-plugins: is a directory
rm: libcanberra-0.14: is a directory
rm: libconbtui: is a directory
rm: libgconf2: is a directory
rm: libglade: is a directory
rm: libimengines: is a directory
rm: libvte4: is a directory

...to which it hit me in the face my mistake. now i cant open any apps apart from convos, web, etc because they just crash. cant open xterm either!
is there a way to restore this without reflashing? and if a reflash is necessary, if i do a backup now will this restore my mistake on the new flash? or doesnt it backup system files?
thanks in advance!l
 
Posts: 122 | Thanked: 73 times | Joined on Jan 2010 @ Turku, Finland
#2
A backup shouldn't back up /usr/lib

And you would probably just have to flash the rootfs (as /usr/lib is there)
 

The Following 4 Users Say Thank You to antoarts For This Useful Post:
Posts: 122 | Thanked: 73 times | Joined on Jan 2010 @ Turku, Finland
#3
BTW, the backup doesn't back up your personal files (such as images and documents), you will have to copy them over to your computer manually (with the backup file you generated). Although if you only flash the rootfs, they should be safe (but use the backup app anyway)

Notice that I got no real experience of this, but am just theoretizing, so be careful
 

The Following 2 Users Say Thank You to antoarts For This Useful Post:
Posts: 18 | Thanked: 18 times | Joined on Oct 2009 @ Barcelona, Spain
#4
did you install ssh server and can you still login? Then I could provide the files and you can scp them
 

The Following User Says Thank You to kwek For This Useful Post:
Posts: 68 | Thanked: 16 times | Joined on Feb 2007
#5
@vendetta: I'd suggest rootfs reflashing. You will have to reinstall all your apps.
Otherwise you could try getting /usr/lib from another N900. At least you should be able to restore basic functionalities.
 

The Following User Says Thank You to maddler For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#6
hmm.. wouldn't he be able to extract this from the flash-img? I am not home and can look this up..
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Posts: 13 | Thanked: 0 times | Joined on Jan 2010
#7
thanks for all your responses!
unfortunately the phone ran out of battery and now when i go to turn it on it has the NOKIA screen and it says "Malfunction! Device shutdown in 10s" and it just is in a restart loop so i can't ssh it

how would i go about flashing just the rootfs? or is it not possible in this state? i didnt get the chance to do a backup before it ran out and my last one is back before PR1.2
 
Posts: 88 | Thanked: 28 times | Joined on Jul 2010 @ London
#8
charge ur n900 and just do a complete flash.....you may have now lost ur files !!!
 

The Following User Says Thank You to orion88freedom For This Useful Post:
Posts: 68 | Thanked: 16 times | Joined on Feb 2007
#9
only files on rootfs will be lost after flashing, all other files/contents are safe.
go with a reflash
 

The Following User Says Thank You to maddler For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#10
just flash the FIASCO image, not the Vanilla.. Then your files in MyDocs will be safe.
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 16:40.