1 |
Updating the kernel today, I referenced that piece of the |
2 |
documentation and borrowed this command from it: |
3 |
|
4 |
genkernel --bootloader=grub all |
5 |
|
6 |
However, not only did it not update grub.conf but grub.conf |
7 |
disappeared entirely following the successful build. |
8 |
|
9 |
I did find this in /var/log/genkernel.log: |
10 |
|
11 |
[...] |
12 |
emerge.log rsnapshot_Home.log.6.gz sandbox |
13 |
fdisk.log rsnapshot_Home.log.7.gz scrollkeeper.log |
14 |
fdisk.log.1.gz rsnapshot_Home.log.8.gz squid |
15 |
fdisk.log.2.gz rsnapshot_Home.log.9.gz syslog |
16 |
fdisk.log.3.gz rsnapshot_Home.log_083105 syslog.0 |
17 |
fdisk.log.4.gz rsnapshot_Mail.log syslog.1.bz2 |
18 |
* initramfs-modules-2.6.14-gentoo-r2.cpio.gz |
19 |
* |
20 |
* Adding kernel to /boot/grub/grub.conf... |
21 |
* |
22 |
* Kernel compiled successfully! |
23 |
* |
24 |
* Required Kernel Parameters: |
25 |
* real_root=/dev/$ROOT |
26 |
* |
27 |
* Where $ROOT is the device node for your root partition as the |
28 |
* one specified in /etc/fstab |
29 |
* |
30 |
* If you require Genkernel's hardware detection features; you MUST |
31 |
* tell your bootloader to use the provided INITRAMFS file. Otherwise; |
32 |
* substitute the root argument for the real_root argument if you are |
33 |
* not planning to use the initrd... |
34 |
* WARNING... WARNING... WARNING... |
35 |
* Additional kernel cmdline arguments that *may* be required to boot properly... |
36 |
* add "vga=791 splash=silent" if you use a bootsplash framebuffer |
37 |
* Do NOT report kernel bugs as genkernel bugs unless your bug |
38 |
* is about the default genkernel configuration... |
39 |
* |
40 |
* Make sure you have the latest genkernel before reporting bugs. |
41 |
|
42 |
|
43 |
Note the line that says: |
44 |
* Adding kernel to /boot/grub/grub.conf... |
45 |
|
46 |
So whats going on here? |
47 |
|
48 |
Further I'm confused by the rest of it too. |
49 |
|
50 |
It says if I want hardware detection I MUST tell my bootloader to use |
51 |
the intitramfs blah blah , but no clue at all as to how one might do |
52 |
this. |
53 |
|
54 |
I'm pretty sure I need some new kind of grub.conf but what should it |
55 |
look like.. |
56 |
|
57 |
I've just appended what I think might be adequate to the original |
58 |
lines.... yeah I saved a backup.. |
59 |
|
60 |
================================ |
61 |
default 1 |
62 |
timeout 05 |
63 |
splashimage=(hd0,0)/grub/splash.xpm.gz |
64 |
|
65 |
Title=gentoo |
66 |
root (hd0,0) |
67 |
kernel (hd0,0)/kernel-2.6.12-gentoo-r9 root=/dev/ram0 |
68 |
linux-2.6.12-gentoo-r9 |
69 |
init=/linux ramdisk=8192 real_root=/dev/hda5 |
70 |
video=vesafb:mtrr,ywrap,1152x864-24@70 |
71 |
|
72 |
initrd (hd0,0)/initramfs-2.6.12-gentoo-r9 |
73 |
|
74 |
Title=gentoo-2.6.14-r2 |
75 |
root (hd0,0) |
76 |
kernel (hd0,0)/kernel-2.6.14-gentoo-r2 root=/dev/ram0 |
77 |
linux-2.6.12-gentoo-r9 |
78 |
init=/linux ramdisk=8192 real_root=/dev/hda5 |
79 |
video=vesafb:mtrr,ywrap,1152x864-24@70 |
80 |
|
81 |
initramfs (hd0,0)/initramfs-2.6.14-gentoo-r2 |
82 |
|
83 |
|
84 |
So am I in the ball park? |
85 |
|
86 |
-- |
87 |
gentoo-user@g.o mailing list |