{"id":2062,"date":"2011-11-20T14:54:47","date_gmt":"2011-11-20T07:54:47","guid":{"rendered":"http:\/\/www.jfdesignnet.com\/?p=2062"},"modified":"2011-11-20T14:54:47","modified_gmt":"2011-11-20T07:54:47","slug":"from-grub2-mbr-to-partition","status":"publish","type":"post","link":"https:\/\/www.jfdesignnet.com\/?p=2062","title":{"rendered":"from grub2 mbr to partition"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"http:\/\/www.jfdesignnet.com\/wp-content\/uploads\/2011\/12\/life_getting_complicated.jpg\" rel=\"lightbox[2062]\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-2063 alignright\" title=\"life_getting_complicated\" src=\"http:\/\/www.jfdesignnet.com\/wp-content\/uploads\/2011\/12\/life_getting_complicated-300x293.jpg\" alt=\"\" width=\"180\" height=\"177\" \/><\/a>for chainloading with klixs, grub2 must install on the partition, not mbr, thus we can chainloading it within klixs grub bootloader.<\/p>\n<p style=\"text-align: justify;\">if you already install ubuntu on mbr, here is how to so it will install on partition :<\/p>\n<p style=\"text-align: justify;\">boot into ubuntu installation, and<\/p>\n<p>{code}grub-setup &#8211;force \/dev\/sdaxx<br \/>\nwarn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..<br \/>\nEmbedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.{\/code}<\/p>\n<p>{code}grub-install \/dev\/sdaxx<br \/>\nwarn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..<br \/>\nEmbedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged..{\/code}<\/p>\n<p>DAMN you buntut ! why you complicating simple thing ? just ignore the warning.<\/p>\n<p>now, chroot to klixs installation and bring back klixs grub to mbr :<\/p>\n<p>{code}mount \/dev\/sdaxx \/mnt\/pub<br \/>\nchroot \/mnt\/pub<br \/>\ngrub-install \/dev\/sda{\/code}<\/p>\n<p>edit the \/boot\/grub\/menu.lst and add this line :<\/p>\n<p>{code}title GRUB2-chainloading<br \/>\nroot (hd0,xx)<br \/>\nchainloader +1{\/code}<\/p>\n<p>save it, exit from chroot, and reboot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>for chainloading with klixs, grub2 must install on the partition, not mbr, thus we can chainloading it within klixs grub bootloader. if you already install ubuntu on mbr, here is how to so it will install on partition : boot into ubuntu installation, and {code}grub-setup &#8211;force \/dev\/sdaxx warn: Attempting to install GRUB to a partition [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2063,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,9,14],"tags":[104],"_links":{"self":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts\/2062"}],"collection":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2062"}],"version-history":[{"count":0,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts\/2062\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/media\/2063"}],"wp:attachment":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}