On 8/12/2009 4:19 PM, Stroller wrote:
On 12 Aug 2009, at 15:20, Dale wrote:
...
maske install does that for you, it also sets up the vmlinuz and
vmlinuz.old symlinks so you don't need to mess with your GRUB config.
But it doesn't do it the way that I do. I have used it a few times but
it didn't work like I do manually.
+1
I don't know why anyone would choose to compile & install the kernel any
way other than manually. It's only a handful of commands, after all.
$ make && make modules_install
$ cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.28-hardened-r1-wombat-4
$ cp .config /boot/config-2.6.28-hardened-r1-wombat-4
$ cp System.map /boot/System.map-2.6.28-hardened-r1-wombat-4
$ cd /boot
$ mv vmlinuz vmlinuz.old
$ mv System.map System.map.old
$ mv config config.old
$ ln -sf vmlinuz-2.6.28-hardened-r1-wombat-4 vmlinuz
$ ln -sf config-2.6.28-hardened-r1-wombat-4 config
$ ln -sf System.map-2.6.28-hardened-r1-wombat-4 System.map
vs.
$ make && make modules_install && make install
I can't see any reason *not* to use make install, especially when its
just doing exactly the same thing you are doing manually with about 100
times as much typing.
--K