aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-07-11 23:41:56 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2014-07-11 23:41:56 +0000
commit963ae465d5039f71a7a494d7ca0f789bd7a16971 (patch)
tree849d87807c2a09947dbc8091a7ef4ca26977b7e5
parent6bfc8b0112be01aa1060b113f00d49baf1db84e2 (diff)
downloadsrc-963ae465d5039f71a7a494d7ca0f789bd7a16971.tar.gz
src-963ae465d5039f71a7a494d7ca0f789bd7a16971.zip
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. Reported by: Matthew Fuller MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=268540
-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 156674bda0d4..b458475fe6c6 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);