On Tuesday, 22 October 2019 00:44:00 BST Neil Bothwick wrote:
> On Tue, 22 Oct 2019 00:42:25 +0100, Neil Bothwick wrote:
> > make install will create symlinks for vmlinuz and vmlinuz.old to the
> > latest and previous kernel, doing much of what you need. You need /boot
> > to be on a filesystem that supports symlinks and ISTR that it only
> > updates the symlinks if already present but doesn't create them from
> > scratch.
> 
> I think you need sys-apps/debianutils installed too.

Last time I used this symlink-ing approach to vmlinuz I came across a problem, 
which I didn't have time to resolve and went back to my manual approach of 
copying kernels into /boot:

I eagerly compile a new kernel.  It is installed/copied into vmlinuz and its 
predecessor which worked fine is copied into vmlimuz.old.  I try to boot it 
and discover I didn't configure it as carefully as I should have done - it 
won't boot.  I boot into vmlinuz.old and reconfigure the kernel, which is now 
installed into vmlinuz and the recently configured and non-booting kernel is 
copied into vmlinuz.old.  Disaster strikes as the newly reconfigured kernel 
won't boot either!  I now have two recently configured and non-booting kernels 
vmlinuz and vmlinuz.old and no other working kernel to boot with.

With manual copying/naming of kernels I can overwrite any non-booting kernels 
with the latest compiled example, without moving links around.  What is the 
recommended solution to the above problem? 
-- 
Regards,

Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to