summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcperciva <cperciva@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-31 03:36:31 +0000
committercperciva <cperciva@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-31 03:36:31 +0000
commitc2da431d9e470e92d3cb5a2021e0955422802827 (patch)
tree1d8d4be910c0df83f9c7e531d237bce5032c928b
parent638f827008c773d1cc0fa3591612e215e2940e50 (diff)
downloadfreebsd-c2da431d9e470e92d3cb5a2021e0955422802827.tar.gz
freebsd-c2da431d9e470e92d3cb5a2021e0955422802827.tar.bz2
Attempt to defuse a land mine before anyone else steps on it: The
freebsd-boot partition is not always the first one. Following the instructions in UPDATING resulted in my overwriting the efiboot0 partition on my laptop with ZFS boot blocks, which had negative effects on the system's bootability. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D27002 git-svn-id: http://svn.freebsd.org/base/head@367195 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
-rw-r--r--UPDATING8
1 files changed, 5 insertions, 3 deletions
diff --git a/UPDATING b/UPDATING
index caf2887d23b..e53bcca9dd0 100644
--- a/UPDATING
+++ b/UPDATING
@@ -2203,9 +2203,11 @@ COMMON ITEMS:
2.) update the ZFS boot block on your boot drive
- The following example updates the ZFS boot block on the first
- partition (freebsd-boot) of a GPT partitioned drive ada0:
- "gpart bootcode -p /boot/gptzfsboot -i 1 ada0"
+ The following example updates the ZFS boot block on the
+ freebsd-boot partition of a GPT partitioned drive ada0:
+ "gpart bootcode -p /boot/gptzfsboot -i $N ada0"
+ The value $N will typically be 1 (if booting from BIOS) or 2 (if
+ booting from EFI).
Non-boot pools do not need these updates.