summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2015-07-15 02:23:55 +0000
committerallanjude <allanjude@FreeBSD.org>2015-07-15 02:23:55 +0000
commit44bd0010827a4824a52b77956e45d2c470574bf5 (patch)
treedcc97e351a3f3f145b33f3281395bb4427230f60 /sbin
parentca799427e154d9e2b4bfce1589e225dd762151aa (diff)
downloadFreeBSD-src-44bd0010827a4824a52b77956e45d2c470574bf5.zip
FreeBSD-src-44bd0010827a4824a52b77956e45d2c470574bf5.tar.gz
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
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 8e8f858..354d844 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:
OpenPOWER on IntegriCloud