1 |
BRM wrote: |
2 |
> ----- Original Message ---- |
3 |
> |
4 |
> From: Mick <michaelkintzios@×××××.com> |
5 |
> |
6 |
>> 2009/12/2 BRM <bm_witness@×××××.com>: |
7 |
>> |
8 |
>>> I'm still working to get my laptop back up; I have one more thing to try. |
9 |
>>> Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel that actually works. It might be a processor issue - linux reports it as a |
10 |
>>> Pentium M which is what I have selected during 'make menuconfig', but the the grub keeps reporting that it is not a recognized format or something to that effect, so it won't load it. |
11 |
>>> Questions: |
12 |
>>> 1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my installation to build the kernel. I shouldn't need a newer LiveCD, correct? |
13 |
>>> |
14 |
>> Correct as long as it recognise your hardware. |
15 |
>> |
16 |
> |
17 |
> Thanks. |
18 |
> |
19 |
> |
20 |
>>> 2) Grub doesn't need to be re-run (e.g. running the grub prompt and going through the install procedure) after changes to the menu file, correct? |
21 |
>>> |
22 |
>> Correct, assuming you have installed GRUB correctly in the first instance |
23 |
>> |
24 |
> |
25 |
> Thanks |
26 |
> |
27 |
> |
28 |
>> - which makes me ask: |
29 |
>> What is your exact error message? |
30 |
>> |
31 |
> |
32 |
> I'll post that tonight. |
33 |
> |
34 |
> ----- Original Message ---- |
35 |
> From: Marcus Wanner <marcusw@×××.net> |
36 |
> |
37 |
>> I got that error when I copied the wrong kernel image to /boot, make |
38 |
>> sure you are copying the one detailed in the gentoo handbook (chapter 7, I think). |
39 |
>> |
40 |
> |
41 |
> The last kernel I copied in I copied the file specified by the kernel's README: arch/<arch>/boot/bzImage - <arch> being x86. |
42 |
> |
43 |
> Though according to http://www.gentoo.org/doc/en/kernel-config.xml it should be arch/i386/boot/bzImage...not sure which is right off hand. |
44 |
> Will check into it tonight. |
45 |
> |
46 |
> Ben |
47 |
> |
48 |
|
49 |
This may not be the problem but I ran into this a while back. Some |
50 |
times when I build a kernel, the bzImage in */i386/boot is actually a |
51 |
link, not the bzImage itself. Naturally copying a link will not boot, |
52 |
especially if it breaks the link or /usr is on a separate partition and |
53 |
not mounted yet. |
54 |
|
55 |
I ran into this twice with two different kernels. I can't recall the |
56 |
version tho. You may want to check that before you copy the bzImage |
57 |
over, just to make sure it is a file and not a link. |
58 |
|
59 |
Oh, don't forget to mount /boot too. Very common thing to forget. |
60 |
|
61 |
Dale |
62 |
|
63 |
:-) :-) |