21.7. Booting a New Linux Kernel or BSD with GRUB

If you have just compiled a new kernel and want to be able to use it, you will need to add a new GRUB boot option.

A similar process should be followed if you have both Linux and FreeBSD, NetBSD, or OpenBSD installed on your system and want to be able to choose one of them at boot time. To set this up, follow these steps:

1.
To boot a Linux kernel after compiling, copy its compressed kernel image file (usually found under the source directory at arch/i386/bzImage) to the /boot directory. It should normally be renamed to vmlinuz-xx.yy.zz, where xx.yy.zz is the kernel version number.
2.
On the main page of the GRUB Boot Loader module, click on the Add a new boot option link to go to the option creation ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.