From owner-svn-doc-head@freebsd.org Mon Nov 23 18:57:58 2020 Return-Path: Delivered-To: svn-doc-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7D8C469C7B; Mon, 23 Nov 2020 18:57:58 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CfxHV4FLbz4fyL; Mon, 23 Nov 2020 18:57:58 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8449F118F1; Mon, 23 Nov 2020 18:57:58 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0ANIvwG0062819; Mon, 23 Nov 2020 18:57:58 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0ANIvwBd062818; Mon, 23 Nov 2020 18:57:58 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202011231857.0ANIvwBd062818@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Mon, 23 Nov 2020 18:57:58 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r54707 - head/en_US.ISO8859-1/books/handbook/boot X-SVN-Group: doc-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/handbook/boot X-SVN-Commit-Revision: 54707 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2020 18:57:58 -0000 Author: fernape (ports committer) Date: Mon Nov 23 18:57:58 2020 New Revision: 54707 URL: https://svnweb.freebsd.org/changeset/doc/54707 Log: handbook/boot: fix unload + load example The unload + load example in the 12.2.3 section doesn't seem to work. The original problem was reported in https://reviews.freebsd.org/D24960. Correct the example by using fully qualified paths since this is how it works now. Tested in 12.1, 12.2 and 13-current. Approved by: docs (gbe@) Differential Revision: https://reviews.freebsd.org/27277 Modified: head/en_US.ISO8859-1/books/handbook/boot/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/boot/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/boot/chapter.xml Mon Nov 23 18:43:24 2020 (r54706) +++ head/en_US.ISO8859-1/books/handbook/boot/chapter.xml Mon Nov 23 18:57:58 2020 (r54707) @@ -449,19 +449,21 @@ boot: previous or another, specified kernel: unload -load kernel.old +load /path/to/kernelfile - Use kernel.GENERIC to refer to the - default kernel that comes with an installation, or - kernel.old, to refer to the previously - installed kernel before a system upgrade or before configuring - a custom kernel. + Use the qualified + /boot/GENERIC/kernel to refer to + the default kernel that comes with an installation, or + /boot/kernel.old/kernel, to refer to the + previously installed kernel before a system upgrade or before + configuring a custom kernel. Use the following to load the usual modules with another - kernel: + kernel. Note that in this case it is not necessary the + qualified name: unload -set kernel="kernel.old" +set kernel="mykernel" boot-conf To load an automated kernel configuration script: