![]() |
Weired issue with a N9: /home gone
Hi guys. I'm have a N9 that appeared to have commited suicide: all data from /home just mysteriously dissapeared. I wonder what happened. Did anyone of you expected this issue, and (better) did anyone of you recovered from it ?
|
Re: Weired issue with a N9: /home gone
Alright, at least for MyDocs, I brought it back by plugging it as a Mass storage and unplugging it + rebooting. But for /home, it is still missing. Investigating.
|
Re: Weired issue with a N9: /home gone
Right: looks like /home is corrupted. Now do anyone know how to run a fsck on /home ...
|
Re: Weired issue with a N9: /home gone
The relevant fsck is /sbin/e2fsck, and the device mounted to /home is /dev/mmcblk0p3.
Hope that's some help, at least. |
Re: Weired issue with a N9: /home gone
You cannot fsck a mounted fs. And you cannot umount /home.
So probably do (from heart, so please cross check): dd if=/dev/mmcblk0p3 of=/home/user/MyDocs/p3.img fsck /home/user/MyDocs/p3.img If some error pop up, you may correct them on the img file. But to correct them on device you would need to bring it back to /dev/mmcblk0p3. I am unsure if dd of=/dev/mmcblk0p3 if=/home/user/MyDocs/p3.img would work.. Maybe better try that with a Linux system and all partitions mounted to that PC (e.g. via ubiboot. Or are there other rescue systems?). |
Re: Weired issue with a N9: /home gone
Did you check that your home is actually mounted?
Happened to me once that, well it was my own fault really as I messed up some boot related things, and /dev/mmcblk0p3 (/home) was not mounted. What happens then, when the device boots it will create a new /home for you on your root device, and copy the skeleton files to it from /etc. It will look like your device had been wiped clean, but the old stuff stil exists there on /dev/mmcblk0p3 As for rescuing the device, there are at least 3 differnt rescue kernels but ubiboot is the easiest to use and most versatile. Just load up ubiboot kernel without flashing it, and telnet to the device & run fsck on filesystems. (or fsck them on USB mount if you have linux) |
Re: Weired issue with a N9: /home gone
Quote:
Quote:
|
Re: Weired issue with a N9: /home gone
Quote:
|
Re: Weired issue with a N9: /home gone
Quote:
"sudo flasher -k <name_of_kernel> -n <name_of_initramfs_if_desided> -l -b" |
All times are GMT. The time now is 15:09. |
vBulletin® Version 3.8.8