{"id":750,"date":"2007-11-14T15:05:36","date_gmt":"2007-11-14T20:05:36","guid":{"rendered":"http:\/\/softbeam.net\/hobby\/?p=750"},"modified":"2007-11-14T15:05:36","modified_gmt":"2007-11-14T20:05:36","slug":"mbr-damn-it","status":"publish","type":"post","link":"https:\/\/softbeam.net\/hobby\/?p=750","title":{"rendered":"MBR, Damn it"},"content":{"rendered":"<p>Try to install Debian onto my home desktop through usb and grub. Seems my partition table was wiped out during the installation. My windows system as well as my personal data on that partition vanished!<\/p>\n<p>I should have backed up my MBR before making this mistake.<\/p>\n<p>dd if=\/dev\/sda of=mbr.backup bs=446 count=1<\/p>\n<p>(Usual operation is: &#8220;dd if=\/dev\/sda of=mbr.backup bs=512 count=1&#8221; Actually 512 byte Master Boot Record consists of three parts. The first 446 bytes is the bootloader code, that&#8217;s the part to back up and restore.<br \/>\nThere is also the 4 x 16 byte partition table there, and a 2 byte 55aa bootable device signature.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Try to install Debian onto my home desktop through usb and grub. Seems my partition table was wiped out during the installation. My windows system as well as my personal data on that partition vanished! I should have backed up my MBR before making this mistake. dd if=\/dev\/sda of=mbr.backup bs=446 count=1 (Usual operation is: &#8220;dd &hellip; <a href=\"https:\/\/softbeam.net\/hobby\/?p=750\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;MBR, Damn it&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-750","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=750"}],"version-history":[{"count":0,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/750\/revisions"}],"wp:attachment":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}