![]() |
Bricked my Internal Flashspace
I somehow managed to dd zeros onto the beginning /dev/mmcblk0. Please don't ask why or how someone can be that stupid, it is embarrassing enough :o
Is there some way to fix the partition table or at least get as much data recovered as possible? Thanks in advance |
Re: Bricked my Internal Flashspace
Does your N900 still boot? If yes, then it'd be pretty easy just to recreate the broken partition table, reboot, recover what's left, and then start over.
This is a dump from my N900, yours should be identical. # sfdisk -d /dev/mmcblk0 > partitions # cat partitions Code:
# partition table of /dev/mmcblk0 # sfdisk --no-reread /dev/mmcblk0 < filename This should let you remount - though it might give some errors, you may need to run fsck - probably you will have to specify an alternate superblock. Finally, you're not alone, I've done this, sadly more than once : ) |
Re: Bricked my Internal Flashspace
Thanks a lot for your help. I at least got the linux and the swapspace up and running again. But I completely bashed my FAT partition. Whe trying to fsck it, I get the error: Logical sector size is zero. The solution of copying sector 6 to sector 0 didn't work for me for I killed both with my dd command. Is there a way to recover the filesystem or at least some of the files (esp. the backupfiles)?
TIA |
All times are GMT. The time now is 14:53. |
vBulletin® Version 3.8.8