{"id":2570,"date":"2019-06-02T01:19:31","date_gmt":"2019-06-02T08:19:31","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2570"},"modified":"2019-06-02T01:19:31","modified_gmt":"2019-06-02T08:19:31","slug":"dual-boot-and-now-for-something-completely-different","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2570","title":{"rendered":"Dual-Boot &#8211; And Now for Something Completely Different..?"},"content":{"rendered":"<p>I had previously set up several dual-boot Fedora Linux\/Win7 systems, but now had the challenge of doing the same for MacOS as well..<\/p>\n<p>This is absolutely not the place for any discussion on the ramifications of the &#8216;Hackintosh&#8217; movement, but it will suffice to use that terrible phrase &#8216;Google is your friend..&#8217;..<\/p>\n<p>The Clover\/MacOS instance was on its own disk, and this meant that (hopefully) this would not interfere with Grub\/Linux.\u00a0\u00a0 I tested that install by booting to the POST\/BIOS UEFI boot menu (typically <em>F9<\/em>) and selecting the Clover\/MacOS disk.<\/p>\n<p>I found some existing dual-boot examples, but these seemed to be quite out-of-date, and so used my existing GRUB2 Win7 chainloader as a starting point.<\/p>\n<p>The simplest solution I found is to use <strong>grub-customizer<\/strong> to create and edit the necessary entry, and this takes care of formatting and inclusion in grub.cfg etc..<\/p>\n<p>In the main grub-customizer window, select <em>Edit\/New<\/em>, and then select<em> Type Chainloader<\/em> and give it a suitable name (I used &#8216;Boot Clover&#8217;) and then ignore the &#8216;error&#8217; message, and then under <em>Partition<\/em> select the efi partition where Clover resides. This should present as &#8216;<strong>EFI\/vfat<\/strong>&#8216;.<\/p>\n<p>In my example, the efi partition is on the fifth physical disk, partition 1..<\/p>\n<p>You should then see, under Boot sequence:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">set root='(hd4,1)'<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">search --no-floppy --fs-uuid --set &lt; UUID &gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">drivemap -s (hd0) ${root}<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">chainloader +1<\/span><\/strong><\/code><\/p>\n<p>Edit this to remove the line starting with <strong><span style=\"font-family: Courier New, Courier, monospace;\">drivemap<\/span><\/strong>, and edit the <strong><span style=\"font-family: Courier New, Courier, monospace;\">chainloader +1<\/span><\/strong> line to<br \/>\n<code><strong><span style=\"font-family: Courier New, Courier, monospace;\">chainloader \/EFI\/CLOVER\/CLOVERX64.efi<\/span><\/strong><\/code><\/p>\n<p>Then hit <em>OK<\/em>, and the new entry should show up as &#8216;<em>menuentry \/ script:custom<\/em>&#8216;<br \/>\nThen in the main window hit <em>Save<\/em>, and test by rebooting..<\/p>\n<p><em>Robert Gadsdon.\u00a0 June 1, 2019.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had previously set up several dual-boot Fedora Linux\/Win7 systems, but now had the challenge of doing the same for MacOS as well.. This is absolutely not the place for any discussion on the ramifications of the &#8216;Hackintosh&#8217; movement, but it will suffice to use that terrible phrase &#8216;Google is your friend..&#8217;.. The Clover\/MacOS instance was on <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2570\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[1836,10,1375,11,14,15,19],"tags":[2079,1837,181,242,2078,1162],"class_list":["post-2570","post","type-post","status-publish","format-standard","hentry","category-dual-boot","category-fedora","category-grub","category-hacks","category-kernel","category-linux-2","category-opinion","tag-clover","tag-dual-boot","tag-grub2","tag-linux","tag-menu-entry","tag-uefi"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2570"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2570\/revisions"}],"predecessor-version":[{"id":2572,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2570\/revisions\/2572"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}