aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2015-07-15 02:23:55 +0000
committerAllan Jude <allanjude@FreeBSD.org>2015-07-15 02:23:55 +0000
commitce808c7ad89c663b021a86e84fc8e4f82a5a0d0f (patch)
treedcc97e351a3f3f145b33f3281395bb4427230f60 /sbin
parent2ec930efea151ba39e298a3a15b45e48c816a940 (diff)
downloadsrc-ce808c7ad89c663b021a86e84fc8e4f82a5a0d0f.tar.gz
src-ce808c7ad89c663b021a86e84fc8e4f82a5a0d0f.zip
Add a new option to gpart(8) to fix Lenovo BIOS boot issue
PR: 184910 Reviewed by: ae, wblock Approved by: marcel MFC after: 3 days Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3065
Notes
Notes: svn path=/head/; revision=285594
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/class/part/gpart.88
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/geom/class/part/gpart.8 b/sbin/geom/class/part/gpart.8
index 8e8f858432b8..354d844349b7 100644
--- a/sbin/geom/class/part/gpart.8
+++ b/sbin/geom/class/part/gpart.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 5, 2015
+.Dd July 14, 2015
.Dt GPART 8
.Os
.Sh NAME
@@ -933,6 +933,12 @@ start-up script.
See
.Xr gptboot 8
for more details.
+.It Cm lenovofix
+Setting this attribute overwrites the Protective MBR with a new one where
+the 0xee partition is the second, rather than the first record.
+This resolves a BIOS compatibility issue with some Lenovo models including the
+X220, T420, and T520, allowing them to boot from GPT partitioned disks
+without using EFI.
.El
.Pp
The scheme-specific attributes for MBR: