{"id":1400,"date":"2009-10-29T21:08:43","date_gmt":"2009-10-29T20:08:43","guid":{"rendered":"http:\/\/www.chaosnode.net\/blog\/?p=1400"},"modified":"2009-10-30T12:41:39","modified_gmt":"2009-10-30T11:41:39","slug":"ubuntu-install-grub-rescue-error","status":"publish","type":"post","link":"https:\/\/www.chaosnode.net\/blog\/2009\/10\/29\/ubuntu-install-grub-rescue-error\/","title":{"rendered":"Ubuntu install, GRUB rescue error"},"content":{"rendered":"<p><a rel=\"attachment wp-att-1401\" href=\"http:\/\/www.chaosnode.net\/blog\/2009\/10\/29\/ubuntu-install-grub-rescue-error\/xubuntu_screen\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1401\" title=\"Xubuntu_screen\" src=\"http:\/\/www.chaosnode.net\/blog\/wp-content\/uploads\/2009\/10\/Xubuntu_screen.jpg\" alt=\"Xubuntu_screen\" width=\"600\" height=\"375\" srcset=\"https:\/\/www.chaosnode.net\/blog\/wp-content\/uploads\/2009\/10\/Xubuntu_screen.jpg 600w, https:\/\/www.chaosnode.net\/blog\/wp-content\/uploads\/2009\/10\/Xubuntu_screen-300x187.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><em>Obviously this picture is taken after the grub is rescued.<\/em><\/p>\n<p>The subject line will make sense for those who desperately need this post. \u00c2\u00a0I apologize to my normal friends for a line that looks like sheer insane babble. But such is life for us who dabble in the wild world of Linux, the free and rapidly mutating operating system for personal computers.<\/p>\n<p>The version of Ubuntu that is realeased today is 9.10 (year 2009, month 10), nickname Karmic Koala. \u00c2\u00a0I used the 9.10 RC (release candidate) that was available for download some time before release day. \u00c2\u00a0It is stable and contains pretty much the same as the final version, with only a few downloads to bring it up to date after. \u00c2\u00a0If you get it to run in the first place, that is. \u00c2\u00a0I did not, at first.<\/p>\n<p>It looked easy enough. \u00c2\u00a0I booted from the live cd and chose install. \u00c2\u00a0I answered some questions about localization and such, and then accepted its proposal to share the machine between Vista (which was installed on this laptop already) and Xubuntu (Ubuntu with a faster, smaller user interface). \u00c2\u00a0 It worked for a long time partitioning the disk, setting up the new and improved file system, ext4. \u00c2\u00a0It is said to be faster and more secure than ext3, which is itself pretty good. Anyway, I wrongly suspected ext4 when things went bad. This happened when I rebooted the machine after the install. \u00c2\u00a0Linux is much less hungry for reboots than Windows, but after a brand new install you still have to do it. \u00c2\u00a0I did, and the operating system did not start. Actually, neither Xubuntu nor Vista. \u00c2\u00a0Instead I got a black screen with the text<\/p>\n<p>GRUB rescue&gt;<\/p>\n<p>I booted with the live CD, which lets you run Linux anyway but is fairly slow since it runs off a CD rather than a hard disk. \u00c2\u00a0Still, I got online and could Google for \u00c2\u00a0GRUB Rescue, GRUB install etc. \u00c2\u00a0(GRUB is the programs that runs as soon as the machine starts waking up. It lets you choose which operating system to run, in my case it should have given me a choice between Vista and Xubuntu.) Unfortunately the sites I found were all extremely technical or did not work. \u00c2\u00a0I tried to use the Find command to locate the existing Grub, but got an error message. I tried creating it in the most common position, but got another error message. \u00c2\u00a0And of course when I rebooted I still got the Grub rescue message.<\/p>\n<p>I looked through a couple technical-looking guides, and tried using something called grub-install, but it required information I did not have about the device names of the hard drives. There are no doubt ways to find this out, but then I would have to Google for that separately, and know the right keywords to search for. \u00c2\u00a0Luckily I followed a guide that used fdisk -l (l for list, not the number 1) to create a list of those names. \u00c2\u00a0And behold, the partition names fell neatly into two groups, that seemed to correspond to two hard disks. \u00c2\u00a0But I had only one, right?<\/p>\n<p>Turns out that Xubuntu had installed itself on my external hard drive, a WD Passport, which uses USB to connect to the laptop. \u00c2\u00a0It was entirely on that drive, including the actual GRUB code. \u00c2\u00a0The boot sector only linked to that &#8230; but it ran before the USB drive was connected, right after the machine booted. \u00c2\u00a0So it linked to the empty void. \u00c2\u00a0No wonder the machine panicked!<\/p>\n<p>I ran the install again, this time without the USB drive attached. \u00c2\u00a0This time it took a piece of the internal hard drive. I had to do it all over again, although it took less time than it had on the external disk. \u00c2\u00a0Now it worked perfectly. \u00c2\u00a0Of course, part of the Passport is now set up with a big Linux partition. \u00c2\u00a0I will consider what to do with that when, or if, I need the space. \u00c2\u00a0There is still plenty left.<\/p>\n<p>I wish you all a happy new Linux!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Obviously this picture is taken after the grub is rescued. The subject line will make sense for those who desperately need this post. \u00c2\u00a0I apologize to my normal friends for a line that looks like sheer insane babble. But such &hellip; <a href=\"https:\/\/www.chaosnode.net\/blog\/2009\/10\/29\/ubuntu-install-grub-rescue-error\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,5],"tags":[],"class_list":["post-1400","post","type-post","status-publish","format-standard","hentry","category-computers","category-software"],"_links":{"self":[{"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/posts\/1400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/comments?post=1400"}],"version-history":[{"count":5,"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/posts\/1400\/revisions"}],"predecessor-version":[{"id":1406,"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/posts\/1400\/revisions\/1406"}],"wp:attachment":[{"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/media?parent=1400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/categories?post=1400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chaosnode.net\/blog\/wp-json\/wp\/v2\/tags?post=1400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}