Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2024 13:11:48 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Gareth de Vaux <stable@lordcow.org>
Cc:        freebsd-stable@freebsd.org, Zhenlei Huang <zlei@freebsd.org>
Subject:   Re: nextboot warns it won't reset
Message-ID:  <390734156.4694.1721387508471@localhost>
In-Reply-To: <ZppBZzE1S6opfNAo@lordcow.org>
References:  <Zpl_ApIOpRkUNpnq@lordcow.org> <01D917DB-7E47-46D7-AD22-AD09C4F89A96@FreeBSD.org> <ZppBZzE1S6opfNAo@lordcow.org>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_4693_1893752057.1721387508400
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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.
>  
> 
> 
> 

 
------=_Part_4693_1893752057.1721387508400
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>I think you don't need nextboot for what you want to do as long as you have console access to the machine.<br>
<br>
If you have console access you can interrupt the boot loader and choose another kernel to boot.<br>
<br>
It is possible to install multiple kernels next to each.<br>
<br>
Default kernel: /boot/kernel/kernel<br>
make installkernel will move the current kernel to /boot/kernel.old/kernel before installing the new one.<br>
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.<br>
<br>
So just copy your new testkernel to something like /boot/testkernel/kernel together with all the other modules in that directory.<br>
And select that kernel on boot.<br>
<br>
It is documented here: <a href="https://docs.freebsd.org/en/books/handbook/boot/#boot-loader">https://docs.freebsd.org/en/books/handbook/boot/#boot-loader</a><br>;
<br>
Hope this helps.<br>
<br>
Regards,<br>
Ronald.<br>
<br>
&nbsp;
<p><strong>Van:</strong> Gareth de Vaux &lt;stable@lordcow.org&gt;<br>
<strong>Datum:</strong> vrijdag, 19 juli 2024 12:35<br>
<strong>Aan:</strong> freebsd-stable@freebsd.org<br>
<strong>CC:</strong> Zhenlei Huang &lt;zlei@freebsd.org&gt;<br>
<strong>Onderwerp:</strong> Re: nextboot warns it won't reset</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P">On Fri 2024-07-19 (09:10), Zhenlei Huang wrote:<br>
&gt; &gt; This's on a ZFS zroot 12.4-STABLE system.<br>
&gt;<br>
&gt; You're encouraged to upgrade to supported releases ;)<br>
<br>
Sure, I'm busy upgrading to 13 and in need of a testkernel which was giving errors.<br>
<br>
<br>
&gt; That is implementation specific. Normally you can ignore the warning, unless you have trouble booting<br>
&gt; the kernel.<br>
<br>
Trouble booting is presumably the main use case of nextboot, so nextboot is not adding any<br>
functionality in this situation, only complicating things, so I should 'nextboot -D' and<br>
take my chances manually.<br>
<br>
Many thanks.<br>
&nbsp;</div>

<hr></div>
</blockquote>
<br>
&nbsp;</body></html>
------=_Part_4693_1893752057.1721387508400--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?390734156.4694.1721387508471>