Gentoo Archives: gentoo-amd64

From: Pawel Kraszewski <Gentoo@××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] kernel recompile?
Date: Wed, 01 Nov 2006 19:18:03
Message-Id: 200611012014.53232.Gentoo@kraszewscy.net
In Reply to: Re: [gentoo-amd64] kernel recompile? by "Florian D."
1 Dnia środa, 1 listopada 2006 17:55, Florian D. napisał:
2
3 > ok, sorry for being off-topic, but what is the default installation
4 > target for 'make install'? /boot/vmlinuz? and is there a
5 > backup-function, say, that my last /boot/vmlinuz gets automatically
6 > moved to /boot/vmlinuz.old or something? a pointer to documentation
7 > would be welcome, dr.google knows nothing.
8
9 Addednum to Jesus' thread. Make install does this:
10
11 1. If there are files/links named 'vmlinuz', 'System.map' or 'config', they
12 are renamed with .old extension
13 2. New version of these files is installed with -<version> appendix (that's
14 what Jesus mentioned)
15 3. The new files are symlinked to short names mentioned in #1
16
17 So afterwards vmlinuz and friends are symlinks pointing to current kernel and
18 vmlinuz.old and friends are symlinks pointing to previous kernel. In GRUB I
19 have profile for 'vmlinuz' named "Current kernel" and for 'vmlinuz.old'
20 named "Previous kernel".
21
22 Pre-previous kernel is still available by full name "vmlinuz-<version>".
23
24 Ah, yes - documentation. In fact - there is one. Use "make help" in kernel
25 directory for all options make accepts. At the end, in 'make install' docs it
26 says it uses installkernel to do the thing. Then you have 'man
27 installkernel' - exactly what you need.
28
29 --
30 Pawel Kraszewski
31 www.kraszewscy.net
32
33 --
34 gentoo-amd64@g.o mailing list