2010/10/2 Dennis Cao <[email protected]>:
> Yesterday, I used this command to correct my MBR on my working computer,
>    $ dd if=/somefile of=/dev/sda  bs=512 count=1
> But very unfortunately, I used a wrong file. Now when I boot my
> working computer, it says:
>   Non-system disk or disk error
>   replace and strike any key when ready
>
> I think the partition table is destroyed. How can I restore my disk?
>
> ---------------------------------
> 曹贵林 ( Dennis Cao )
>
> _______________________________________________
> Help-grub mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-grub
>

The partition table can likely be recovered using this guide:
http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step (you can ignore
the "rewriting the corrupted NTFS boot sector" parts ).

Then you can re-install grub2 following this guide:
http://grub.enbug.org/Grub2LiveCdInstallGuide .
-- 
Jordan Uggla (Jordan_U on irc.freenode.net)

_______________________________________________
Help-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to