{"id":1352,"date":"2012-02-22T14:08:07","date_gmt":"2012-02-22T13:08:07","guid":{"rendered":"http:\/\/www.zarrelli.org\/blog\/?p=1352"},"modified":"2012-02-22T14:13:55","modified_gmt":"2012-02-22T13:13:55","slug":"gnu-grub-version-1-97beta-4-minimal-bash","status":"publish","type":"post","link":"https:\/\/www.zarrelli.org\/blog\/gnu-grub-version-1-97beta-4-minimal-bash\/","title":{"rendered":"&#8220;GNU GRUB version 1.97&#8243;beta 4 [ Minimal BASH-"},"content":{"rendered":"<p>Today I was updating an Ubuntu 9.04 virtual machine to 12.04. I went successfully to the 10.04 but after the 11.10 upgrade, at the reboot I had the following message:<\/p>\n<p><span style=\"color: #ff6600;\">&#8220;GNU GRUB version 1.97&#8243;beta 4 [ Minimal BASH-like line editing is supported.For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device\/file completions]<\/span><\/p>\n<p><span style=\"color: #ff6600;\"> sh:grub&gt;<\/span><\/p>\n<p>Awkward! Couple of Google queries and I ran into help.ubuntu.com, where I found this pretty nice <a href=\"https:\/\/help.ubuntu.com\/community\/Grub2#Rescue%20Mode&quot;\" target=\"_blank\">solution<\/a>:<\/p>\n<pre>ls\r\nset prefix=(hd0,1)\/boot\/grub\r\nset root=(hd0,1)\r\nset\r\nls \/boot\r\ninsmod \/boot\/grub\/linux.mod\r\nlinux \/vmlinuz root=\/dev\/sda1\r\ninitrd \/initrd.img\r\nboot<\/pre>\n<p>Give this commands on Grub command line and keep in mind that I&#8217;m using sda1 (sda=hd0 | partition=1) and both \/root and \/boot are on the same partition.<\/p>\n<p>As the system boots, login and issue the following command as root:<\/p>\n<pre>grub-install \/dev\/sda\r\nupdate-grub<\/pre>\n<p>Then reboot. The system should boot up fine now!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was updating an Ubuntu 9.04 virtual machine to 12.04. I went successfully to the 10.04 but after the 11.10 upgrade, at the reboot I had the following message: &#8220;GNU GRUB version 1.97&#8243;beta 4 [ Minimal BASH-like line editing is supported.For the first word, TAB lists possible command completions. Anywhere else TAB lists possible &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,62],"tags":[187,329,475,389,139,486],"class_list":["post-1352","post","type-post","status-publish","format-standard","hentry","category-gnulinux","category-sysadmin","tag-administration","tag-boot","tag-gnulinux","tag-grub","tag-linux","tag-sysadmin","without-featured-image"],"_links":{"self":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/comments?post=1352"}],"version-history":[{"count":0,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1352\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/media?parent=1352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/categories?post=1352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/tags?post=1352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}