diff options
-rw-r--r-- | hscript/disk.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc index 30884d6..2718e49 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -539,6 +539,9 @@ bool Partition::execute() const { } start = before->geom.end + 1; } + /* Ensure the first MiB is free for various firmware and boot software + * that use it. */ + if(start < 2048) start = 2048; switch(this->size_type()) { case SizeType::Bytes: |