Gentoo/Grub bootloader error

File not Found

Page 1 of 1

5 Replies - 1783 Views - Last Post: 15 September 2007 - 03:04 PM

#1 GWatt   User is offline

  • member icon

Reputation: 312
  • View blog
  • Posts: 3,107
  • Joined: 01-December 05

Gentoo/Grub bootloader error

Posted 15 September 2007 - 08:24 AM

So I've been trying to get gentoo to work for the past couple days now, and it keeps on giving me the same error. It says:

Quote

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-2.6.22-gentoo-r5 root=/dev/hda3

Error 15: File not found

Press any key to continue. . .

Despite the fact that I don't have an 'any' key, I see no reason for this problem to be happening. The grub.conf file doens't have any errors, that I can tell, and I made sure the kernel line agreed with where the actual boot image resides. Just so you can see, here is my grub.conf:
default 0
timeout 10

title=Gentoo Linux 2.6.22-r5
root (hd0,0)
kernel /boot/kernel-2.6.22-gentoo-r5 root=/dev/hda3



When I use the CD, and remount all of my devices, I make sure that the file /boot/kernel-2.6.22-gentoo-r5 exists

I had it working a little while ago, and I don't think that I changed anything. And by the way, I am not using genkernel. If someone could help me that would be great.

[edit]
And yes, /dev/hda1 is set as bootable via fdisk.

This post has been edited by GWatt: 15 September 2007 - 08:27 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Gentoo/Grub bootloader error

#2 MorphiusFaydal   User is offline

  • D.I.C Lover
  • member icon

Reputation: 44
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Gentoo/Grub bootloader error

Posted 15 September 2007 - 08:48 AM

Do you have /boot as a separate partition?
Was This Post Helpful? 0
  • +
  • -

#3 GWatt   User is offline

  • member icon

Reputation: 312
  • View blog
  • Posts: 3,107
  • Joined: 01-December 05

Re: Gentoo/Grub bootloader error

Posted 15 September 2007 - 08:57 AM

/boot is /dev/hda1

What I did agrees with the Gentoo docs, which is really why I am confused here.
Was This Post Helpful? 0
  • +
  • -

#4 MorphiusFaydal   User is offline

  • D.I.C Lover
  • member icon

Reputation: 44
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Gentoo/Grub bootloader error

Posted 15 September 2007 - 10:07 AM

How I've got mine set up:

/boot is /dev/sda1
swap is /dev/sda2
/ is /dev/sda3

It's a PATA drive, but I'm using the libata stuff, so it get the sda moniker..

My grub.conf:
title = Gentoo Linux
	root (hd0,0)
	kernel /kernel-2.6.22.1 root=/dev/sda3 ro vga=0x31b



If your boot is a separate partition, you don't put in the /boot. :)
Was This Post Helpful? 0
  • +
  • -

#5 GWatt   User is offline

  • member icon

Reputation: 312
  • View blog
  • Posts: 3,107
  • Joined: 01-December 05

Re: Gentoo/Grub bootloader error

Posted 15 September 2007 - 10:10 AM

I tried that after I posted my original message, and it told me that I needed to use an absolute path name. I'll try again and see if it works.

[edit]
That just seemed to work. I edited the boot command straight from the grub menu, so now I'll write to grub.conf. Anyway, thanks, MorphiusFaydal.

This post has been edited by GWatt: 15 September 2007 - 10:13 AM

Was This Post Helpful? 0
  • +
  • -

#6 MorphiusFaydal   User is offline

  • D.I.C Lover
  • member icon

Reputation: 44
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Gentoo/Grub bootloader error

Posted 15 September 2007 - 03:04 PM

No problem. Now I need to go figure out why I'm getting VFS kernel panics at boot. >.<
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1