|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
| #
aa2a0e0f |
| 23-Aug-2018 |
Allan Jude <[email protected]> |
bsdinstall/zfsboot: Enable new UEFI+GELI support
After r336252 it is no longer necessary to have a separate bootpool when booting from an encrypted disk with UEFI.
This change also switches the EFI
bsdinstall/zfsboot: Enable new UEFI+GELI support
After r336252 it is no longer necessary to have a separate bootpool when booting from an encrypted disk with UEFI.
This change also switches the EFI System Partition contents from the 800 KB boot1.efifat to a new 200 MB filesystem created with newfs_msdos and uses loader.efi directly, instead of boot1.efi.
PR: 228916 Reviewed by: dteske MFC after: 1 month Relnotes: yes Sponsored by: Klara Systems Differential Revision: https://reviews.freebsd.org/D12315
show more ...
|
|
Revision tags: release/11.2.0, release/10.4.0 |
|
| #
e39a9678 |
| 30-Jul-2017 |
Ed Maste <[email protected]> |
bsdinstall: default to UEFI-only boot on arm64
Reviewed by: allanjude Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D11721
|
|
Revision tags: release/11.1.0 |
|
| #
98b9d384 |
| 20-Jun-2017 |
Steven Hartland <[email protected]> |
Fixed bsdinstall location of vfs.zfs.min_auto_ashift
vfs.zfs.min_auto_ashift is a sysctl only not a tunable so updated bsdinstall to use the correct location /etc/sysctl.conf instead of /boot/loader
Fixed bsdinstall location of vfs.zfs.min_auto_ashift
vfs.zfs.min_auto_ashift is a sysctl only not a tunable so updated bsdinstall to use the correct location /etc/sysctl.conf instead of /boot/loader.conf
Reported by: Aaron Caza Reviewed by: allanjude MFC after: 2 days Sponsored by: Multiplay Differential Revision: https://reviews.freebsd.org/D11278
show more ...
|
| #
4ca43ae5 |
| 16-Jun-2017 |
Ed Maste <[email protected]> |
bsdinstall: use consistent EFI configuration across platforms
- increase arm64 EFI partition to 200M, as x86 - use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86 - increase ZFS EFI partition
bsdinstall: use consistent EFI configuration across platforms
- increase arm64 EFI partition to 200M, as x86 - use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86 - increase ZFS EFI partition to 200M
PR: 201898 Reviewed by: allanjude, manu MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D11239
show more ...
|
| #
46c380e6 |
| 12-Jun-2017 |
Allan Jude <[email protected]> |
bsdinstall: Make ZFS min_auto_ashift adjustment persistent
Reported by: feld Reviewed by: dteske, tsoome MFC after: 3 days Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freeb
bsdinstall: Make ZFS min_auto_ashift adjustment persistent
Reported by: feld Reviewed by: dteske, tsoome MFC after: 3 days Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D10895
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
1b63cafb |
| 16-Jul-2016 |
Allan Jude <[email protected]> |
A failed installation once restarted will often error out
If an encrypted install is attempted and fails for any reason, the disk cannot be erased by the installer because the partition is in use by
A failed installation once restarted will often error out
If an encrypted install is attempted and fails for any reason, the disk cannot be erased by the installer because the partition is in use by GELI
At the start of the installation process, all ZFS pools are exported and all GELI instances are detached, to allow a restarted install to proceed
PR: 210814 Reported by: jonathan MFC after: 10 days
show more ...
|
| #
4487af02 |
| 16-Jul-2016 |
Allan Jude <[email protected]> |
Fix encrypted MBR install
The pools are exported and reimported in order to write the bootcode This causes an error when the bootpool is later mounted by common code The bootpool is now imported wit
Fix encrypted MBR install
The pools are exported and reimported in order to write the bootcode This causes an error when the bootpool is later mounted by common code The bootpool is now imported with the -N flag to prevent mounting
Reported by: Michael Dexter MFC after: 5 days
show more ...
|
| #
ca13d5d2 |
| 03-Jul-2016 |
Allan Jude <[email protected]> |
Fix an error in bsdinstall when ZFS installation uses a bootpool
A separate bootpool is used when the selected partition type is MBR or when the disk is GELI encrypted and a UEFI loader is selected.
Fix an error in bsdinstall when ZFS installation uses a bootpool
A separate bootpool is used when the selected partition type is MBR or when the disk is GELI encrypted and a UEFI loader is selected.
BIOS avoids the bootpool by using bootcode and loader that support GELI.
bsdinstall did not remount the bootpool after creating the main pool, which caused an error when mkdir tried to create /boot/zfs
PR: 210717 Approved by: re (gjb) Sponsored by: ScaleEngine Inc.
show more ...
|
| #
52fffe93 |
| 10-Jun-2016 |
Allan Jude <[email protected]> |
Fix bsdinstall for root-on-zfs with MBR partitioning
Fix an error where vfs.root.mountfrom was not always set as required when creating a bootpool. After the recent geliboot changes, it was only set
Fix bsdinstall for root-on-zfs with MBR partitioning
Fix an error where vfs.root.mountfrom was not always set as required when creating a bootpool. After the recent geliboot changes, it was only set if the main pool was encrypted.
Also resolve an error where the bootpool was unmounted twice causing bsdinstall to stop with an error message about the failed command.
Approved by: re (gjb) Sponsored by: BSDCan Hacker Lounge
show more ...
|
| #
24d17f1e |
| 24-May-2016 |
Allan Jude <[email protected]> |
Only set kern.geom.part.mbr.enforce_chs=0 once, instead of once per disk
Sponsored by: ScaleEngine Inc.
|
| #
bb4fd0a0 |
| 24-May-2016 |
Allan Jude <[email protected]> |
Add support for RAID 1+0 (striped mirrors) to bsdinstall/zfsboot
Sponsored by: ScaleEngine Inc.
|
| #
b06bc65e |
| 23-May-2016 |
Allan Jude <[email protected]> |
Only export and re-import the root pool if installing on MBR
This step is required in order to dd the boot2 bits into the ZFS partition
Sponsored by: ScaleEngine Inc.
|
| #
7289f18f |
| 23-May-2016 |
Allan Jude <[email protected]> |
Fix missing pool name in zfs set command
|
| #
dcf36219 |
| 23-May-2016 |
Allan Jude <[email protected]> |
Fix error in bsdinstall where additional filesystems cannot be mounted
Do not set canmount=noauto on the boot environment at create time, because this causes / to not be mounted, and since the chroo
Fix error in bsdinstall where additional filesystems cannot be mounted
Do not set canmount=noauto on the boot environment at create time, because this causes / to not be mounted, and since the chroot is read only, new mountpoints cannot be created.
The property is set later, when other properties are adjusted
Reported by: HardenedBSD Sponsored by: ScaleEngine Inc.
show more ...
|
| #
a1b8f55c |
| 22-May-2016 |
Allan Jude <[email protected]> |
bsdinstall/zfsboot GPT+BIOS+GELI installs now make use of GELIBOOT
In this configuration, a separate bootpool is not required. This allows ZFS Boot Environments to be used with GELI encrypted ZFS po
bsdinstall/zfsboot GPT+BIOS+GELI installs now make use of GELIBOOT
In this configuration, a separate bootpool is not required. This allows ZFS Boot Environments to be used with GELI encrypted ZFS pools.
Support for GPT+EFI+GELI is planned for the future.
Tested by: Joseph Mingrone, HardenedBSD Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D5869
show more ...
|
| #
595568b5 |
| 22-May-2016 |
Allan Jude <[email protected]> |
Fix default ZFS layout to work better by default with sysutils/beadm
The root file system is mounted early via vfs.root.mountfrom. The canmount=noauto property only affects the zfs rc.d script. This
Fix default ZFS layout to work better by default with sysutils/beadm
The root file system is mounted early via vfs.root.mountfrom. The canmount=noauto property only affects the zfs rc.d script. This ensures that the 'default' BE is not mounted overtop of another BE when one is selected from the beastie menu
Sponsored by: ScaleEngine Inc.
show more ...
|
| #
5e38260c |
| 22-May-2016 |
Baptiste Daroussin <[email protected]> |
Fix typo in comments for the zfsboot script
Submitted by: Colby Swandale <[email protected]> (via github)
|
| #
06445fc0 |
| 10-May-2016 |
Allan Jude <[email protected]> |
bsdinstall/zfsboot: Do not mirror swap when swapsize is 0
PR: 209415 Submitted by: Ganael LAPLANCHE <[email protected]> MFC after: 2 weeks
|
| #
ec65e4f8 |
| 01-May-2016 |
Pedro F. Giffuni <[email protected]> |
usr.sbin/bsdconfig: minor spelling fixes on comments.
No functional change.
|
| #
4d41f472 |
| 19-Apr-2016 |
Allan Jude <[email protected]> |
Add a new installation type to bsdinstall/zfsboot: BIOS+UEFI
Installs both pmbr+gptzfsboot as well as boot1.efifat in separate partitions The resulting system can be booted with either UEFI or BIOS/
Add a new installation type to bsdinstall/zfsboot: BIOS+UEFI
Installs both pmbr+gptzfsboot as well as boot1.efifat in separate partitions The resulting system can be booted with either UEFI or BIOS/CSM. Preference is controlled by the user's firmware boot settings.
This is now the default for zfsboot installs
PR: 208629 Submitted by: Galael LAPLANCHE <[email protected]> (original version)
show more ...
|
| #
b3f7b139 |
| 08-Apr-2016 |
Allan Jude <[email protected]> |
bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist
PR: 208629 PR: 208568 Submitted by: Galael LAPLANCHE <[email protected]> MFC after: 2 weeks
|
| #
6b5e33ba |
| 08-Apr-2016 |
Allan Jude <[email protected]> |
Do not add swap to fstab when swapsize is 0
If a user requested encrypted swap, but 0 sized, it would still be added to fstab
PR: 208630 Submitted by: Ganael LAPLANCHE <[email protected]
Do not add swap to fstab when swapsize is 0
If a user requested encrypted swap, but 0 sized, it would still be added to fstab
PR: 208630 Submitted by: Ganael LAPLANCHE <[email protected]> MFC after: 2 weeks Sponsored by: ScaleEngine Inc.
show more ...
|
|
Revision tags: release/10.3.0 |
|
| #
6203e46b |
| 17-Mar-2016 |
Allan Jude <[email protected]> |
Remove 50% ZFS conditional from bsdinstall/zfsboot
Remove the requirement that the resulting partition table be atleast 50% ZFS
PR: 208094 Requested by: brooks Sponsored by: ScaleEngine Inc.
|
| #
0edc8cc8 |
| 30-Jan-2016 |
Allan Jude <[email protected]> |
The zfsboot automated part of bsdinstall now supports UEFI
MFC after: 3 days Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D4960
|
| #
a94af954 |
| 16-Jan-2016 |
Allan Jude <[email protected]> |
Never 4k align the MBR bootpool because zfsldr can not deal with a gap
If the bootpool does not start at the first sector of the BSD partition then zfsldr seeks to the wrong offset inside the ZFS vd
Never 4k align the MBR bootpool because zfsldr can not deal with a gap
If the bootpool does not start at the first sector of the BSD partition then zfsldr seeks to the wrong offset inside the ZFS vdev label, and is unable to find zfsboot, so the system does not boot
If 4k alignment is requested, align the BSD partition in the MBR table, and align the swap and data pool, but the bootpool must start at sector 1
While here, if 4k alignment is requested, disable MBR CHS alignment, as this results in not-4k aligned partitions.
Reported by: Alex Wilkinson MFC after: 5 days Sponsored by: ScaleEngine Inc.
show more ...
|