![]() |
N900 vs. copier/scanner
I plugged the N900 into a copier/scanner machine, wanting to use it as the medium to save a scan. After unplugging (the copier did not prompt me to eject the medium), it looks like everything in MyDocs was destroyed: all the photos in DCIM, Images, my documents, nothing is there anymore.
|
Re: N900 vs. copier/scanner
Maybe just unmount during the eject process. MyDoc must be mount like a FAT32 partition.
|
Re: N900 vs. copier/scanner
It sounds like a corrupt partition. The scanner may not have prompted you but there must be an option to safely remove the medium. If all else fails, at least wait a few seconds between the end of the last operation and removing the medium. By "a few" I mean at least 30.
Do you need the data or are you happy to reformat the partition and start over? I have always been able to restore lost data but exactly how to do that differs from one case to another so I cannot give you a generic recipe. You must not be afraid to get your hands dirty and dip deep into the command line and sometimes even a binary editor. The first thing to do would be to backup your MyDocs partition to avoid any more data loss. You will need at least 27GB of free space on your backup medium to do that. Put an empty, large (32GB+) SD card in your phone and run this from the terminal: Code:
root Next, you can try fixing the corruption by the easiest method of them all - plug it into a Windows PC and run a disk check on it. If that does not work, look up one of the many threads dealing with data corruption and start from there. Michaaa62 usually gives excellent advice, like for example here. |
Re: N900 vs. copier/scanner
Quote:
If the worst happens as pichlo hypothesizes, you can use photorec and testdisk on the dd copy of the partition. You can probably even use "ddrescue" instead of "dd" if you've got a Linux desktop handy, it's more robust and can skip over (and even retry) bad blocks. But first, don't panic. |
Re: N900 vs. copier/scanner
The scanner didn't have a prompt for safe removal. It only said not to remove while it was saving the file; I don't know if I waited 30 seconds after it was done saving.
I've done a windows PC disk check and am now stuck with a bunch of .chk files. I am sensing a reformat or a reflash in the near future. P.S. There is nothing to backup from MyDocs, everything is gone. |
Re: N900 vs. copier/scanner
This happened to me more than once on the N900 (I was just as scared first time it happened) and regular fsck always fixed it.
I think I had done it using my Linux desktop I connected it to via USB, but trying fsck on the N900 as I type, it looks like it's available there as well (at least with KP 53). |
Re: N900 vs. copier/scanner
Quote:
Quote:
Quote:
Quote:
IIRC there was some problem with the fsck's reliability on the N900 but I think it was fixed at some point. Though I do not remember when exactly. |
Re: N900 vs. copier/scanner
Quote:
Do the "dd" pichlo suggested and work with the image file that creates, not the MyDocs partition. I was too specific (and Linux-chauvinistic, I guess) above, there's a version of photorec for Windows (and Mac, Solaris, etc., etc) too. It's available from the cgsecurity webiste. You'll get most of your stuff back, although you may lose the filenames. The name "photorec" not withstanding, it can recognize lots more than just photos. |
Re: N900 vs. copier/scanner
Try to check the file system either from a linux machine (you need backupmenu installed, to work outside the maemo system) or the n900 itself with these commands:
Code:
sudo gainroot |
Re: N900 vs. copier/scanner
I used Windows to find and repair the errors. I did this before getting the advice above. Otherwise I would have followed.
I have now ended up with a bunch of .chk files that windows cannot see when the device is connected to the PC. I subsequently used fsck but I just got the unable to create a unique name error. I'll get the name of the scanner when I get back to work. EDIT: Canon iR2525. |
All times are GMT. The time now is 01:02. |
vBulletin® Version 3.8.8