You overwrote with zeros ("if=/dev/zero") the beginning of /dev/sda1 ("of=/dev/sda1"), 2048 blocks ("count=2048") of size 1k ("bs=1k"). 2 MB. Almost nothing! There is much to be rescued if you want to: the other partitions are intact and a program like PhotoRec can recover almost all files on /dev/sda1: http://www.cgsecurity.org/wiki/PhotoRec

But does /dev/sda1 even contain user data? It makes no sense recovering system files: reinstall. Now if /dev/sda1 only contains user data, there is nothing to reinstall: the system is intact.

Reply via email to