Grub Error 2
Contents |
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum GNU Linux Zone Installation Grub Error 2 If this is your first visit, be sure to check out grub error windows 7 the FAQ by clicking the link above. You may have to register before you can
Grub Error 18
post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the
Grub Error 22
selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Results 1 to 8 of 8 Thread: Grub Error 2 Thread Tools Show
Grub Error 15
Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 08-05-2008 #1 davidq0806 View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Aug 2008 Posts 4 Grub Error 2 Hi, just finished installing Gentoo Linux from the 2008 LiveCD for the second time and I still have the grub loading error 15 persistent "Error 2" problem with Grub. I have looked at almost every post on the internet about this but still to no avail - any suggestions? Reply With Quote 08-05-2008 #2 devils casper View Profile View Forum Posts Private Message View Articles Super Moderator Join Date Jun 2006 Location Chandigarh, India Posts 24,776 Hi and Welcome ! You are not using correct device name assigned to partitions in grub.conf file. Boot up from any LiveCD and execute this Code: su - /sbin/fdisk -l Post output here. Post the contents of grub.conf file too. It is amazing what you can accomplish if you do not care who gets the credit. New Users: Read This First Reply With Quote 08-05-2008 #3 davidq0806 View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Aug 2008 Posts 4 Ok, here's what I got from fdisk about my main HDD: Code: Disk /dev/sda: 250.0 GB, 25005930016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identified: 0x8d44dbc9 Device Boot Start End Blocks Id System /dev/sda1 1 14376 115474432 af Unknown /dev/sda2 14376 18293 31457280 7 HPFS/NTFS /dev/sda3 * 18294 29766 92156872+ 83 Linux /dev/sda4 29767 30401 5100637+ 82 Linux swap / Solaris ..and here's my grub.conf: Code: default 0 timeout 30 splashimage=(hd0,2)/boot/grub/splash.xpm.gz title=Gentoo Linux root (h
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 AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter grub error unknown filesystem Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet grub error 17 Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Other Discussion and Support Other OS Support and grub loading error 17 Projects Other Operating Systems Gentoo and derivatives [SOLVED] Grub Error 2 while trying to boot into Gentoo Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place http://www.linuxforums.org/forum/installation/127502-grub-error-2-a.html 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 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 https://ubuntuforums.org/showthread.php?t=944088 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 Join Date Nov 2007 Location Ft. Lauderdale, FL Beans 35 DistroUbuntu 8.04 Hardy Heron Re: Grub Error 2 while trying to boot into Gentoo I've never used "configfile" in Grub, so no idea here. Adv Reply October 11th, 2008 #3 Patb View Profile View Forum Posts Private Message Visit Homepage Tea Glorious Tea!
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 http://www.plunk.org/~grantham/cgi-bin/blog.cgi?id=00018 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, grub error /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. grub error 2 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