summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
Commit message (Collapse)AuthorAgeFilesLines
...
| * MFC: r302790, r302795allanjude2016-07-261-0/+38
| | | | | | | | | | | | | | | | Add new menu to bsdinstall to allow user to set date and time after selecting timezone. The 'skip' button is the default selection. Submitted by: des Approved by: re (gjb)
| * MFC: r302940allanjude2016-07-261-1/+2
| | | | | | | | | | | | | | | | Fix error in bsdinstall triggered when doing a GELI encrypted install to an MBR formatted disk Approved by: re (gjb) Sponsored by: ScaleEngine Inc.
| * MFC: r302941allanjude2016-07-261-0/+9
| | | | | | | | | | | | | | | | 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 Approved by: re (gjb)
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2016-07-082-10/+13
|\ \ | |/
| * Add more machines to the bsdinstall workaround blacklistallanjude2016-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | Apply the LenovoFix (fake partition in pMBR is 2nd rather than 1st) and GPT Active fix (mark the fake pMBR partition active) to respective hardware that is confirmed to require such to boot correct. Submitted by: Sam Fourman Jr. <sfourman@gmail.com> (ThinkPad W520) Submitted by: Matthias Apitz <guru@unixarea.de> (Latitude E6330) Approved by: re (gjb) Sponsored by: ScaleEngine Inc.
| * Fix an error in bsdinstall when ZFS installation uses a bootpoolallanjude2016-07-031-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'origin/master' into devel-11Luiz Otavio O Souza2016-07-023-2/+106
|\ \ | |/
| * bsdinstall: increase EFI partition size to 200MBemaste2016-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A larger EFI file system size will facilitate multi-boot configurations and the installation other EFI applications like firmware update tools. 200MB matches OS X. Note that this changes only the partition size, not the file system that bsdinstall places there. We need to do both, but as the partition size is difficult to adjust later make this change for now so that at least systems installed with FreeBSD 11.0 have a partition layout with room to grow. Reviewed by: allanjude, imp Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6935
| * ARM64: bsdinstall support for creating EFI partitionswma2016-06-202-1/+105
| | | | | | | | | | | | | | | | | | | | | | This patch enables bsdinstall to create EFI partition during installation and uploading it's contents, making the ARM64 FreeBSD installation bootable. Obtained from: Semihalf Sponsored by: Cavium Approved by: re Reviewed by: allanjude, emaste, nwhitehorn, wma Differential Revision: https://reviews.freebsd.org/D6853
* | Do not try to add users to systemRenato Botelho2016-06-271-3/+3
| |
* | Only show menu if there are more items to be installedRenato Botelho2016-06-271-10/+12
| |
* | pfSense doesn't distribute a kernel.txzRenato Botelho2016-06-271-1/+1
| |
* | Comment out some installer steps we don't needRenato Botelho2016-06-242-10/+10
|/
* Fix bsdinstall for root-on-zfs with MBR partitioningallanjude2016-06-101-9/+5
| | | | | | | | | | | | 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
* bsdinstall: add country/regulatory domain configuration dialog.avos2016-06-081-32/+183
| | | | | | | | | Allow to setup country and/or regulatory domain before scanning (since channel list is affected by regulatory restrictions this may impact scan results). PR: 182600 (originally) Differential Revision: https://reviews.freebsd.org/D6325
* bsdinstall: unbreak static address assignment for wired networks.avos2016-05-261-1/+5
| | | | | | | This fixes regression introduced in r298946 (fixes static address assignment for wireless networks). Reported & submitted by: allanjude
* Only set kern.geom.part.mbr.enforce_chs=0 once, instead of once per diskallanjude2016-05-241-1/+1
| | | | Sponsored by: ScaleEngine Inc.
* Add support for RAID 1+0 (striped mirrors) to bsdinstall/zfsbootallanjude2016-05-241-5/+40
| | | | Sponsored by: ScaleEngine Inc.
* Only export and re-import the root pool if installing on MBRallanjude2016-05-231-22/+26
| | | | | | This step is required in order to dd the boot2 bits into the ZFS partition Sponsored by: ScaleEngine Inc.
* Fix missing pool name in zfs set commandallanjude2016-05-231-1/+1
|
* Fix error in bsdinstall where additional filesystems cannot be mountedallanjude2016-05-231-1/+5
| | | | | | | | | | | 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.
* bsdinstall/zfsboot GPT+BIOS+GELI installs now make use of GELIBOOTallanjude2016-05-221-60/+84
| | | | | | | | | | | | 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
* Fix default ZFS layout to work better by default with sysutils/beadmallanjude2016-05-221-1/+1
| | | | | | | | | 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.
* Fix typo in comments for the zfsboot scriptbapt2016-05-221-1/+1
| | | | Submitted by: Colby Swandale <colby@taplaboratories.com.au> (via github)
* bsdinstall/zfsboot: Do not mirror swap when swapsize is 0allanjude2016-05-101-1/+1
| | | | | | PR: 209415 Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks
* bsdinstall: fix static address assignment for protected wireless networks.avos2016-05-021-1/+1
| | | | | | | Filter out IFCONFIG_PREFIX variable (which may contain WPA keyword) from ifconfig parameters. PR: 169199
* usr.sbin/bsdconfig: minor spelling fixes on comments.pfg2016-05-011-1/+1
| | | | No functional change.
* Remove unportable calls to basename().ed2016-04-261-10/+11
| | | | | | | | | | | The POSIX version of basename() doesn't use a 'const char *' argument; the function may overwrite its input buffer. Instead of copying the input string, let's just simplify this code by using our getprogname() function that already returns the name of the application in the right format. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D6094
* Add a new installation type to bsdinstall/zfsboot: BIOS+UEFIallanjude2016-04-191-16/+52
| | | | | | | | | | | 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 <ganael.laplanche@corp.ovh.com> (original version)
* MFHgjb2016-04-111-2/+4
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * bsdinstall/zfsboot should create /tmp and /var/tmp if they do not existallanjude2016-04-081-0/+2
| | | | | | | | | | | | | | PR: 208629 PR: 208568 Submitted by: Galael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks
| * Do not add swap to fstab when swapsize is 0allanjude2016-04-081-2/+2
| | | | | | | | | | | | | | | | | | If a user requested encrypted swap, but 0 sized, it would still be added to fstab PR: 208630 Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks Sponsored by: ScaleEngine Inc.
* | MFHgjb2016-04-041-5/+5
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Remove 50% ZFS conditional from bsdinstall/zfsbootallanjude2016-03-171-5/+5
| | | | | | | | | | | | | | | | Remove the requirement that the resulting partition table be atleast 50% ZFS PR: 208094 Requested by: brooks Sponsored by: ScaleEngine Inc.
* | MFHgjb2016-02-021-68/+47
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * The zfsboot automated part of bsdinstall now supports UEFIallanjude2016-01-301-68/+47
| | | | | | | | | | | | MFC after: 3 days Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D4960
* | MFHgjb2016-01-201-1/+3
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Never 4k align the MBR bootpool because zfsldr can not deal with a gapallanjude2016-01-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | MFHgjb2016-01-141-1/+1
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * bsdinstall: Suggest the GPT+Active workaround on Dell T5810vangyzen2016-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Dell Precision Tower 5810 fails to boot from GPT in Legacy/BIOS mode without the Active flag in the Protective MBR. Suggest the workaround during installation. Since an increasing number of Dell systems exhibit this behavior, I imagine all Dells past a certain date will do so. I would like to suggest the workaround for all Dells with a BIOS date of, say, 2014 or later, but I would need to test a variety of systems before committing such a change. Reviewed by: allanjude, dteske MFC after: 5 days Relnotes: We should probably suggest using GPT+Active on "recent" Dells. Sponsored by: Dell Inc. Differential Revision: https://reviews.freebsd.org/D4075
| * Merge ^/projects/release-install-debug:gjb2016-01-051-4/+60
| | | | | | | | | | | | | | | | | | | | | | | | - Rework MANIFEST generation and parsing via bsdinstall(8). - Allow selecting debugging distribution sets during install. - Rework bsdinstall(8) to fetch remote debug distribution sets when they are not available on the local install medium. - Allow selecting additional non-GENERIC kernels during install. At present, GENERIC is still required, and installed by default. Tested with: head@r293203 Sponsored by: The FreeBSD Foundation
* | MFHgjb2016-01-051-4/+60
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | MFH r289384-r293170gjb2016-01-047-14/+24
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Explicitly set permissions on entropy filesdteske2015-12-281-1/+6
| | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3933 Submitted by: jmg Reviewed by: delphij, markm Approved by: secteam (delphij) MFC after: 3 days X-MFC-to: stable/10 stable/9
| * Adapt to new wireless scheme where base wlan interfaces do not show up innwhitehorn2015-12-061-8/+13
| | | | | | | | ifconfig anymore.
| * Use LIBEXECDIR for /usr/libexec.bdrewery2015-11-264-4/+4
| | | | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
| * Fix typo in error messagedteske2015-11-031-1/+1
| | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3997 Submitted by: git_johnko.ca (John Ko) MFC after: 3 days X-MFC-to: stable/10 stable/9
* | Merge from headbapt2015-10-013-5/+28
|\ \ | |/
| * Add more SUBDIR_PARALLEL.bdrewery2015-09-261-0/+1
| | | | | | | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
| * META_MODE: Remove DEP_MACHINE from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | | | | | | | This has not been needed since r246865 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud