Re: nextboot warns it won't reset

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Fri, 19 Jul 2024 11:11:48 UTC
I think you don't need nextboot for what you want to do as long as you have console access to the machine.

If you have console access you can interrupt the boot loader and choose another kernel to boot.

It is possible to install multiple kernels next to each.

Default kernel: /boot/kernel/kernel
make installkernel will move the current kernel to /boot/kernel.old/kernel before installing the new one.
You can add kernels yourself. I see my raspberry pi still has /boot/kernel.14.0/kernel although I don't use that anymore it was probably used for testing a while ago.

So just copy your new testkernel to something like /boot/testkernel/kernel together with all the other modules in that directory.
And select that kernel on boot.

It is documented here: https://docs.freebsd.org/en/books/handbook/boot/#boot-loader

Hope this helps.

Regards,
Ronald.

 
Van: Gareth de Vaux <stable@lordcow.org>
Datum: vrijdag, 19 juli 2024 12:35
Aan: freebsd-stable@freebsd.org
CC: Zhenlei Huang <zlei@freebsd.org>
Onderwerp: Re: nextboot warns it won't reset
> 
> On Fri 2024-07-19 (09:10), Zhenlei Huang wrote:
> > > This's on a ZFS zroot 12.4-STABLE system.
> >
> > You're encouraged to upgrade to supported releases ;)
> 
> Sure, I'm busy upgrading to 13 and in need of a testkernel which was giving errors.
> 
> 
> > That is implementation specific. Normally you can ignore the warning, unless you have trouble booting
> > the kernel.
> 
> Trouble booting is presumably the main use case of nextboot, so nextboot is not adding any
> functionality in this situation, only complicating things, so I should 'nextboot -D' and
> take my chances manually.
> 
> Many thanks.
>  
> 
> 
>