FreeBSDs inzwischen doch sehr alter Installer sysinstall(8) ist bereits seit Jahren ein Ärgernis und immer wieder Teil langer Diskussionen und Quelle diverser Fehler. Oftmals wird das Programm sogar als "DAU-Firewall" bezeichnet, da es die Installation von FreeBSD eklig, unverständlich und abschreckend wirken lässt. Es gab immer wieder Projekte einen Nachfolger zu entwickeln, aber kaum eines dieser hat es jemals über die Alpha-Phase hinaus geschafft. Daher hat man sich nun entschlossen PC-BSDs "pc-sysinstall" zu importieren. Es ist im Moment nicht klar, ob dieses Installationsprogramm sysinstall(8) jemals vollständig ersetzen wird, jedoch ist es ganz klar ein Schritt in die richtige Richtung.
Jetzt importiert wurde lediglich das Backend. Dies führt die eigentliche Installation durch, ist jedoch weitgehend wertlos, da man ein Interface zum Steuern als Frontend benötigt, sofern man keine unbeaufsichtigten Installationen durchführen möchte. Derzeit ist daher ein textbasiertes Frontend in Entwicklung, rein Theoretisch kann auch PC-BSDs grafisches Frontend genutzt werden. Der technische Ablauf ist so, dass das Frontend eine Beschreibung der gewünschten Installation erstellt, diese an das Backend übergibt, welches das System anschließend wie gewünscht installiert.
pc-sysinstall unterstützt anders als sysinstall(8) auch fortgeschrittene Funktionen wie Installation auf ZFS, GEOM-Klassen, Labels und vieles mehr.
Jetzt importiert wurde lediglich das Backend. Dies führt die eigentliche Installation durch, ist jedoch weitgehend wertlos, da man ein Interface zum Steuern als Frontend benötigt, sofern man keine unbeaufsichtigten Installationen durchführen möchte. Derzeit ist daher ein textbasiertes Frontend in Entwicklung, rein Theoretisch kann auch PC-BSDs grafisches Frontend genutzt werden. Der technische Ablauf ist so, dass das Frontend eine Beschreibung der gewünschten Installation erstellt, diese an das Backend übergibt, welches das System anschließend wie gewünscht installiert.
pc-sysinstall unterstützt anders als sysinstall(8) auch fortgeschrittene Funktionen wie Installation auf ZFS, GEOM-Klassen, Labels und vieles mehr.
Code:
ALPINE 2.00 MESSAGE TEXT [H] Msg 3,664 of 3,668 2% +
Date: Fri, 25 Jun 2010 00:21:47
From: Warner Losh <imp@FreeBSD.org>
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
svn-src-head@freebsd.org
Subject: svn commit: r209513 - in head: etc/mtree usr.sbin
usr.sbin/pc-sysinstall usr.sbin/pc-sysinstall/backend
usr.sbin/pc-sysinstall/backend-partmanager
usr.sbin/pc-sysinstall/backend-query usr.sbin/pc-s...
Author: imp
Date: Thu Jun 24 22:21:47 2010
New Revision: 209513
URL: http://svn.freebsd.org/changeset/base/209513
Log:
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