Use MBR by default on BIOS systems. An increasing number of motherboards

assume that GPT means UEFI boot, resulting in the installation of
uninstallable systems. This needs a little more work before MFC, in
particular based on disk size (> 2 TB + BIOS + MBR is not workable). That
will come soon.
This commit is contained in:
Nathan Whitehorn 2015-01-30 21:22:18 +00:00
parent 26066a530f
commit 04e98a3724
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277950

View File

@ -51,7 +51,10 @@ x86_bootmethod(void)
const char *
default_scheme(void)
{
return ("GPT");
if (strcmp(x86_bootmethod(), "UEFI") == 0)
return ("GPT");
else
return ("MBR");
}
int