diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-07-11 23:41:56 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-07-11 23:41:56 +0000 |
commit | 52fcd3cd6180a4b4e72d5b67808d4ace66f9c593 (patch) | |
tree | 849d87807c2a09947dbc8091a7ef4ca26977b7e5 | |
parent | c72499c92b1d312cedffdc6bbc5ad48faf2d197c (diff) | |
download | FreeBSD-src-52fcd3cd6180a4b4e72d5b67808d4ace66f9c593.zip FreeBSD-src-52fcd3cd6180a4b4e72d5b67808d4ace66f9c593.tar.gz |
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
-rw-r--r-- | usr.sbin/bsdinstall/partedit/partedit_x86.c | 2 |
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); |