{"id":7022,"date":"2019-04-10T14:46:29","date_gmt":"2019-04-10T11:46:29","guid":{"rendered":"http:\/\/unihost.com\/help\/?p=7022"},"modified":"2023-01-19T13:59:47","modified_gmt":"2023-01-19T10:59:47","slug":"how-to-restore-grub2","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/","title":{"rendered":"How to restore grub2"},"content":{"rendered":"<pre id=\"mce_0\" class=\"editor-rich-text__tinymce mce-content-body\" role=\"textbox\" contenteditable=\"true\" aria-label=\"Write preformatted text\u2026\" aria-autocomplete=\"list\" aria-multiline=\"true\" data-is-placeholder-visible=\"false\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><em>1) Boot a server in rescue mode<br>2) Check partitions<br><\/em><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>[root@rescue \/]#&nbsp;fdisk -l<br><\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Disk \/dev\/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Units: sectors of 1 * 512 = 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Sector size (logical\/physical): 512 bytes \/ 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Disklabel type: gpt<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Disk identifier: 961524F0-9337-4FC8-B4AD-C65D8750BF58<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Device &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;Sectors &nbsp;Size Type<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">\/dev\/sda1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2048 &nbsp;&nbsp;&nbsp;1048575 &nbsp;&nbsp;&nbsp;1046528 &nbsp;511M EFI System<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">\/dev\/sda2 &nbsp;&nbsp;&nbsp;&nbsp;1048576 7812980735 7811932160 &nbsp;3.7T Linux RAID<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">\/dev\/sda3 &nbsp;7812980736 7814027263 &nbsp;&nbsp;&nbsp;1046528 &nbsp;511M Linux swap<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Disk \/dev\/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Units: sectors of 1 * 512 = 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Sector size (logical\/physical): 512 bytes \/ 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Disklabel type: gpt<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Disk identifier: 129DD84C-61D3-464B-910D-E87055EE5C4A<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Device &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;Sectors &nbsp;Size Type<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">\/dev\/sdb1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2048 &nbsp;&nbsp;&nbsp;1048575 &nbsp;&nbsp;&nbsp;1046528 &nbsp;511M EFI System<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">\/dev\/sdb2 &nbsp;&nbsp;&nbsp;&nbsp;1048576 7812980735 7811932160 &nbsp;3.7T Linux RAID<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">\/dev\/sdb3 &nbsp;7812980736 7814027263 &nbsp;&nbsp;&nbsp;1046528 &nbsp;511M Linux swap<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Disk \/dev\/md2: 3.7 TiB, 3999709200384 bytes, 7811932032 sectors<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Units: sectors of 1 * 512 = 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Sector size (logical\/physical): 512 bytes \/ 512 bytes<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes<\/span><br><br><br><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><em>3) mount partitions<\/em><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><em><br><\/em><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>root@rescue:~# mount \/dev\/md2 \/mnt\/<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>root@rescue:~# mount --bind \/dev\/ \/mnt\/dev<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>root@rescue:~# mount --bind \/sys \/mnt\/sys<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>root@rescue:~# mount --bind \/proc \/mnt\/proc<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>root@rescue:~# chroot \/mnt<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>[root@rescue \/]# mount \/dev\/sda1 \/mnt\/boot\/efi\/<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong><br><\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><em>4) grub2 intallation<\/em><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong><br><\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>[root@rescue \/]# grub2-install --target=x86_64-efi --efi-directory=\/boot\/efi --bootloader-id=grub --recheck<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Installing for x86_64-efi platform.<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Installation finished. No error reported.<\/span><br><br><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><em>5) grub.cfg configuring <\/em><\/span><br><br><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>[root@rescue \/]# grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/strong><\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Generating grub configuration file ...<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Found linux image: \/boot\/bzImage-3.14.32-xxxx-grs-ipv6-64<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Found linux image: \/boot\/vmlinuz-3.10.0-693.5.2.el7.x86_64<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Found initrd image: \/boot\/initramfs-3.10.0-693.5.2.el7.x86_64.img<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Found linux image: \/boot\/vmlinuz-3.10.0-693.2.2.el7.x86_64<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Found initrd image: \/boot\/initramfs-3.10.0-693.2.2.el7.x86_64.img<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Found linux image: \/boot\/vmlinuz-0-rescue-1e98a4cc1263468b9f9a12e365316b95<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Found initrd image: \/boot\/initramfs-0-rescue-1e98a4cc1263468b9f9a12e365316b95.img<\/span><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Done<\/span><br><br><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><em>6) exit and reboot<\/em><\/span><br><br><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><strong>ctrl+C<br>ctrl+D<br>root@rescue:~# reboot<\/strong><\/span><\/pre>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) Boot a server in rescue mode2) Check partitions[root@rescue \/]#&nbsp;fdisk -lDisk \/dev\/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical\/physical): 512 bytes \/ 512 bytesI\/O size (minimum\/optimal): 512 bytes \/ 512 bytesDisklabel type: gptDisk identifier: 961524F0-9337-4FC8-B4AD-C65D8750BF58Device &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;Sectors &nbsp;Size Type\/dev\/sda1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2048 &nbsp;&nbsp;&nbsp;1048575 &nbsp;&nbsp;&nbsp;1046528 &nbsp;511M EFI System\/dev\/sda2 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158],"tags":[301,469,468],"class_list":["post-7022","post","type-post","status-publish","format-standard","hentry","category-dedicated-servers","tag-grub-bootloader","tag-grub2","tag-restore"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to restore grub2 - Unihost.FAQ<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to restore grub2 - Unihost.FAQ\" \/>\n<meta property=\"og:description\" content=\"1) Boot a server in rescue mode2) Check partitions[root@rescue \/]#&nbsp;fdisk -lDisk \/dev\/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical\/physical): 512 bytes \/ 512 bytesI\/O size (minimum\/optimal): 512 bytes \/ 512 bytesDisklabel type: gptDisk identifier: 961524F0-9337-4FC8-B4AD-C65D8750BF58Device &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;Sectors &nbsp;Size Type\/dev\/sda1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2048 &nbsp;&nbsp;&nbsp;1048575 &nbsp;&nbsp;&nbsp;1046528 &nbsp;511M EFI System\/dev\/sda2 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-10T11:46:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-19T10:59:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"141\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"How to restore grub2\",\"datePublished\":\"2019-04-10T11:46:29+00:00\",\"dateModified\":\"2023-01-19T10:59:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/\"},\"wordCount\":4,\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"keywords\":[\"grub bootloader\",\"grub2\",\"restore\"],\"articleSection\":[\"02. Dedicated servers\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/\",\"url\":\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/\",\"name\":\"How to restore grub2 - Unihost.FAQ\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/#website\"},\"datePublished\":\"2019-04-10T11:46:29+00:00\",\"dateModified\":\"2023-01-19T10:59:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-restore-grub2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\/\/unihost.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\/\/unihost.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to restore grub2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unihost.com\/help\/#website\",\"url\":\"https:\/\/unihost.com\/help\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unihost.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/unihost.com\/help\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/unihost\/\",\"https:\/\/x.com\/unihost\",\"https:\/\/www.instagram.com\/unihost\/?hl=en\",\"https:\/\/www.linkedin.com\/company\/unihost-com\",\"https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\/\/unihost.com\/\"],\"url\":\"https:\/\/unihost.com\/help\/author\/support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to restore grub2 - Unihost.FAQ","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/","og_locale":"en_US","og_type":"article","og_title":"How to restore grub2 - Unihost.FAQ","og_description":"1) Boot a server in rescue mode2) Check partitions[root@rescue \/]#&nbsp;fdisk -lDisk \/dev\/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical\/physical): 512 bytes \/ 512 bytesI\/O size (minimum\/optimal): 512 bytes \/ 512 bytesDisklabel type: gptDisk identifier: 961524F0-9337-4FC8-B4AD-C65D8750BF58Device &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;Sectors &nbsp;Size Type\/dev\/sda1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2048 &nbsp;&nbsp;&nbsp;1048575 &nbsp;&nbsp;&nbsp;1046528 &nbsp;511M EFI System\/dev\/sda2 [&hellip;]","og_url":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2019-04-10T11:46:29+00:00","article_modified_time":"2023-01-19T10:59:47+00:00","og_image":[{"width":250,"height":141,"url":"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png","type":"image\/png"}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"Unihost Support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"How to restore grub2","datePublished":"2019-04-10T11:46:29+00:00","dateModified":"2023-01-19T10:59:47+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/"},"wordCount":4,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"keywords":["grub bootloader","grub2","restore"],"articleSection":["02. Dedicated servers"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/","url":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/","name":"How to restore grub2 - Unihost.FAQ","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"datePublished":"2019-04-10T11:46:29+00:00","dateModified":"2023-01-19T10:59:47+00:00","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/how-to-restore-grub2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/how-to-restore-grub2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"How to restore grub2"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/7022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=7022"}],"version-history":[{"count":3,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/7022\/revisions"}],"predecessor-version":[{"id":7054,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/7022\/revisions\/7054"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=7022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=7022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=7022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}