summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-09-15 17:56:55 +0000
committeremaste <emaste@FreeBSD.org>2014-09-15 17:56:55 +0000
commitb2352fc201062171bed61db817a70c9d67591e20 (patch)
tree03f48612350cb8498ca350108f54faa180dae768 /usr.sbin/bsdinstall
parent37dd226a2e5a8eb6fbf87a2ae6343413e4596b7e (diff)
downloadFreeBSD-src-b2352fc201062171bed61db817a70c9d67591e20.zip
FreeBSD-src-b2352fc201062171bed61db817a70c9d67591e20.tar.gz
MFC r268540 by nwhitehorn:
Allow up to 512K for boot code on GPT with BIOS. As pmbr.s says in a comment, "545K should be enough for any boot code". This rounds down slightly. Approved by: re
Diffstat (limited to 'usr.sbin/bsdinstall')
-rw-r--r--usr.sbin/bsdinstall/partedit/partedit_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/partedit/partedit_x86.c b/usr.sbin/bsdinstall/partedit/partedit_x86.c
index 156674b..b458475 100644
--- a/usr.sbin/bsdinstall/partedit/partedit_x86.c
+++ b/usr.sbin/bsdinstall/partedit/partedit_x86.c
@@ -69,7 +69,7 @@ bootpart_size(const char *scheme) {
return (0);
if (strcmp(platform, "BIOS") == 0)
- return (64*1024);
+ return (512*1024);
else
return (800*1024);
OpenPOWER on IntegriCloud