Gentoo Archives: gentoo-user

From: Chris Cox <yeahsowhat@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Kernel build no update grub
Date: Thu, 17 Nov 2005 07:54:56
Message-Id: 200511170150.46082.yeahsowhat@gmail.com
In Reply to: [gentoo-user] Re: Kernel build no update grub by Harry Putnam
1 On Wednesday 16 November 2005 22:24, Harry Putnam wrote:
2 > Harry Putnam <reader@×××××××.com> writes:
3 > > Updating the kernel today, I referenced that piece of the
4 > > documentation and borrowed this command from it:
5 > >
6 > > genkernel --bootloader=grub all
7 > >
8 > > However, not only did it not update grub.conf but grub.conf
9 > > disappeared entirely following the successful build.
10 >
11 > Let me tell this story again briefly... This was quite a knuckleheaded
12 > move on my part. Its been so long since I updated my kernel, I forgot
13 > that I switched to lilo some mnths ago.... So, er I misinfomed the
14 > genkernel tool.
15 >
16 > I'm not sure that should have made any difference in what it did to
17 > grub.conf or not..
18
19 It doesn't make any difference trust me. I tried genkernel a few months ago
20 with the --bootloader=grub option and it it removed everything in my
21 grub.conf as well ; the file was 0 bytes afterwards. Lucky for me, I keep
22 backups.
23 I've never really liked Genkernel though and don't use it. Most of the time
24 when I update my kernel it is pretty quick and easy:
25
26 I turn on the symlink USEflag which makes a new symlink of my new kernel.
27 So, after I emerge any new kernel source I just cd /usr/src/linux then
28 zcat /proc/config.gz >.config which copies the config from my current kernel
29 then run make oldconfig (any new changes will prompt you); then make
30 menuconfig if I want to change anything, otherwise make all install
31 install_modules
32
33 Then just reboot. I already have grub configured to use either the vmlinuz
34 symlink in /boot which points to my latest kernel image or the fallback
35 vmlinuz.old which is my previous kernel image. The make install copies these
36 files into /boot automaticly.
37
38
39 --
40 Chris
41 Linux 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP
42 01:39:55 up 21:54, 8 users, load average: 3.21, 2.61, 2.39
43 --
44 gentoo-user@g.o mailing list