> 8: A way to change kernel without rebooting. I have no diskdrive or cddrive
> in my laptop so I often do drastic things when I install a new distribution.
Well, don't do drastic things then, if that cause problems!
My machines have both diskette and cdrom - but I _don't_ use them when
changing
kernels. Why should you? Here is a procedure for painless kernel
change.
It includes a reboot but that is not a problem:
1. Get the new kernel, i.e. compile it.
2. cp the bzImage to /boot (or wherever you want it.) DON'T overwrite
the previous kernel image, you will want to keep it around.
3. If using lilo, modify /etc/lilo.conf to load the new kernel.
Do this by _adding_ image=/boot/new_kernel_bzimage, not by changing
existing lines. This keeps the old kernel around in case the new
one have trouble.
4. run lilo
5. reboot.
The new kernel should come up. (If the old comes up you either
forgot (4), or you have the lilo.conf entries in a wrong order.
Int the latter case press shift furing boot and select the
correct kernel manually. You may correct lilo.conf later.
If the new kernel loads but crash, do reboot and use the above
mentioned shift-trick to select the old kernel. Then remove
the broken kernel from lilo.conf and re-run lilo.
As you see, no need for CD's or floppies when changing kernels,
even if the new kernel fails somehow.
Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/