maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Accidenally formatted my MyDocs- I'm confused. (https://talk.maemo.org/showthread.php?t=87551)

azkay 2012-10-24 11:52

Accidenally formatted my MyDocs- I'm confused.
 
So I accidentally formatted /home/user through gparted on vmware.
If I mount in windows I get an empty 27gb empty fat32 partition.
If I unplug it and use the file manager on N900, all the files are still there. Media player still plays the files, all my images are still viewable.

But if I mount, the partition is empty. If I SFTP, /home/user is empty also.

What's going on? Should it not be- empty on the phone? Why can I still use the files on the N900 but no where else?

Wikiwide 2012-10-24 13:25

Re: Accidenally formatted my MyDocs- I'm confused.
 
Quick reply...
If you open X Terminal on N900, what do you get from the command?
Code:

ls /home/user
Best wishes.

mr_pingu 2012-10-24 15:44

Re: Accidenally formatted my MyDocs- I'm confused.
 
I would insert a MMC and save your files before it's too late...

and if you connect MyDocs in linux based os, still no files? Windows is known to fail sometimes when removable media has more than 1 partition

azkay 2012-10-24 21:25

Re: Accidenally formatted my MyDocs- I'm confused.
 
Quote:

Originally Posted by Wikiwide (Post 1284879)
Quick reply...
If you open X Terminal on N900, what do you get from the command?
Code:

ls /home/user
Best wishes.

MyDocs
/home/user/MyDocs shows all my old files, too.
Mounted in windows /or/ accessed with an sftp client, MyDocs is empty (27gb partition empty on windows).

I already "backed up" my files to my sd card by doing a cp.

Quote:

Originally Posted by mr_pingu (Post 1284946)
I would insert a MMC and save your files before it's too late...

and if you connect MyDocs in linux based os, still no files? Windows is known to fail sometimes when removable media has more than 1 partition

It seems if I mount /dev/sdX /mnt, the files are there but /dev/sdX1 /mnt it's empty. The partition is also ntfs.

misterc 2012-10-24 21:32

Re: Accidenally formatted my MyDocs- I'm confused.
 
Quote:

Originally Posted by azkay (Post 1285093)
MyDocs
/home/user/MyDocs shows all my old files, too.
Mounted in windows /or/ accessed with an sftp client, MyDocs is empty (27gb partition empty on windows).

I already "backed up" my files to my sd card by doing a cp.



It seems if I mount /dev/sdX /mnt, the files are there but /dev/sdX1 /mnt it's empty. The partition is also ntfs.

make a backup to SD card (obviously...) and make a vanilla flash?

azkay 2012-10-24 21:43

Re: Accidenally formatted my MyDocs- I'm confused.
 
Quote:

Originally Posted by misterc (Post 1285096)
make a backup to SD card (obviously...) and make a vanilla flash?

This is what I was going to do. I'm more curious as to what is happening, why the N900 is still seeing all the files, why are there two 27gb magic partitions, etc.

Also, if I cp on the N900 to MyDocs it tells me it's set to read only

qwazix 2012-10-24 23:09

Re: Accidenally formatted my MyDocs- I'm confused.
 
/home is a seperate partition from MyDocs. You probably formatted that, so your documents (if I am right) should be safe. On the other hand /home contains a lot of useful files like application settings and apllications themselves. (/home/opt is mounted to /opt) so I am curious how your N900 even boots. This is probably the reason that windows cant see your files, something is missing. If ls -a doesnt show lots of folders starting with a dot (means you probably formatted /home), do a reflash.

azkay 2012-10-24 23:38

Re: Accidenally formatted my MyDocs- I'm confused.
 
All the hidden files in /home/user are still there.
I had the N900 connected to my computer and formatted the 27gb with gparted.

I'll take some screenshots.

Code:

Nokia-N900:/home# ls -a
.          ..          developer  lost+found  opt        user

http://i.imgur.com/SfuQD.jpg

If I mount /dev/sdb all my files are accessible, if I mount /dev/sdb1 I get the empty partition.

knarf 2012-10-25 05:17

Re: Accidenally formatted my MyDocs- I'm confused.
 
Quote:

Originally Posted by azkay (Post 1285124)
All the hidden files in /home/user are still there.
I had the N900 connected to my computer and formatted the 27gb with gparted.

I'll take some screenshots.

Code:

Nokia-N900:/home# ls -a
.          ..          developer  lost+found  opt        user

http://i.imgur.com/SfuQD.jpg

If I mount /dev/sdb all my files are accessible, if I mount /dev/sdb1 I get the empty partition.

you may be missing the autorun.inf in Mydocs and the other files necessary for windows to identify your phone's contents

misiak 2012-10-25 06:31

Re: Accidenally formatted my MyDocs- I'm confused.
 
Guys, first things first - did you want your MyDocs partition to be NTFS-formatted? If not, reformat it using FAT32 and reflash.

Also, which version of SSU do you have - 1.2, 1.3.1, CSSU Stable, CSSU Testing?


All times are GMT. The time now is 14:33.

vBulletin® Version 3.8.8