freebsd-dev/usr.sbin/bsdinstall
Allan Jude a94af9543d Never 4k align the MBR bootpool because zfsldr can not deal with a gap
If the bootpool does not start at the first sector of the BSD partition
then zfsldr seeks to the wrong offset inside the ZFS vdev label, and is
unable to find zfsboot, so the system does not boot

If 4k alignment is requested, align the BSD partition in the MBR table,
and align the swap and data pool, but the bootpool must start at sector 1

While here, if 4k alignment is requested, disable MBR CHS alignment, as
this results in not-4k aligned partitions.

Reported by:	Alex Wilkinson
MFC after:	5 days
Sponsored by:	ScaleEngine Inc.
2016-01-16 19:25:16 +00:00
..
distextract Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
distfetch Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
partedit Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
scripts Never 4k align the MBR bootpool because zfsldr can not deal with a gap 2016-01-16 19:25:16 +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 Add more SUBDIR_PARALLEL. 2015-09-26 14:13:51 +00:00
Makefile.depend META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00