aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ziaee <ziaee@FreeBSD.org>2025-12-21 19:02:49 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2025-12-21 19:23:52 +0000
commita2f2b294050cf2b62c5e5195c43b7ea0b2d6188e (patch)
tree7af01a4234d24e443c3907b1a3081a8c0ef9ed1e
parent6c85dc012a980a1b525d026142c867aae2ecbb2a (diff)
handbook/bsdinstall: Use latest release macro
Reported by: WillT <william@hashbangapps.com> Closes: https://github.com/freebsd/freebsd-doc/pull/560
-rw-r--r--documentation/content/en/books/handbook/bsdinstall/_index.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/content/en/books/handbook/bsdinstall/_index.adoc b/documentation/content/en/books/handbook/bsdinstall/_index.adoc
index 2712331049..7286e61806 100644
--- a/documentation/content/en/books/handbook/bsdinstall/_index.adoc
+++ b/documentation/content/en/books/handbook/bsdinstall/_index.adoc
@@ -182,7 +182,7 @@ Installation file types:
After downloading the image file, download at least one _checksum_ file from the same directory.
There are two _checksum_ files available, named after the release number and the architecture name.
-For example: `CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64` and `CHECKSUM.SHA512-FreeBSD-13.1-RELEASE-amd64`.
+For example: `CHECKSUM.SHA256-FreeBSD-{rel-latest}-RELEASE-amd64` and `CHECKSUM.SHA512-FreeBSD-{rel-latest}-RELEASE-amd64`.
After downloading one of the files (or both), calculate the _checksum_ for the image file and compare it with the one shown in the _checksum_ file.
Note that comparing the calculated _checksum_ against the correct file is needed, as they correspond to two different algorithms: SHA256 and SHA512.
@@ -193,8 +193,8 @@ Verifying the _checksum_ in FreeBSD can be done automatically using man:sha256su
[source,shell]
....
-% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 --ignore-missing
-FreeBSD-13.1-RELEASE-amd64-dvd1.iso: OK
+% sha256sum -c CHECKSUM.SHA256-FreeBSD-{rel-latest}-RELEASE-amd64 --ignore-missing
+FreeBSD-{rel-latest}-RELEASE-amd64-dvd1.iso: OK
....
The checksums must match exactly.
@@ -229,7 +229,7 @@ Be *very careful* that the correct device is used as this command will destroy t
+
[source,shell]
....
-# dd if=FreeBSD-13.1-RELEASE-amd64-memstick.img of=/dev/da0 bs=1M conv=sync
+# dd if=FreeBSD-{rel-latest}-RELEASE-amd64-memstick.img of=/dev/da0 bs=1M conv=sync
....
+
If this command fails, verify that the USB stick is not mounted and that the device name is for the disk, not a partition.