Linux Grub Error 2
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow grub error windows 7 the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu
Grub Error 18
Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join grub error 22 them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top GRUB error (2) while booting Ubuntu
Grub Error 15
12.04 up vote 2 down vote favorite I have installed Ubuntu 12.04 on my computer. The install went fine but now I have the next error while booting: grub stage 1.5 - error 2 I'm posting from the live CD and I didn't find an useful answer in Google. 12.04 grub2 boot-failure share|improve this question edited Dec 1 '12 at 18:58 Lucio 8,4201761114 asked Dec 1 '12 at 18:31 Gabriel 113 1 Adding grub loading error 15 the output of the boot info script to your question would help, but stage1.5 is part of grub-legacy and 12.04 uses grub2, so you must have some other disk that has an old broken grub install on it that you are booting rather than the one you installed 12.04 on. –psusi Dec 1 '12 at 20:50 Thanks for your help ! I understand what you wrote, but I'm a newbie with Ubuntu. Where is this boot info script ? I didn't find it. Before installing Ubuntu I was running Kubuntu (don't remember the version). Maybe am I still lauching the old grub... But how to check it ? I tried "sudo grub" on my Live cd, but i get a "command not found"... –Gabriel Dec 1 '12 at 23:49 Google for boot info script and it should be the first thing that comes up. Do you have more than one hard drive? –psusi Dec 2 '12 at 1:24 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Boot from LiveCD and from a terminal run 'grub-install /dev/hda' command and then boot from the hard disk. The command will do a fresh install of grub on your hard disk and overwrite any previous versions of grub. Hopefully this will fix it. share|impro
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support
Grub Error Unknown Filesystem
AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs:
Grub Error 17
Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search grub loading error 17 Forum The Ubuntu Forum Community Other Discussion and Support Other OS Support and Projects Other Operating Systems Gentoo and derivatives [SOLVED] Grub Error 2 while trying to boot into Gentoo Having an Issue http://askubuntu.com/questions/224336/grub-error-2-while-booting-ubuntu-12-04 With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 3 123 Last Jump to page: Results 1 to 10 of 28 Thread: [SOLVED] Grub Error 2 while trying to boot into Gentoo Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded https://ubuntuforums.org/showthread.php?t=944088 Mode October 11th, 2008 #1 Morrad View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Sep 2008 Location USA Pacific Coast Beans 68 DistroUbuntu [SOLVED] Grub Error 2 while trying to boot into Gentoo Hey everyone. I wanted to try out Gentoo to see what all the fuss was about, so I've installed it on a separate partition, and edited my menu.lst file within my Ubuntu partition. The goal is to use configfile to launch Gentoo's grub.conf file, and launch it from there. Here is how the relavent partitions are set up: Code: /dev/sda2 ubuntu (flagged bootable) /dev/sda4 gentoo (tried boot flagged/unflagged) Within grub, booting gentoo: Code: title Gentoo Linux configfile (hd0,3)/boot/grub/grub.conf With this, I'm getting "Grub Error 2: Bad file or directory type" when selecting that option. I've also tried using the interactive mode in grub, and it gives the same error for trying to autocomplete "configfile (hd0,3)/". Anyone have any idea what could be causing this? I haven't seen anything on the web or any forums. Last edited by Morrad; October 11th, 2008 at 05:57 AM. Adv Reply October 11th, 2008 #2 trimeta View Profile View Forum Posts Private Message 5 Cups of Ubuntu
Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. We use cookies to log you in, for ads and for analytics. OK Grub stage 1.5 Error: 2 Started by Desertoren , Nov 26 2009 https://www.linux-noob.com/forums/index.php?/topic/3909-grub-stage-15-error-2/ 04:15 AM Please log in to reply 3 replies to this topic #1 Desertoren Desertoren Noob http://www.plunk.org/~grantham/cgi-bin/blog.cgi?id=00018 Members 3 posts Posted 26 November 2009 - 04:15 AM Hi, i just finished installing slackware 13 and this is the first time i'm using linux. When the setup was finished and i removed the slack-cd and rebooted, i get this message: GRUB Loading stage1.5. GRUB loading, please wait... Error 2From what i've learned this Error 2:"Selected disk doesn't exist" This error is returned if grub error the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.This sort of makes sense since during installation i could not use cfdisk to partition; using cfdisk showed me 600mb of free space on hda, however fdisk -l showed me my 2 harddrives of 250gb each, named sda and sdb. I then had to partition in fdisk and continue with the setup. grub error 2 I don't know if this is the way it's supposed to work, but my guess is that the reason grub can't find my root (or whatever it's looking for), is the same reason cfdisk couldn't find my drives, i.e grub is looking for hda1 or something, when it should be looking for sda1.Here's where i'm stuck: I have no idea how to access menu.lst and change the drive it should be booting from. I would appreciate any help on the matter.MarcusEdit: btw, i have absolutely no idea what "hda" is in the cfdisk list, i have no partition of that size, it just doesn't make sense to me. Back to top Report #2 Desertoren Desertoren Noob Members 3 posts Posted 26 November 2009 - 06:27 AM Something went bad in the installation and several functions are missing, using another iso i will reinstall. Edit: Ok, so now i've reinstalled, properly and i am at the exact same problem. Back to top Report #3 hybrid hybrid Linux-Noob Frequent Member Admin 1,009 posts Posted 26 November 2009 - 05:46 PM Are you able to get to any GRUB menu/prompt at all, or does the system just hang there at the error?If you can get a grub> prompt, you may be able to manually enter the right commands to boot the OS (noting them down!) and then modify menu.lst and/or reinstall GRUB to fix the problem and have booting working properly at a
how I solved it, in case someone else has the same problem and starts googling around. Don't bother reading this unless you are a Linux nut. I wanted to transition my GRUB partition (typically /boot, but /boot/grub for me) from my second hard disk (don't ask) to my first hard disk. I: booted the Ubuntu 8.10 32-bit CD (actually a USB flash drive) into a live session, ran the partition editor from the "System menu", created a new partition, /dev/sda2, for the GRUB partition and initialized it (mkfs.ext2) for through the partition editor, copied every file from the old GRUB partition, /dev/sdb3, to the new one, unmounted, ran grub and root (hd0) then setup --prefix= (hd0,1) and the result was "Done." (successful) rebooted I received an "Error 2" from GRUB. What this means is that GRUB could not open the partition I initialized it with, which is odd, since I had just used GRUB to set itself up, so I knew that GRUB saw hd0,1 from the Ubuntu live session. I rebooted into the liveCD image. Ran GRUB. I ran find menu.lst and the output was (hd0,1) and (hd1,2) , so GRUB could definitely see both partitions from inside the live session. I ran setup --prefix= (hd2,1) in order to restore the old GRUB partition, and rebooted. Then I was able to enter GRUB's command line using "c". Inside GRUB booted from the BIOS, though, find menu.lst only output (hd1,2) . The implication is that GRUB inside the live session can see both partitions, but somehow the GRUB installed into the MBR could see only the original partition but not the one I just created. GRUB from the BIOS could see my other hd0 partitions, as find vmlinuz returned (hd0,2) , where one of my Linux installations lives, so it's not like the BIOS couldn't see that first drive. So my hunch is that a newer ext2 filesystem has some incompatibility with the old stage1.5 that was in the GRUB partition. I booted into an older version of Linux that I had around on CD, about a year old (early 2008), initialized the /dev/sda2 partition again, copied everything over, ran GRUB, and it booted right up. Argh! So when I said "I had just used GRUB to set itself up," I was mixing versions. I had used an old set of GRUB installation files (stage1.5, stage2, etc) but a new GRUB and mkfs. So I guess the lesson learned is one of two things: When using a new GRUB and mkfs, make sure to use the support files that come with that system, or When using an old stage1.5 or stage2, make sure to use th