Sunday, August 29, 2021

Applying scan_ffs output to disklabel?

Hi,

I'm in the process of recovering my drive (fat fingered dd and blew away the partitions). I've obtained the following output from scan_ffs but not sure how to apply this to recreate the disklabel. Running disklabel -R with this output doesn't seem to work.

fuguita# scan_ffs -lv sd2c
block 128673234 id a86900, 1d53400 size 30225408
block 150903347 id 8,0 size 76481934
block 475612813 id 502b55c2,800e9b02 size 1130083924
block 587802509 id 502b55c2,800e9b02 size 1130083924
block 867995213 id 502b55c2,800e9b02 size 1130083924
block 1338443597 id 502b55c2,800e9b02 size 1130083924
block 1638543507 id abbbeaf9, b4ab0641 size 472173501
scan_ffs:_read: Invalid argument


Any recommendations on how I can at least rebuild the partition map and mount my partitions?

Thanks in advance!

No comments:

Post a Comment