Recover Partition-Table still present in running system

Posted by theomega on Super User See other posts from Super User or by theomega
Published on 2010-12-01T17:45:28Z Indexed on 2012/10/06 9:40 UTC
Read the original article Hit count: 204

Filed under:
|

Hy, I accidentially overwrote the first 1M of my harddisk on linux (using dd). So, the partition-table is gone. I can still access all partition (except the first one) using /dev/sda2 (and so on), so the data is still there. I only need the partition boundaries to restore the table. How can I do this? The Linux-Kernel must still know them because all mount-points still work. fdisk -l /dev/sda doesn't work because it acctualy reads the partition table.

Thanks!

© Super User or respective owner

Related posts about linux

Related posts about partitioning