1 |
On 5/13/06, maxim wexler <blissfix@×××××.com> wrote: |
2 |
> Hi group, |
3 |
> |
4 |
> My hand-made kernel was giving me grief(see bug |
5 |
> #132141) so I did |
6 |
> #emerge genkernel, #zcat /proc/config.gz > |
7 |
> /usr/share/genkernel/x86/kernel-config-2.6, #genkernel |
8 |
> all, and rebooted. |
9 |
> |
10 |
> Here's the grub session(not using grub-conf): |
11 |
> |
12 |
> grub> root |
13 |
> (hd0,1): ext2fs, partition type 0x83 |
14 |
> |
15 |
> grub> kernel /kernel-genkernel-x86-2.6.16-gentoo-r3 |
16 |
> [Linux-bzImage, setup=0x1c00, size=0x101fb0] |
17 |
> |
18 |
> grub> boot |
19 |
> ... |
20 |
> VFS: Cannot open root device "<NULL>" or unknown block |
21 |
> (8,7) |
22 |
> Please append a correct "root=" boot option |
23 |
> Kernel panic-not syncing...unknown block (8,7) |
24 |
> |
25 |
> It doesn't matter if I specify the root partition in |
26 |
> the 'kernel' line or not. The original kernel *will* |
27 |
> boot using the same grub commands, just won't load any |
28 |
> modules, among other things. |
29 |
> |
30 |
|
31 |
Have you read the info after you use "genkernel all"? You need a lot |
32 |
more options when using this kind of kernel, take a look at: |
33 |
|
34 |
http://www.gentoo.org/doc/en/genkernel.xml |
35 |
|
36 |
Specially the "Bootloader Configuration" section. Genkernel generated |
37 |
kernels are NOT like hand-made, they need special options in order to |
38 |
use initrd and ramdisk to load stuff, among other options, like root |
39 |
and real root, etc. |
40 |
|
41 |
-- |
42 |
Daniel da Veiga |
43 |
Computer Operator - RS - Brazil |
44 |
-----BEGIN GEEK CODE BLOCK----- |
45 |
Version: 3.1 |
46 |
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- |
47 |
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ |
48 |
------END GEEK CODE BLOCK------ |
49 |
|
50 |
-- |
51 |
gentoo-user@g.o mailing list |