{"id":5068,"date":"2011-02-22T21:08:03","date_gmt":"2011-02-22T14:08:03","guid":{"rendered":"http:\/\/sinaulinux.martianuswb.com\/?p=761"},"modified":"2011-02-22T21:08:03","modified_gmt":"2011-02-22T14:08:03","slug":"grub-rescue-di-ubuntu-10-04","status":"publish","type":"post","link":"https:\/\/martianuswb.com\/?p=5068","title":{"rendered":"&#8220;grub rescue>&#8221; di Ubuntu 10.04"},"content":{"rendered":"<p>Nah, yang ini juga pengalaman baru buat saya. Ini bukan karena GRUB hilang setelah install ulang Win**** di komputer dengan dual OS lho. Kalau mengembalikan grub yang hilang, baca postingan saya sebelumnya ya.<\/p>\n<p>Tidak jelas apa yang terjadi, tapi pastinya salah saya, tiba-tiba tidak bisa masuk GRUB dan hanya keluar tulisan &#8220;<strong><span style=\"background-color: yellow;\">grub rescue&gt;<\/span><\/strong>&#8220;. Setelah googling, rupanya salah satu penyebabnya adalah hilangnya file <em>grub.cfg<\/em><\/p>\n<p>Kalau Anda mengalami hal ini, ketikkan baris-baris berikut.<\/p>\n<table width=\"500\" border=\"1\" cellspacing=\"1\" cellpadding=\"1\">\n<tbody>\n<tr>\n<td>grub rescue &gt; ls<br \/>\ngrub rescue &gt; set prefix=(hd0,6)\/boot\/grub<br \/>\ngrub rescue &gt; set root=(hd0,6)<br \/>\ngrub rescue &gt; set<br \/>\ngrub rescue &gt; ls \/boot<br \/>\ngrub rescue &gt; insmod \/boot\/grub\/linux.mod<br \/>\ngrub rescue &gt; linux \/vmlinuz root=\/dev\/sda6 ro<br \/>\ngrub rescue &gt; initrd \/initrd.img<br \/>\ngrub rescue &gt; boot<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Dengan catatan, <em>(hd0,6)<\/em> dan <em>sda6<\/em> adalah partisi tempat instalasi Ubuntu. Mungkin berbeda di komputer Anda. Dengan langkah ini sudah bisa masuk ke desktop Ubuntu, tetapi sifatnya tidak permanen. Kalau Anda restart komputer, maka akan keluar lagi tulisan grub rescue &gt;<\/p>\n<p>Untuk memperbaiki secara permanen, saat masih di desktop Ubuntu, masuk ke Terminal lewat <em><strong>Applications &gt; Accessories &gt; Termina<\/strong><\/em>l lalu ketikkan:<\/p>\n<table width=\"500\" border=\"1\" cellspacing=\"1\" cellpadding=\"1\">\n<tbody>\n<tr>\n<td>sudo update-grub<br \/>\nsudo grub-install \/dev\/sda<br \/>\nsudo update-grub<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Setelah itu, restart komputer Anda, dan GRUB sudah kembali normal.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Nah, yang ini juga pengalaman baru buat saya. Ini bukan karena GRUB hilang setelah install ulang Win**** di komputer dengan dual OS lho. Kalau mengembalikan grub yang hilang, baca postingan&#8230; <a href=\"https:\/\/martianuswb.com\/?p=5068\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4763,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1407],"tags":[1602,1938],"class_list":["post-5068","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-grub-rescue","tag-ubuntu-10-04"],"_links":{"self":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts\/5068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5068"}],"version-history":[{"count":0,"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts\/5068\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/media\/4763"}],"wp:attachment":[{"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}