{"id":1883,"date":"2018-12-11T18:27:17","date_gmt":"2018-12-11T17:27:17","guid":{"rendered":"https:\/\/hoover.gplrank.de\/?p=1883"},"modified":"2018-12-11T18:28:35","modified_gmt":"2018-12-11T17:28:35","slug":"restoring-the-grub-boot-sector-on-linux-mint-19-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/hoover.gplrank.de\/?p=1883","title":{"rendered":"Restoring the GRUB boot sector on Linux Mint 19 \/ Ubuntu 18.04"},"content":{"rendered":"<p>&nbsp;<\/p>\n<pre><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/0\/00\/Grub_logo.png\" width=\"125\" height=\"105\" \/>\r\n\r\nNote to self: Always make a copy of your boot sectors using dd first.\u00a0\r\nNote to world: These commands will only work if you have a separate boot partition. \r\n\r\n\r\n\r\n# take note of your Linux partitions (\/dev\/sde3 == \/, \/dev\/sde1 = \/boot in my case)\r\n\r\nfdisk -l \r\n\r\n# Mount Linux partitions using your live installer cd \/ usb key: \r\n\r\nmount \/dev\/sde3 \/mnt\r\nmount \/dev\/sde1 \/mnt\/boot\r\n\r\n# re-install grub to \/dev\/sda\r\n\r\ngrub-install --boot-directory=\/mnt\/boot \/dev\/sda \r\n\r\nSource(s):\r\nhttps:\/\/help.ubuntu.com\/community\/Grub2\/Installing<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Note to self: Always make a copy of your boot sectors using dd first.\u00a0 Note to world: These commands will only work if you have a separate boot partition. # take note of your Linux partitions (\/dev\/sde3 == \/, \/dev\/sde1 = \/boot in my case) fdisk -l # Mount Linux partitions using your live [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1883","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/1883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1883"}],"version-history":[{"count":2,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/1883\/revisions"}],"predecessor-version":[{"id":1885,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/1883\/revisions\/1885"}],"wp:attachment":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}