Commit Graph

81 Commits

Author SHA1 Message Date
Josh Paetzel
441ded2d91 Improve pc-sysinstall's localization options to include support for GDM & KDM
desktop login managers.

PR:	bin/154686
Submitted by:	kmoore
Approved by:	kib (mentor, implicit)
2011-02-18 15:06:35 +00:00
Josh Paetzel
bed7dbd1d3 Add "Extract Only" functionality to pc-sysinstall. This allows disk setup to
be done manually, pc-sysinstall is pointed to a mount-point for installation.

PR:	bin/154685
Submitted by:	kmoore
Approved by:	kib (mentor)
2011-02-17 16:33:41 +00:00
Josh Paetzel
2afb066d0a Add support for using encrypted password strings when setting
the root / user passwords

PR:	bin/152868
Submitted by:	kmoore
Approved by:	imp
2011-01-10 19:57:18 +00:00
Josh Paetzel
fc78178fcb Patch pc-sysinstall to deal with 4k sector size drives
PR:	bin/151967
Submitted by:	kmoore
Approved by:	imp
2011-01-10 19:11:25 +00:00
Josh Paetzel
2ebed539b0 Push some PC-BSD specific fixes upstream.
PR:	bin/152894
Submitted by:	Kris Moore <kmoore@FreeBSD.org>
Approved by:	imp
2011-01-08 22:42:56 +00:00
Josh Paetzel
5eea74f248 More elegant way to detect MBR vs. GPT
Submitted by:	nwhitehorn
Approved by:	imp
2011-01-08 20:25:00 +00:00
Warner Losh
3015d92bc4 When we switched to the gpart backend, and provided selection between
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
2010-11-10 05:32:36 +00:00
Warner Losh
c2176d895d Fix two typos
Submitted by:	Benedict Reuschling
2010-10-21 23:08:42 +00:00
Warner Losh
ce2502c9f8 More support for IMAGE installations 2010-10-21 22:46:10 +00:00
Warner Losh
c9489e0d75 Minor tweaks in compression support:
o We need an eval here to get the right expansion of the command
o bs=128k doesn't work in some cases, so eliminate it and cope with the
  minor performance hit.

Submitted by:	john hixson
2010-10-21 22:33:50 +00:00
Warner Losh
e964661666 Left over from prior patch removed.
Submitted by: John Hixon
PR: 151442 (but the patch was backwards there)
2010-10-21 17:29:18 +00:00
Warner Losh
a919280d8b This is an updated patch to the last patch to do this which fixes a
local variable issue. This patch decompresses compressed images to the
stdout when writing to a device to avoid running out of space issues.

Submitted by: John Hixson
Pr: 151049
2010-10-21 17:20:37 +00:00
Warner Losh
c4201e3f33 This small patch updates the "geli setkey" flags pc-sysinstall uses
when saving a users passphrase, to make it work in HEAD with recent
geli improvements.

Submitted by: Kris Moore
PR: 151002
2010-10-21 17:14:44 +00:00
Warner Losh
0f74b3f3ed Initial patches to install images...
PR: 150921
2010-10-09 08:52:09 +00:00
Warner Losh
7dae3d772a Fix typo: thanks Kris for pointing this out. 2010-10-09 08:39:14 +00:00
Warner Losh
6f0ebf473d Enable softupdate + journals support.
PR: 150862
Submitted by: Kris Moore
2010-10-09 07:45:24 +00:00
Warner Losh
8f3bacb08f Add file missed in r212337, my bad... 2010-09-09 03:33:07 +00:00
Warner Losh
ecc12db0a4 pc-sysinstall(8) patch that allows images to be written to disks
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
2010-09-08 20:10:24 +00:00
Warner Losh
b3b8bde704 Indent things consistently
PR:		149926
Submitted by:	John Hixson
2010-08-24 06:11:46 +00:00
Warner Losh
683b191334 This patch to pc-sysinstall allows the setting of a new config
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
2010-08-19 06:11:06 +00:00
Warner Losh
a13642d62d Simple patch to add support zpool virtual devices that are not
currently supported.

PR:		149599
Submitted by:	John Hixson
2010-08-19 06:05:05 +00:00
Warner Losh
6784d5cdbd Some cleanup, changed some echo's to echo_log, check for PROGDIR so
that different PROGDIR's can be set.

PR:		148806
Submitted by:	John Hixson
2010-08-19 06:02:31 +00:00
Warner Losh
742736b923 Updates to pc-sysinstall that allow FTP installation of FreeBSD.
PR:		148661
Submitted by:	John Hixson
2010-08-19 06:01:25 +00:00
Warner Losh
a5a3ab24a4 Various updates to support new pc-sysinstall directive
"installPackages" that will install packages and all package
dependencies.

PR:		148606
Submitted by:	John Hixon
2010-08-19 05:59:27 +00:00
Warner Losh
d8127f0d89 Fixes a bug when installing with a ZFS on root (/) and UFS /boot
partition. Don't stamp the zfs boot-loader in this case.

Submitted by:	kris moore
2010-07-31 19:27:43 +00:00
Warner Losh
722119408b Adds the async option for journaled file systems (UFS + journaling)
Submitted by:	kris moore (kris at pcbsd org)
2010-07-31 19:25:51 +00:00
Warner Losh
9ae036550c Add support for packages.
PR:		148584
Submitted by:	John Hixon
2010-07-13 23:47:12 +00:00
Warner Losh
73d3a33a3f Update pc-sysinstall to output list of FTP mirrors as well as some
installation information.  Export architecture to install.

PR:		148184
Submitted by:	John Hixson
2010-06-27 17:04:03 +00:00
Warner Losh
adf5b4bcd6 Spell iXsystems, Inc properly
Submitted by:	delphij@
2010-06-27 16:46:11 +00:00
Warner Losh
cab5ea2e17 We need to install the shell scripts as executables rather than as
data files in the backend* trees.

Submitted by:	John Hixon
2010-06-25 22:35:19 +00:00
Warner Losh
4bbc5bd8e0 Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. This
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
2010-06-24 22:21:47 +00:00