![]() |
Can the n900's partitions be "undeleted" / recovered? Help!
I just booted into NITDroid to be greeted with a message saying memory card had been formatted and was safe for removal or something like that.
Upon reboot to Maemo it just started looping endlessly. I got it to show verbose boot output and it stalled at: "unable to chdir /home/user/" each time which led me to think that my memory had been formatted by NITdroid. I tried everything to get it to boot but no joy so I have reflashed PR1.3 Global. It booted fine afterwards but all contacts etc. are missing now. Also - if I go to the file manager and click on the N900 drive (the only one showing as my SD card is out at the moment) it simply pops up the message: "Memory card format not supported" Is there any way to recover the data now? I have done as little as possible to prevent overwriting - I'd appreciate some help ASAP as I really need to get this working again soon. I do have a backup set on my PC from a few months ago, so the majority of contacts etc. will be in there, but the most recent backup which was on my SD card appears to have been corrupted by whatever caused this problem alas. I really don't want to lose all of my recent messages, emails, calendar entries etc. so that's a last resort! |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
Did you install nitdroid to external or internal memory card???
Please post the output of these commands to see what the install of nitdroid changed Code:
sudo gainroot |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
when it said you memory card is damaged, did you format it in nitdroid? to me sounds like you did.
if you did, it formated the 32gb!!!!!! "Memory card format not supported" now you will have to reflash vanilla image aswell and no none of the data is recoverable |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
Quote:
The root directory is present but fat, swap and the 2gb linux partition on the eMMC are missing, pretty much only console stuff will run due to the lack of the swap partition. testdisk (run from a linux laptop, with the drive mounted over USB) is finding the swap and 2gb partitions, but not the fat32 one. I have only scanned so far, I've not made any changes. I have also made a complete dump using ddrescue to the laptop - I've no idea what to do with it (I'm in at the deep end here) but it copied byte-by-byte fashion with no errors. The results of testdisk allow me to look at the file structure of the found partitions and I see the sort of directories in there that I'm expecting (lost and found, opt, home) but I didn't do anything with it yet. The results of the tests you asked me to run are: Code:
:::: fdisk -l :::: I have managed to boot the N900 using the initrd/recovery image and the flasher tool, but I'm not really familiar with the commands in busy box. I'd be fine if I could get the files out of the fat and 2gb linux partition sufficiently to save the data I need and reintegrate it manually on a new eMMC vanilla flash. Anyone have any ideas? |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
Well, this looks bad, but you already did the right steps in creating your dd_rescue clone copy!
Please try testdisk on the mounted image on your PC and try to restore /home and /home/opt just to be sure to some save space to look for your data[dot-directories, mails, contacts etc.). You would mount it with (Is this a sudo or a su linux setup? Please add the necessary steps to become root.), but i never opened an image which contains more than one partition :( Code:
mount -o loop dd_rescue-image-here /mnt There might be a chance to recover the phone to its former state, but this seems to be risky and you should have good knowledge about how it was setup before to achieve it again. Do you remember which Nitdroid-Install-HowTo you followed, if any? Did Nitdroid work for some time fine parrallel to Maemo? Do you remember how the emmc-setup should look? Did you at some time change the partition scheme of the emmc to customize the storage? Testdisk has no time-line, so it finds more than one setup, if it was re-partitioned before. |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
Quote:
I'm not so bothered about completely restoring the from these files, more just getting the user data files from the fat partition on the eMMC and if possible text messages, call logs and contacts. The phone was actually grinding to a halt quite frequently so a fresh install is a good thing and was on the cards anyway.thing Nitdroid was installed using the installer in the repositories and then I think an update script to get it to the latest version (not gingerbread, I think it was 0.8 froyo?). It was all automatic. The eMMC was, unless changed by the Nitdroid installer (which doesn't seem as though it should have done it) exactly as per factory settings. So there should be no change between the vanilla image and the partition tables that were on there before they got destroyed. Is there a standard partition table layout that I could refer to in this case? I've noticed options in various tools to assume recovery from certain points... if there was a reliable standard disk geometry layout I could impose on this it might make recovery easier... or even perhaps use a partition table editor to impose partitions back on the image to see if that will restore them. Thanks again for your help :D |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
I'm getting a request to specify the type when I try to mount this - obviously the partition data has been mangled and so this is not providing information to mount.
I've just found testdisk can run a scan on the image file directly - god linux is flexible! It's ceaselessly astonishing just how dumbed down things are on Windows! I shall see what happens with this scan... |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
Yes there is some thing like the default partition setup
Quote:
I am not sure if testdisk will cope with the clone-copy on your harddisk, but it is worth a try. Simply mounting it might give immediate access to the files and data. Good luck |
Re: Can the n900's partitions be "undeleted" / recovered? Help!
I hope i'm not too late?
http://talk.maemo.org/showthread.php?t=47360 http://maemo.org/packages/view/recovery-tools/ |
All times are GMT. The time now is 14:46. |
vBulletin® Version 3.8.8