Re: [gentoo-user] Kernel File not found

2007-12-23 Thread Grant
  I just finished a re-install of my laptop to get multilib working and
  grub apparently can't find the kernel this time.  I've tried grub and
  grub-static.  I get this:
 
  root (hd0,0)
  Filesystem type is ext2fs, partition type 0x83
  kernel /boot /kernel-2.6.22-hardened-r8 root: /dev/sda3
  Error 15: File not found
 
  I'm using all of the config files that were working perfectly on the
  previous install.
 
  The only things out of the ordinary are:
 
  1. I forgot to copy the kernel into the boot partition the first time
  I rebooted and got this same error.  I booted the LiveCD again and
  copied it over after mounting /dev/sda3 and /dev/sda1.  I thought for
  sure that would fix it but no.  I've verified that the correctly named
  kernel file is in /mnt/gentoo/boot when /dev/sda1 is mounted.
  grub.conf is from my previous install and references the kernel file
  correctly.
 
  2. I used -fforce-addr in make.conf this time even though I don't know
  what it does because it was included in the default make.conf.
 
  Any ideas?
 
  - Grant
 

 When the grub menu comes up, hit e twice and then try to use tab
 completion to find it and the arrow keys to navigate.  That may help.
 Tab completion works like it does in a console.  Sort of neat really.

Great!  Tab competion is awesome.  I had to specify the path like so:

kernel /kernel-2.6.22-hardened-r8 root=/dev/sda3

instead of /boot/kernel-2.6.22-hardened-r8.  Does anyone know why that
might be?  Thanks Dale.

 I hope that helps.

 Dale
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel File not found

2007-12-23 Thread Grant
  Filesystem type is ext2fs, partition type 0x83
  kernel /boot /kernel-2.6.22-hardened-r8 root: /dev/sda3
  Error 15: File not found

 There should be no space between /boot and /kernel.

Actually just a transcription error.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel File not found

2007-12-23 Thread Etaoin Shrdlu
On Sunday 23 December 2007, Grant wrote:

  When the grub menu comes up, hit e twice and then try to use tab
  completion to find it and the arrow keys to navigate.  That may
  help. Tab completion works like it does in a console.  Sort of neat
  really.

 Great!  Tab competion is awesome.  I had to specify the path like so:

 kernel /kernel-2.6.22-hardened-r8 root=/dev/sda3

 instead of /boot/kernel-2.6.22-hardened-r8.  Does anyone know why that
 might be?  Thanks Dale.

The path you specify in the kernel line is relative to the partition 
specified in the root line (which should be tha partition whose 
filesystem contains the kernel image). If your /boot is on a separate 
partition, this means that using kernel /boot/kernel would be 
incorrect, since there is no /boot directory in the partition mounted 
in /boot. Rather, all the files are located at the first level (from 
grub's (hd0,0) standpoint).
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel File not found

2007-12-23 Thread Johann Schmitz
Grant wrote:
 Great!  Tab competion is awesome.  I had to specify the path like so:
 
 kernel /kernel-2.6.22-hardened-r8 root=/dev/sda3
 
 instead of /boot/kernel-2.6.22-hardened-r8.  Does anyone know why that
 might be?  Thanks Dale.

IIRC, grub-install creates a symlink in /boot named boot wich points to /boot:

 [EMAIL PROTECTED] ~ $ ll /boot/boot
 lrwxrwxrwx 1 root root 1  1. Jul 00:01 /boot/boot - .

Now you can write
 kernel /kernel-x-y-z
and
 kernel /boot/kernel-x-y-z

and both lines will point to the same kernel ;)

-- 
Johann Schmitz
http://www.j-schmitz.net

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Kernel File not found

2007-12-22 Thread Grant
I just finished a re-install of my laptop to get multilib working and
grub apparently can't find the kernel this time.  I've tried grub and
grub-static.  I get this:

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot /kernel-2.6.22-hardened-r8 root: /dev/sda3
Error 15: File not found

I'm using all of the config files that were working perfectly on the
previous install.

The only things out of the ordinary are:

1. I forgot to copy the kernel into the boot partition the first time
I rebooted and got this same error.  I booted the LiveCD again and
copied it over after mounting /dev/sda3 and /dev/sda1.  I thought for
sure that would fix it but no.  I've verified that the correctly named
kernel file is in /mnt/gentoo/boot when /dev/sda1 is mounted.
grub.conf is from my previous install and references the kernel file
correctly.

2. I used -fforce-addr in make.conf this time even though I don't know
what it does because it was included in the default make.conf.

Any ideas?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel File not found

2007-12-22 Thread Dale
Grant wrote:
 I just finished a re-install of my laptop to get multilib working and
 grub apparently can't find the kernel this time.  I've tried grub and
 grub-static.  I get this:

 root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
 kernel /boot /kernel-2.6.22-hardened-r8 root: /dev/sda3
 Error 15: File not found

 I'm using all of the config files that were working perfectly on the
 previous install.

 The only things out of the ordinary are:

 1. I forgot to copy the kernel into the boot partition the first time
 I rebooted and got this same error.  I booted the LiveCD again and
 copied it over after mounting /dev/sda3 and /dev/sda1.  I thought for
 sure that would fix it but no.  I've verified that the correctly named
 kernel file is in /mnt/gentoo/boot when /dev/sda1 is mounted.
 grub.conf is from my previous install and references the kernel file
 correctly.

 2. I used -fforce-addr in make.conf this time even though I don't know
 what it does because it was included in the default make.conf.

 Any ideas?

 - Grant
   

When the grub menu comes up, hit e twice and then try to use tab
completion to find it and the arrow keys to navigate.  That may help. 
Tab completion works like it does in a console.  Sort of neat really.

I hope that helps.

Dale

:-)  :-)
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel File not found

2007-12-22 Thread Neil Bothwick
On Sat, 22 Dec 2007 10:15:52 -0800, Grant wrote:

 Filesystem type is ext2fs, partition type 0x83
 kernel /boot /kernel-2.6.22-hardened-r8 root: /dev/sda3
 Error 15: File not found

There should be no space between /boot and /kernel.


-- 
Neil Bothwick

Pepperami. Its a bit of an animal.
What animal  what bit?


signature.asc
Description: PGP signature