summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/partedit
Commit message (Collapse)AuthorAgeFilesLines
* add_geom_children() cannot rely on busy disksRenato Botelho2017-09-291-11/+0
|
* Hide md* and disks that can not be used for write operations from installerRenato Botelho2017-09-281-0/+14
|
* Hide md* and disks that can not be used for write operations from installerRenato Botelho2017-09-141-1/+14
|
* Merge remote-tracking branch 'origin/releng/11.1' into RELENG_2_5Renato Botelho2017-07-034-15/+19
|\
| * bsdinstall: use consistent EFI configuration across platformsemaste2017-06-192-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r320007: - 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 MFC r320008: bsdinstall: correct comment after r320007 PR: 201898 Approved by: re (kib) Relnotes: Yes Sponsored by: The FreeBSD Foundation
| * MFC r314833rgrimes2017-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert absolute links to relative links. Style.Makefile(9) has been ignored to produce minimal diffs. MFC r314837 The relative symlink fix causes downstream issues for EMC DELL Isilon so revert the relative symlink fix pending a better solution. Reported by: ngie MFC r315091 Revert r314833 until the problem with INSTALL_RSYMLINKS can be found as it appears to break arm release builds. PR: 217705 Reported by: cyclaero@gmail.com Approved by: grehan (mentor)
| * MFC r317743:araujo2017-05-171-9/+9
| | | | | | | | | | | | | | Use nitems() from sys/param.h. Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D9942
* | Revert "Use MBR by default on BIOS systems. An increasing number of ↵Renato Botelho2016-11-181-4/+1
| | | | | | | | | | | | motherboards" This reverts commit 30a42c280eec3a4e23e3eab91b7e04cff697d312.
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2016-08-251-6/+20
|\ \ | |/
| * MFH (r304142): ensure stripe size is non-zero multiple of 4096des2016-08-191-6/+20
| | | | | | | | PR: 211361
* | Replace FreeBSD by pfSense on installer related filesRenato Botelho2016-08-012-8/+8
|/
* 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
* 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
* Use LIBEXECDIR for /usr/libexec.bdrewery2015-11-261-1/+1
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add support for two workarounds for known issues booting GPT in legacy mode ↵allanjude2015-07-184-19/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | on some hardware For Lenovo laptops with buggy bios (x220, t420, t520): Write the 0xee entry into the second slot in the pmbr instead of the first For some Dell and HP models: The BIOS gives a warning message when booting in legacy mode from a GPT partitioned disk where the 0xee partition in the pmbr is not flagged active For models known to have this problem, mark the pmbr active during installation Use smbios data to identify machines known to be affected by any of the above, and offer the user the option to apply the workaround In bsdinstall's ufs auto mode (autopart partition wizard): Allow users to select which type of partition table to use Keep current defaults: MBR for BIOS, GPT for UEFI This allows users to choose GPT for legacy boot if they wish PR: 184910 PR: 194359 Reviewed by: Michael Dexter Approved by: marcel MFC after: 3 days X-MFC-With: r285594 Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3091
* Add META_MODE support.sjg2015-06-131-0/+25
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-3/+5
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-1911-70/+248
| |\
| * \ Merge head from 7/28sjg2014-08-194-18/+28
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2014-05-081-1/+1
| |\ \ \
| * \ \ \ Merge headsjg2014-04-288-19/+97
| |\ \ \ \
| * \ \ \ \ Merge head@256284sjg2013-10-132-2/+4
| |\ \ \ \ \
| * | | | | | Updated dependenciessjg2013-10-131-0/+2
| | | | | | |
| * | | | | | Merge from headsjg2013-09-052-1/+18
| |\ \ \ \ \ \
| * | | | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | | | |
| * | | | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | | | |
| * | | | | | | Sync with HEAD.obrien2013-02-087-18/+323
| |\ \ \ \ \ \ \
| | \ \ \ \ \ \ \
| | \ \ \ \ \ \ \
| *-. \ \ \ \ \ \ \ Sync from headsjg2012-11-042-8/+1
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+24
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | Use MBR by default on BIOS systems. An increasing number of motherboardsnwhitehorn2015-01-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assume that GPT means UEFI boot, resulting in the installation of uninstallable systems. This needs a little more work before MFC, in particular based on disk size (> 2 TB + BIOS + MBR is not workable). That will come soon.
* | | | | | | | | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking
* | | | | | | | | Only allow ZFS boot on GPT; the MBR ZFS bootblocks cannot be installed usingnwhitehorn2014-10-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gpart bootcode as /boot/zfsboot needs to be split into multiple pieces by hand and copied to different areas of the partition.
* | | | | | | | | Centralize determination of boot firmware (UEFI vs. BIOS/CSM) into anwhitehorn2014-10-121-32/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function x86_bootmethod() and fix deviations from style(9).
* | | | | | | | | Add ZFS support to the bsdinstall partition editor and sade.nwhitehorn2014-09-1311-43/+216
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Kurt Lidl (original version) MFC after: 6 weeks
* | | | | | | | Allow up to 512K for boot code on GPT with BIOS. As pmbr.s says in a comment,nwhitehorn2014-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "545K should be enough for any boot code". This rounds down slightly. Reported by: Matthew Fuller MFC after: 2 weeks
* | | | | | | | After EFI support was added to the installer, it needed to allow bootnwhitehorn2014-07-041-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | partitions of types other than "freebsd-boot" (in particular, "efi"). This allows the removal of some nasty hacks for supporting PowerPC systems, in particular aliasing freebsd-boot to apple-boot on APM and an IBM-specific code on MBR. This changes the installer to use the correct names, which also breaks a degeneracy in the meaning of "freebsd-boot" that allows the addition of support for some newer IBM systems that can boot from GPT in addition to MBR. Since I have no idea how to detect which those systems are, leave the default on IBM PPC systems as MBR for now.
* | | | | | | | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | | | | | | Revert r261296. This removes the WITHOUT_NCURSESW option.brooks2014-05-151-12/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | It was the wrong direction. We will instead remove use of the non-wide-character supporting libncurses.
* | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | from the latter.
* | | | | | Finish connecting up installer UEFI support. If the kernel was booted usingnwhitehorn2014-04-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EFI, set up the disks for an EFI system. If booted from BIOS/CSM, set up for BIOS.
* | | | | | Add EFI support to the installer. This requires that the kernel providenwhitehorn2014-04-267-17/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a sysctl to determine what firmware is in use. This sysctl does not exist yet, so the following blocks are in front of the wheels: - I've provisionally called this "hw.platform" after the equivalent thing on PPC - The logic to check the sysctl is short-circuited to always choose BIOS. There's a comment in the top of the file about how to turn this off. If IA64 acquired a boot1.efifat-like thing (probably with very few modifications), the same code could be adapted there.
* | | | | | Merge from CheriBSD:brooks2014-01-301-2/+12
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit c1acf022c533c5ae27e0cd556977eafe3f5959eb Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Fri Jan 17 21:46:44 2014 +0000 Add an option WITHOUT_NCURSESW to suppress building and linking to libncursesw. While wide character support it useful we'd like to only need one ncurses library on embedded systems. MFC after: 4 weeks Sponsored by: DARPA, AFRL
* | | | | Add installer support for CHRP/PAPR PowerPC systems that use MBR+BSDnwhitehorn2013-09-232-2/+4
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | formatting, like x86, but with an additional MBR slice containing a raw boot partition. Approved by: re (gjb)
* | | | Fix bindings of keys when in the partition editor. By adding the usual input ↵bapt2013-06-171-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | binding to the "partlist" sub window. This is a workaround, as for unknown yet reason the keys binded on the Partition Edition window are the one from partlist instead of the one from standard "formfield" Reported by: alfred, nwhitehorn
* | | | Add some missing DPADD.antoine2013-05-111-0/+1
| |_|/ |/| |
* | | Improve error handling and remove an unnecessary check on geom providernwhitehorn2013-01-223-17/+17
| | | | | | | | | | | | | | | | | | | | | type. GEOM provider names can't duplicate (or shouldn't -- devfs will either break or only use the first one if they do) so using the first provider by that name is a sufficient check. This also lets the scripted partitioner install onto gmirror and geli and such things.
OpenPOWER on IntegriCloud