1 |
On Wed, 2005-11-16 at 16:25 -0600, Harry Putnam wrote: |
2 |
> Updating the kernel today, I referenced that piece of the |
3 |
> documentation and borrowed this command from it: |
4 |
> |
5 |
> genkernel --bootloader=grub all |
6 |
|
7 |
I've never trusted it... |
8 |
|
9 |
> However, not only did it not update grub.conf but grub.conf |
10 |
> disappeared entirely following the successful build. |
11 |
|
12 |
for reasons like this! |
13 |
|
14 |
> Note the line that says: |
15 |
> * Adding kernel to /boot/grub/grub.conf... |
16 |
|
17 |
for me, it just copied my windows grub entry, and duplicated that |
18 |
exactly, instead of doing anything to any linux entries... |
19 |
|
20 |
> Further I'm confused by the rest of it too. |
21 |
> |
22 |
> It says if I want hardware detection I MUST tell my bootloader to use |
23 |
> the intitramfs blah blah , but no clue at all as to how one might do |
24 |
> this. |
25 |
|
26 |
You don't need the hardware detection, it doesn't mean that you won't be |
27 |
able to use, say, usb; it just means that gentoo will attempt to probe |
28 |
and load lots of modules for you. This is useful for an install disk |
29 |
which runs on multiple machine types, but for me, I don't use it. I |
30 |
only have to add two modules to /etc/modules.autoload.d/kernel-2.6. |
31 |
|
32 |
But you can of course do it that way. It looks kind of cool. All you |
33 |
need is |
34 |
|
35 |
title |
36 |
root ... |
37 |
kernel ... |
38 |
initrd ... |
39 |
|
40 |
(You don't even need all of that, but this is the genkernel way.) |
41 |
|
42 |
>From what you've posted, I think your grub.conf should look something |
43 |
like this (I don't split the lines, so this should be 4 lines only |
44 |
including the title): |
45 |
|
46 |
title Gentoo 2.6.15_rc1 |
47 |
root (hd0,0) |
48 |
kernel /kernel-2.6.14-gentoo-r2 root=/dev/ram0 real_root=/dev/hda5 video=vesafb:mtrr,ywrap,1152x864-24@70 CONSOLE=/dev/tty1 |
49 |
initrd /initramfs-2.6.12-gentoo-r9 |
50 |
|
51 |
Make sure your display can actually handle 1152x864-24@70 |
52 |
|
53 |
|
54 |
> ================================ |
55 |
> default 1 |
56 |
> timeout 05 |
57 |
> splashimage=(hd0,0)/grub/splash.xpm.gz |
58 |
> |
59 |
> Title=gentoo |
60 |
> root (hd0,0) |
61 |
> kernel (hd0,0)/kernel-2.6.12-gentoo-r9 root=/dev/ram0 |
62 |
|
63 |
^ You don't need the (hd0,0) here if you specify root |
64 |
(hd0,0) |
65 |
|
66 |
> linux-2.6.12-gentoo-r9 |
67 |
|
68 |
think this line shouldn't be there... |
69 |
|
70 |
> init=/linux ramdisk=8192 real_root=/dev/hda5 |
71 |
|
72 |
try leaving out the init= and ramdisk= for now |
73 |
|
74 |
> video=vesafb:mtrr,ywrap,1152x864-24@70 |
75 |
> |
76 |
|
77 |
You seem to have a newline here. Remove it! |
78 |
|
79 |
> initrd (hd0,0)/initramfs-2.6.12-gentoo-r9 |
80 |
|
81 |
^ don't need (hd0,0) here either |
82 |
|
83 |
> So am I in the ball park? |
84 |
|
85 |
looks good, did you actually try it? what happened? |
86 |
|
87 |
HTH, and post back with results!! |
88 |
-- |
89 |
Iain Buchanan <iaindb@××××××××××××.au> |
90 |
|
91 |
-- |
92 |
gentoo-user@g.o mailing list |