freebsd-skq/usr.sbin/bsdinstall
Allan Jude 7059fa6ff8 Add support for two workarounds for known issues booting GPT in legacy mode on some hardware
For Lenovo laptops with buggy bios (x220, t420, t520):
	Write the 0xee entry into the second slot in the pmbr instead of the first

For some Dell and HP models:
	The BIOS gives a warning message when booting in legacy mode from a GPT partitioned disk where the 0xee partition in the pmbr is not flagged active
	For models known to have this problem, mark the pmbr active during installation

Use smbios data to identify machines known to be affected by any of the above, and offer the user the option to apply the workaround

In bsdinstall's ufs auto mode (autopart partition wizard):
	Allow users to select which type of partition table to use
	Keep current defaults: MBR for BIOS, GPT for UEFI
	This allows users to choose GPT for legacy boot if they wish

PR:		184910
PR:		194359
Reviewed by:	Michael Dexter
Approved by:	marcel
MFC after:	3 days
X-MFC-With:	r285594
Relnotes:	yes
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D3091
2015-07-18 18:49:44 +00:00
..
distextract Add META_MODE support. 2015-06-13 19:20:56 +00:00
distfetch Add META_MODE support. 2015-06-13 19:20:56 +00:00
partedit Add support for two workarounds for known issues booting GPT in legacy mode on some hardware 2015-07-18 18:49:44 +00:00
scripts Add support for two workarounds for known issues booting GPT in legacy mode on some hardware 2015-07-18 18:49:44 +00:00
bsdinstall Forgot to utilize feature added in SVN r257782 to prevent truncating 2013-12-09 03:38:18 +00:00
bsdinstall.8 mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
Makefile
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00