1 |
Grub really does work. The problem you are having is that grub can't |
2 |
find your kernel. |
3 |
|
4 |
May I suggest: |
5 |
|
6 |
Boot the gentoo install cd: |
7 |
|
8 |
At the prompt - livecd gentoo # - execute the following commands: |
9 |
|
10 |
mount /dev/hda1 /mnt/gentoo/boot |
11 |
cd /mnt/gentoo/boot |
12 |
ls -l |
13 |
ls kernel* initramfs* |
14 |
|
15 |
The output of "mount /dev/hda1 /mnt/gentoo" will tell you about the |
16 |
filesystem on the boot partition and should contain no surprises. |
17 |
The output of "ls -l" is the boot file and directory structure that |
18 |
grub will |
19 |
see if "root (hd0,0)" is in grub.conf. |
20 |
The output of "ls kernel* initramfs*" is the kernel name and the |
21 |
initramfs |
22 |
name that need to appear in grub.conf. |
23 |
If a 'No such file or directory' error appears, the kernel and/or the |
24 |
initramfs |
25 |
is not located in /mnt/gentoo/boot and thus is not in (hd0,0)/ as far as |
26 |
grub is |
27 |
concerned. In this case look for a boot -->'something' symbolic link that |
28 |
points |
29 |
to 'something' as the kernel location. Most likely a boot directory will |
30 |
appear |
31 |
in the "ls -l" output and you should look there for kernel and initramfs. If |
32 |
mislocated, I think you should move them to /mnt/gentoo/boot and rerun |
33 |
" ls kernel* initramfs* ". |
34 |
|
35 |
I believe that the " ls kernel* initramfs* " output you see will be |
36 |
"kernel-2.6.13-gentoo-r3 initramfs-genkernel-amd64-2.6.13-gentoo-r3". |
37 |
|
38 |
In that case, I believe grub.conf should read: |
39 |
|
40 |
default 0 |
41 |
timeout 5 |
42 |
splashimage=(hd0,0)/grub/splash.xpm.gz |
43 |
title=Gentoo Linux 2.6.13 |
44 |
root (hd0,0) |
45 |
kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 |
46 |
real_root=/dev/hda3 udev |
47 |
initrd /initramfs-genkernel-amd64-2.6.13-gentoo-r3 |
48 |
|
49 |
If " ls kernel* initramfs* " produced other results, then "the other |
50 |
kernel name" must be |
51 |
substituted exactly for 'kernel-2.6.13-gentoo-r3' above and "the other |
52 |
initramfs name" for |
53 |
'initramfs-genkernel-amd64-2.6.13-gentoo-r3' above respectively. Don't lose |
54 |
the initial |
55 |
slashes in the process. |
56 |
|
57 |
If you try this and it does not help, posting the results of the |
58 |
commands and the grub.conf |
59 |
may get more help from the smarter than I multitude. |
60 |
|
61 |
-- |
62 |
gentoo-amd64@g.o mailing list |