summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pc-sysinstall/backend/functions-disk.sh
Commit message (Collapse)AuthorAgeFilesLines
* MFC r296656:mav2016-03-281-0/+6
| | | | Don't bother to invoke gmirror or zpool if the module is not loaded.
* MFC r296655, r296673, r296776: Unify and improve metadata wiping.mav2016-03-281-23/+17
|
* Use GNOP to force ZFS pools to 4k.jpaetzel2013-03-031-0/+1
| | | | Obtained from: PC-BSD
* Add TRIM support, enabled by default.jpaetzel2012-09-061-0/+9
| | | | | | | | | | Fix a bug installing components from a localPath. Allow autosizing of any partition, not just the last partition. Adjust how ZFS is laid out to work with Boot Environments. Submitted by: kmoore Obtained from: PC-BSD MFC after: 3 days
* Set the MBR partition to active when doing a full disk MBR.jpaetzel2012-05-141-0/+3
| | | | | | | Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems MFC after: 3 days
* Add bootcamp bootloader stampjpaetzel2012-05-041-0/+4
| | | | | | | Submitted by: kmoore Obtained from: PC-BSD MFC after: 3 days Sponsored by: iXsystems
* Add powerpc / powerpc64 support to pc-sysinstall. This patch willjpaetzel2012-05-041-1/+40
| | | | | | | | | | | autodetect if on powerpc and use the APM gpart GEOM class automaticaly. At this time support for full disk installation is the only supported scheme. Submitted by: kmoore Obtained from: PC-BSD MFC after: 3 days Sponsored by: iXsystems
* Use gpart "-a" flag to 4k alignment.jpaetzel2012-03-121-61/+2
| | | | | Submitted by: kris Obtained from: PC-BSD
* Improve ZFS exporting functionality, only export pools which are on ajpaetzel2012-03-121-16/+18
| | | | | | | | | specific device we happen to be writing to. This fixes an issue when running pc-sysinstall on a running system which needs ZFS and the main disk gets exported. Submitted by: kris Obtained from: PC-BSD
* Make sure when creating new MBR partition it is set to active by default.jpaetzel2012-03-121-1/+1
| | | | | Submitted by: kris Obtained from: PC-BSD
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* Welcome the initial patches for OSX bootcamp support!!!jpaetzel2011-11-081-0/+59
| | | | | | | | This should let you select the ada0p3 hybrid MBR/GPT partition, and do an installation to it. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days
* Roll up several patches used by PC-BSD.jpaetzel2011-11-051-1/+2
| | | | | | | | | | - Fix an issue with gmirror. - Allow IPv4 DHCP and IPv6 SLAAC concurrently. - Fix zpool options using the wrong device name. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days
* Fix a logic bug in pc-sysinstall creating partitions.jpaetzel2011-09-191-1/+1
| | | | | | | | | | | | | Improve exit when an error occurs. Fix parsing to grab values which contain extra '=' signs. Fix a bug setting the timezone properly. Fix a usage bug when setting up with gmirror. Allow a uzip file from local media to be used. Allow specifying flags for "newfs" when using UFS as the file system. Run custom commands after doing final cleanup / fstab generation and such. Also fix using relative path for config file. Approved by: re (bz)
* Wipeout the end of disks, home to things like gmirror metadata, backup GPT ↵jpaetzel2011-05-181-10/+2
| | | | | | | | | | tables, and other potential evil. Submitted by: Kris Moore <kris@pcbsd.org> Approved by: kib (mentor) Sponsored by: iXsystems
* - Allows using full device name paths, such as /dev/ad0 or /dev/mirror/gm0 ↵jpaetzel2011-04-211-34/+57
| | | | | | | | | | | | | in config files - Fixes some issues creating gmirror devices, including on GPT partitions - Bugfixes for ZFS mirroring - Enhanced GELI to work with a passphrase only, or key-file only - Bugfix to prevent crashing of PC-BSD Live media when checking for upgrade partitions Submitted by: Kris Moore <kmoore@freebsd.org> Approved by: kib (mentor) Sponsored by: iXsystems
* Fix syntax error from previous commit.jpaetzel2011-03-301-1/+1
| | | | Approved by: kib (mentor)
* Fix a syntax error in a little-used function.jpaetzel2011-03-271-59/+54
| | | | | | | | | | Replace expr with $(()) Replace grep > /dev/null with grep -q Replace "$?" = "0" with $? -eq 0 in tests Consolidate export statements with variable assignment Replace tests for ! -z with -n Approved by: kib (mentor)
* Increase size of boot partition to give breathing room in the future.jpaetzel2011-03-271-1/+1
| | | | Approved by: kib (mentor)
* Patch pc-sysinstall to deal with 4k sector size drivesjpaetzel2011-01-101-11/+28
| | | | | | PR: bin/151967 Submitted by: kmoore Approved by: imp
* More elegant way to detect MBR vs. GPTjpaetzel2011-01-081-6/+1
| | | | | Submitted by: nwhitehorn Approved by: imp
* When we switched to the gpart backend, and provided selection betweenimp2010-11-101-1/+4
| | | | | | | | MBR & GPT, the MBR full-disk init failed to stamp boot1, and results in a boot not found error. This patch fixes the issue. PR: 151990 Submitted by: Kris Moore
* Left over from prior patch removed.imp2010-10-211-11/+0
| | | | | Submitted by: John Hixon PR: 151442 (but the patch was backwards there)
* Initial patches to install images...imp2010-10-091-23/+37
| | | | PR: 150921
* pc-sysinstall(8) patch that allows images to be written to disksimp2010-09-081-148/+185
| | | | | | | | | This patch creates the "image" directive for the pc-sysinstall config file. This allows disks to be configured with an image instead of partitioning. PR: 150137 Submitted by: John Hixson
* Indent things consistentlyimp2010-08-241-26/+53
| | | | | PR: 149926 Submitted by: John Hixson
* This patch to pc-sysinstall allows the setting of a new configimp2010-08-191-7/+92
| | | | | | | | | variable for installation, which lets the user/front-end select between MBR or GPT partitioning schemes when doing a dedicated disk installation. PR: 149772 Submitted by: Kris Moore
* Spell iXsystems, Inc properlyimp2010-06-271-1/+1
| | | | Submitted by: delphij@
* Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. Thisimp2010-06-241-0/+672
shell script is the back end logic necessary for an installer. It contains both query routines to allow a front-end installer to present reasonable choices to the user and also action routines which allow the front end installer to put a FreeBSD distribution onto a disk. It supports installing onto the usual suspects, as well as advanced features like Mirroring, ZFS, Encryprion and GPT labels. While this is only the back-end of the installer, it can do unattended scripted installations. In PC-BSD's world view, all installations are scripted and all the front-end does is write the script. As such, it is useful in its own right. This has been extensively tested over the past several releases of PC-BSD. However, differences between that environment and FreeBSD suggest there will be a period of shake-out while those differences are discovered and corrected. A text-based front-end is in the works. For the GUI-based front-end, you can use the PC-BSD distribution. Kris' BSDcan paper on pc-sysinstall is linked off his talk on the BSDcan site: http://www.bsdcan.org/2010/schedule/events/173.en.html The man page is written by Josh Paetzel, and I wrote the Makefiles for the FreeBSD integration. Kris wrote the rest. This represents version r7010 in the PC-BSD repo. http://svn.pcbsd.org/pcbsd/current/pc-sysinstall Submitted by: kris@ Sponsored by: iX Systems
OpenPOWER on IntegriCloud