![]() |
did I format my emmc via xterm?
all i did was copied and paste some x term codes in the hope of getting rid of flight mode in nitdroid. I was reading http://forum.nitdroid.com/index.php?topic=538.0 and executed copy and paste command of thread writer
Code:
cd /and/data Code:
sudo gainroot but it recieved error and I tried those lines few more times but without luc. later I saw my docs/folders/songs are all gone. please somebody clearify me what have i done with those commands and what is the solution, if any. background: i have installed nitdroid in my 512mb mmc just a day before yesterday and it went fine except some known exceptions. and conky shows i have 26.99gib free out of 27. |
Re: did I format my emmc via xterm?
oh rm means remove! :cry;
|
Re: did I format my emmc via xterm?
Yup. Now you see why messing around in x-term without knowing what you are doing is a bad idea.
|
Re: did I format my emmc via xterm?
from wiki
Quote:
|
Re: did I format my emmc via xterm?
and yes everything is gone! mydocs folder, mmc(nitdroid) everything is wiped out. i don't think i lost too important things since most of my space were covered by songs and backup deb files. lost recent photos and don't know what else. seems like i will try that recovery tool ment for maemo to check if I lost something more important.
now anybody please tell me is it safe to reboot? are those bootmenu things still there to serve me? or will it create trouble. what else than mmc and emmc content might have been deleted? home isn't wiped out totally but is something deleted there as well? |
Re: did I format my emmc via xterm?
lol the OP in that thread didnt know what he was doing and he was asking for help , second post seems to have the answer. why would you use commands from the person who is asking for a solution? :D
since you removed the rootfs content it doesnt really matter what you do now , oh and you have a folder named logs ;) |
Re: did I format my emmc via xterm?
Quote:
rootfs contents were deleted meaning? yes i can understand those lines except for that rm(which i understand by now), browsing throught directory, creating directory, setting permission. i wonder what happened to op, was he root while doing that!!! cause whether or not he mount /and he must have lost content of his drives as I did. i am asking again, will i get any other probem because of that? btw seems like nice time to try nitdroid in emmc partition! hope i won' mess like that this time around. anybody with link to howto install nitdroid in emmc? i may just follow wrong tutorials! :afraid; |
Re: did I format my emmc via xterm?
Rootfs = Maemo's files. Everything in /.
The problem with the rm command was that it should have been "rm /and/data/* -rf", which would only delere everything in that folder. |
Re: did I format my emmc via xterm?
Don't use
Code:
rm -rf * Code:
rm -rf ./* The amount of people on here that complain on here about things just gets me annoyed. Not had ANY problems with my N900. |
Re: did I format my emmc via xterm?
If you are not completely sure what rm is doing you can add -i to the command options to get interactive mode, yes/no delete question for every file. Doesn't help here as too late, but I always use this initially to check rm is doing what I want it to do.
|
All times are GMT. The time now is 07:45. |
vBulletin® Version 3.8.8