summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/biosboot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-06-27 16:10:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-06-27 16:10:10 +0000
commitf64a7ea04741e60575c0f25e7c1d14fecb4565c5 (patch)
treee9cd6cc8e5ad3baa6f98cd1f6a9a27ea14e9b400 /sys/arch/amd64/stand/biosboot
parentddf3268deb354a6946588266a2cc2d92668ffae5 (diff)
Delete the ancient "hold Shift key to force CHS" code. Noone has needed
this in decades. ok sthen krw
Diffstat (limited to 'sys/arch/amd64/stand/biosboot')
-rw-r--r--sys/arch/amd64/stand/biosboot/biosboot.844
1 files changed, 2 insertions, 42 deletions
diff --git a/sys/arch/amd64/stand/biosboot/biosboot.8 b/sys/arch/amd64/stand/biosboot/biosboot.8
index 165cdedf778..9cb6390c6aa 100644
--- a/sys/arch/amd64/stand/biosboot/biosboot.8
+++ b/sys/arch/amd64/stand/biosboot/biosboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: biosboot.8,v 1.13 2022/03/31 17:27:24 naddy Exp $
+.\" $OpenBSD: biosboot.8,v 1.14 2022/06/27 16:10:07 deraadt Exp $
.\"
.\" Copyright (c) 2003 Tom Cosgrove <tom.cosgrove@arches-consulting.com>
.\" Copyright (c) 1997 Michael Shalayeff
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: June 27 2022 $
.Dt BIOSBOOT 8 amd64
.Os
.Sh NAME
@@ -93,31 +93,6 @@ If possible,
will read disk sectors using calls detailed in the Phoenix
Enhanced Disk Drive Specification (EDD, sometimes known as LBA, reads).
It will fall back to CHS reads only if EDD calls are not available.
-However, to allow users to boot on hardware that claims LBA capability,
-but which requires CHS reads in order to boot,
-the user may hold down either Shift key during boot.
-If
-.Nm
-detects this, it will force itself to use CHS calls, ignoring
-any LBA capability.
-This will of course prevent booting if /boot lies above the 8 GB
-CHS limit.
-There is an exported symbol
-.Dq force_chs
-of type u_int8_t
-which may be set to 1 to force CHS reads always.
-(However, no tool is currently provided to set this flag.)
-.Sh DIAGNOSTICS
-.Nm
-prints a
-.Sq !\&
-before the
-.Dq Loading
-message if it is being forced to use CHS rather than LBA reads
-(by the user holding down either Shift key during boot,
-or having set the
-.Dq force_chs
-flag in the boot sector).
.Pp
.Nm
prints a
@@ -196,21 +171,6 @@ attempted to read a disk sector.
This might be any media error, including bad sectors (common on floppy disks),
and invalid sectors (can occur with bad geometry translations).
.Pp
-If this error occurs during an LBA boot (no
-.Sq ;\&
-after
-.Dq Loading ) ,
-then a CHS boot may succeed.
-To do this, you should reboot, then hold down either Shift key
-before
-.Nm
-starts.
-You should see a
-.Sq !\&
-before
-.Dq Loading
-as confirmation that your
-override was accepted.
.It Er ERR X
Can't boot.
Issued when trying to read sectors in CHS mode,