git: boot - Add EFI support for placing /boot in a disklabel's 'a' partition.
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Oct 28 18:51:55 PDT 2016
commit f1591f08811f69cff80209cdee0b498dc92356ab
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Oct 28 18:45:45 2016 -0700
boot - Add EFI support for placing /boot in a disklabel's 'a' partition.
* Add support to allow /boot to reside in the 'a' partition of a DragonFly
disklabel64. This allow /boot to be in either its own gpt partition or
in the 'a' partition of a disklabel64 inside a gpt partition.
* Nominally allows the following gpt setup where all of DragonFly except
the EFI System partition is contained in a DragonFly disklabel.
2048 204800 0 GPT part - EFI System
206848 124837888 1 GPT part - DragonFly Label64
The disklabel can then be initialized as per the DragonFlyBSD standard,
typically something like (example only):
16 partitions:
# size offset fstype fsuuid
a: 1048576 0 4.2BSD # 1024.000MB
b: 8388608 * swap # 8192.000MB
d: * * HAMMER
Summary of changes:
sys/boot/efi/boot1/ufs_module.c | 23 +++++++++++++++++++++--
sys/boot/efi/include/efilib.h | 1 +
sys/boot/efi/libefi/efipart.c | 32 ++++++++++++++++++++++++++++++++
3 files changed, 54 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f1591f08811f69cff80209cdee0b498dc92356ab
--
DragonFly BSD source repository
More information about the Commits
mailing list