Benutzer Diskussion:PaulRiegel/TrueOS: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Neuer Abschnitt →Installation mit 2 Geräten für Massenspeicher als Spiegel) |
|||
Zeile 24: | Zeile 24: | ||
; bestehende genutzte Zertifikate mitnehmen: <code>ls /usr/local/etc/ssl/certs/</code> | ; bestehende genutzte Zertifikate mitnehmen: <code>ls /usr/local/etc/ssl/certs/</code> | ||
== Installation mit 2 Geräten für Massenspeicher als Spiegel == | |||
pc-sysinstall.log | |||
<pre> | |||
kern.geom.debugflags: 0 -> 16 | |||
kern.geom.label.disk_ident.enable: 0 -> 0 | |||
Deleting all gparts | |||
Running: gpart destroy -F /dev/ada0 | |||
gpart: arg0 'ada0': Invalid argument | |||
Running: zpool labelclear -f /dev/ada0 | |||
failed to read label from /dev/ada0 | |||
Running: gpart create -s gpt /dev/ada0 | |||
ada0 created | |||
Running: gpart destroy -F /dev/ada0 | |||
ada0 destroyed | |||
Clearing gpt backup table location on disk | |||
Running: dd if=/dev/zero of=/dev/ada0 bs=1m count=1 | |||
1+0 records in | |||
1+0 records out | |||
1048576 bytes transferred in 0.046040 secs (22775338 bytes/sec) | |||
Running: dd if=/dev/zero of=/dev/ada0 bs=1m oseek=305241 | |||
dd: /dev/ada0: short write on character device | |||
dd: /dev/ada0: end of device | |||
5+0 records in | |||
4+1 records out | |||
4546560 bytes transferred in 0.082831 secs (54889445 bytes/sec) | |||
Running gpart on /dev/ada0 | |||
Running: gpart create -s GPT -f active /dev/ada0 | |||
ada0 created | |||
Running: gpart add -s 512 -t freebsd-boot /dev/ada0 | |||
ada0p1 added | |||
Stamping boot sector on /dev/ada0 | |||
Running: gpart bootcode -b /boot/pmbr /dev/ada0 | |||
bootcode written to ada0 | |||
Looping through _zvars: /dev/ada0p2 | |||
Looping through _zvars: /dev/ada2 | |||
Setting up ZFS disk /dev/ada2 | |||
kern.geom.debugflags: 16 -> 16 | |||
kern.geom.label.disk_ident.enable: 0 -> 0 | |||
Deleting all gparts | |||
Running: gpart destroy -F /dev/ada2 | |||
gpart: arg0 'ada2': Invalid argument | |||
Running: zpool labelclear -f /dev/ada2 | |||
failed to read label from /dev/ada2 | |||
Running: gpart create -s gpt /dev/ada2 | |||
ada2 created | |||
Running: gpart destroy -F /dev/ada2 | |||
ada2 destroyed | |||
Clearing gpt backup table location on disk | |||
Running: dd if=/dev/zero of=/dev/ada2 bs=1m count=1 | |||
1+0 records in | |||
1+0 records out | |||
1048576 bytes transferred in 0.046489 secs (22555159 bytes/sec) | |||
Running: dd if=/dev/zero of=/dev/ada2 bs=1m oseek=305241 | |||
dd: /dev/ada2: short write on character device | |||
dd: /dev/ada2: end of device | |||
5+0 records in | |||
4+1 records out | |||
4546560 bytes transferred in 0.075279 secs (60396406 bytes/sec) | |||
Running gpart on /dev/ada2 | |||
Running: gpart create -s GPT -f active /dev/ada2 | |||
ada2 created | |||
Running: gpart add -s 512 -t freebsd-boot /dev/ada2 | |||
ada2p1 added | |||
Stamping boot sector on /dev/ada2 | |||
Running: gpart bootcode -b /boot/pmbr /dev/ada2 | |||
bootcode written to ada2 | |||
Running: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 /dev/ada2 | |||
partcode written to ada2p1 | |||
bootcode written to ada2 | |||
Running: gpart add -a 4k -s 305230M -t freebsd-zfs /dev/ada0 | |||
ada0p2 added | |||
Cloning disk layout to ZFS disk /dev/ada2 | |||
Running: gpart add -a 4k -s 305230M -t freebsd-zfs /dev/ada2 | |||
ada2p2 added | |||
Running: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 /dev/ada0 | |||
partcode written to ada0p1 | |||
bootcode written to ada0 | |||
Creating geli provider for /dev/ada0p2 | |||
Running: geli init -g -b -J /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada0p2 | |||
Metadata backup can be found in /var/backups/ada0p2.eli and | |||
can be restored with the following command: | |||
# geli restore /var/backups/ada0p2.eli /dev/ada0p2 | |||
Running: geli attach -j /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada0p2 | |||
Setting up GELI on mirrored disks: /dev/ada2p2 | |||
Running: geli init -g -b -J /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada2p2 | |||
Metadata backup can be found in /var/backups/ada2p2.eli and | |||
can be restored with the following command: | |||
# geli restore /var/backups/ada2p2.eli /dev/ada2p2 | |||
Running: geli attach -j /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada2p2 | |||
NEWFS: /dev/ada0p2 - ZFS | |||
Creating storage pool vatertop with mirror /dev/ada0p2.eli /dev/ada2p2.eli | |||
Running: zpool create -m none -f vatertop mirror /dev/ada0p2.eli /dev/ada2p2.eli | |||
zfs create -p vatertop/ROOT | |||
Running: zfs create -p vatertop/ROOT | |||
zfs create -p vatertop/ROOT/initial | |||
Running: zfs create -p vatertop/ROOT/initial | |||
Running: zfs set mountpoint=/mnt vatertop/ROOT/initial | |||
Stamping vatertop/ROOT/initial as bootfs | |||
Running: zpool set bootfs=vatertop/ROOT/initial vatertop | |||
Running: zfs set compress=lz4 vatertop/ROOT/initial | |||
Running: zfs set atime=off vatertop/ROOT/initial | |||
zfs create -p vatertop/tmp | |||
Running: zfs create -p vatertop/tmp | |||
Running: zfs set mountpoint=/mnt/tmp vatertop/tmp | |||
Running: zfs set compress=lz4 vatertop/tmp | |||
Running: zfs set setuid=off vatertop/tmp | |||
zfs create -p vatertop/usr | |||
Running: zfs create -p vatertop/usr | |||
Running: zfs set mountpoint=/mnt/usr vatertop/usr | |||
Running: zfs set canmount=off vatertop/usr | |||
Running: zfs set mountpoint=none vatertop/usr | |||
zfs create -p vatertop/usr/home | |||
Running: zfs create -p vatertop/usr/home | |||
Running: zfs set mountpoint=/mnt/usr/home vatertop/usr/home | |||
Running: zfs set compress=lz4 vatertop/usr/home | |||
zfs create -p vatertop/usr/jails | |||
Running: zfs create -p vatertop/usr/jails | |||
Running: zfs set mountpoint=/mnt/usr/jails vatertop/usr/jails | |||
Running: zfs set compress=lz4 vatertop/usr/jails | |||
zfs create -o canmount=off -p vatertop/usr/local | |||
Running: zfs create -o canmount=off -p vatertop/usr/local | |||
Running: zfs set mountpoint=none vatertop/usr/local | |||
zfs create -o canmount=off -p vatertop/usr/local/share | |||
Running: zfs create -o canmount=off -p vatertop/usr/local/share | |||
Running: zfs set mountpoint=none vatertop/usr/local/share | |||
zfs create -p vatertop/usr/local/share/doc | |||
Running: zfs create -p vatertop/usr/local/share/doc | |||
Running: zfs set mountpoint=/mnt/usr/local/share/doc vatertop/usr/local/share/doc | |||
Running: zfs set compress=gzip vatertop/usr/local/share/doc | |||
zfs create -p vatertop/usr/obj | |||
Running: zfs create -p vatertop/usr/obj | |||
Running: zfs set mountpoint=/mnt/usr/obj vatertop/usr/obj | |||
Running: zfs set compress=lz4 vatertop/usr/obj | |||
zfs create -p vatertop/usr/ports | |||
Running: zfs create -p vatertop/usr/ports | |||
Running: zfs set mountpoint=/mnt/usr/ports vatertop/usr/ports | |||
Running: zfs set compress=lz4 vatertop/usr/ports | |||
zfs create -p vatertop/usr/src | |||
Running: zfs create -p vatertop/usr/src | |||
Running: zfs set mountpoint=/mnt/usr/src vatertop/usr/src | |||
Running: zfs set compress=lz4 vatertop/usr/src | |||
zfs create -p vatertop/var | |||
Running: zfs create -p vatertop/var | |||
Running: zfs set mountpoint=/mnt/var vatertop/var | |||
Running: zfs set canmount=off vatertop/var | |||
Running: zfs set atime=on vatertop/var | |||
zfs create -p vatertop/var/audit | |||
Running: zfs create -p vatertop/var/audit | |||
Running: zfs set mountpoint=/mnt/var/audit vatertop/var/audit | |||
Running: zfs set compress=lz4 vatertop/var/audit | |||
zfs create -p vatertop/var/log | |||
Running: zfs create -p vatertop/var/log | |||
Running: zfs set mountpoint=/mnt/var/log vatertop/var/log | |||
Running: zfs set compress=lz4 vatertop/var/log | |||
Running: zfs set exec=off vatertop/var/log | |||
Running: zfs set setuid=off vatertop/var/log | |||
zfs create -p vatertop/var/mail | |||
Running: zfs create -p vatertop/var/mail | |||
Running: zfs set mountpoint=/mnt/var/mail vatertop/var/mail | |||
Running: zfs set compress=lz4 vatertop/var/mail | |||
zfs create -p vatertop/var/tmp | |||
Running: zfs create -p vatertop/var/tmp | |||
Running: zfs set mountpoint=/mnt/var/tmp vatertop/var/tmp | |||
Running: zfs set compress=lz4 vatertop/var/tmp | |||
Running: zfs set exec=off vatertop/var/tmp | |||
Running: zfs set setuid=off vatertop/var/tmp | |||
Running: tar xvpf /dist/packages/All/fbsd-distrib.txz -C /mnt | |||
</pre> | |||
<pre> | |||
x ./ | |||
x ./root/ | |||
x ./proc/ | |||
x ./net/ | |||
x ./etc/ | |||
x ./.cshrc | |||
x ./usr/ | |||
x ./bin/ | |||
x ./boot/ | |||
x ./lib/ | |||
x ./libexec/ | |||
x ./rescue/ | |||
x ./mnt/ | |||
x ./sbin/ | |||
x ./.profile | |||
x ./tmp/ | |||
x ./sys | |||
x ./COPYRIGHT | |||
x ./media/ | |||
x ./dev/ | |||
x ./var/ | |||
</pre> | |||
<pre> | |||
</pre> | |||
<pre> | |||
Running: mkdir -p /mnt/compat | |||
Running: mkdir -p /mnt/packages | |||
Running: mount_nullfs /dist/packages /mnt/packages | |||
pkg -c /mnt add /packages/All/FreeBSD--development-12.0.s20171108182534.txz | |||
</pre> | |||
<pre> | |||
</pre> | |||
<pre> | |||
pkg -c /mnt add /packages/All/FreeBSD-zfs-12.0.s20171108182534.txz | |||
Running: umount -f /mnt/packages | |||
Running: mkdir -p /mnt/usr/.pkgtmp | |||
Running: mount_nullfs /dist/packages /mnt/mnt | |||
Running: cd /mnt/mnt | |||
Running chroot command: which pkg-static | |||
Bootstraping pkgng.. | |||
Running: cd /dist/packages | |||
Running: pkg -c /mnt add /mnt/All/pkg-1.10.1.txz | |||
Installing pkg-1.10.1... | |||
Extracting pkg-1.10.1: .......... done | |||
Running chroot command: pkg -R /mnt/repo-installer update -f | |||
Packages to install: 22 | |||
Running chroot command: pkg info -e misc/trueos-desktop | |||
Installing package: misc/trueos-desktop | |||
Running chroot command: pkg add /mnt/All/trueos-desktop-201710251909.txz | |||
Running chroot command: pkg add /mnt/All/trueos-desktop-201710251909.txz | |||
Installing trueos-desktop-201710251909... | |||
</pre> | |||
<pre> | |||
</pre> | |||
<pre> | |||
Extracting trueos-desktop-201710251909: .......... done | |||
Doing first-time bootstrap | |||
* service ipfw added to runlevel boot | |||
* service devd added to runlevel boot | |||
* service devfs added to runlevel boot | |||
* rc-update: routing already installed in runlevel `boot'; skipping | |||
* service automount added to runlevel default | |||
* service statd added to runlevel default | |||
* service lockd added to runlevel default | |||
* service rpcbind added to runlevel default | |||
* service cupsd added to runlevel default | |||
* service cups_browsed added to runlevel default | |||
* rc-update: service `dhcpcd' is not in the runlevel `default' | |||
* rc-update: service `wpa_supplicant' is not in the runlevel `default' | |||
* service openntpd added to runlevel default | |||
* service pcdm added to runlevel default | |||
* service sysadm added to runlevel default | |||
* service dbus added to runlevel default | |||
* rc-update: service `hald' does not exist | |||
* service trueosinit added to runlevel default | |||
* service moused added to runlevel default | |||
* service bsdstats added to runlevel default | |||
* service automountd added to runlevel default | |||
* service autounmountd added to runlevel default | |||
* rc-update: service `sndiod' does not exist | |||
* service mountlate added to runlevel default | |||
webcamd_enable: -> YES | |||
kldload_i915: -> | |||
kld_list: -> | |||
kldload_i915kms: -> | |||
* rc-update: trueosinit already installed in runlevel `default'; skipping | |||
Message from anacron-2.3_6: | |||
Configuration hints: | |||
- Edit /usr/local/etc/anacrontab | |||
- Deactivate the 'periodic' commands in /etc/crontab | |||
- Add a call to anacron to /etc/crontab, like | |||
0 0 * * * root /usr/local/sbin/anacron | |||
- Add anacron_enable="YES" to /etc/rc.conf | |||
- Read anacron(8) and anacrontab(5) | |||
Message from bsdstats-6.0_2: | |||
</pre> | |||
<pre> | |||
</pre> | |||
<pre> | |||
Running chroot command: rm -rf /usr/local/tmp/All | |||
Running chroot command: pkg info -e x11-fonts/droid-fonts-ttf | |||
Package installation complete! | |||
Cleaning up: /mnt/usr/.pkgtmp | |||
Running: cd /dev | |||
Running: umount /mnt/mnt | |||
Running: rmdir /mnt/usr/.pkgtmp | |||
Running chroot command: /usr/bin/cap_mkdb /etc/login.conf | |||
Setting em0 to DHCP on the system. | |||
Setting wlan0 to DHCP on the system. | |||
Creating parent wlan0 for iwn0 | |||
Running chroot command: ln -s /usr/home /home | |||
Setting hostname: trueos-6202 | |||
Running external command: /root/save-config.sh | |||
Running external command: cp /root/defaultpkgbranch ${FSMNT}/root/defaultpkgbranch | |||
Running chroot command: sh /usr/local/share/trueos/scripts/sys-init.sh desktop en_US | |||
Running chroot command: touch /var/.trueos-firstboot | |||
Running chroot command: touch /var/.trueos-firstgui | |||
Running external command: cp /etc/X11/xorg.conf ${FSMNT}/etc/X11/xorg.conf | |||
Running chroot command: echo "pc101 us altgr-intl" >/var/.wizardKeyboard | |||
Running chroot command: newaliases | |||
Running: mount -t devfs devfs /mnt/dev | |||
Running: cp /boot/zfs/zpool.cache /mnt/boot/zfs/ | |||
Running: ln -s ../zfs /mnt/boot/kernel/zfs | |||
Running: cp /etc/hostid /mnt/etc/hostid | |||
Running: umount /mnt/dev | |||
ZFS Unmount: vatertop/var/tmp | |||
Running: zfs unmount vatertop/var/tmp | |||
Running: zfs set mountpoint=/var/tmp vatertop/var/tmp | |||
ZFS Unmount: vatertop/var/mail | |||
Running: zfs unmount vatertop/var/mail | |||
Running: zfs set mountpoint=/var/mail vatertop/var/mail | |||
ZFS Unmount: vatertop/var/log | |||
Running: zfs unmount vatertop/var/log | |||
Running: zfs set mountpoint=/var/log vatertop/var/log | |||
ZFS Unmount: vatertop/var/audit | |||
Running: zfs unmount vatertop/var/audit | |||
Running: zfs set mountpoint=/var/audit vatertop/var/audit | |||
ZFS Unmount: vatertop/usr/src | |||
Running: zfs unmount vatertop/usr/src | |||
Running: zfs set mountpoint=/usr/src vatertop/usr/src | |||
ZFS Unmount: vatertop/usr/ports | |||
Running: zfs unmount vatertop/usr/ports | |||
Running: zfs set mountpoint=/usr/ports vatertop/usr/ports | |||
ZFS Unmount: vatertop/usr/obj | |||
Running: zfs unmount vatertop/usr/obj | |||
Running: zfs set mountpoint=/usr/obj vatertop/usr/obj | |||
ZFS Unmount: vatertop/usr/local/share/doc | |||
Running: zfs unmount vatertop/usr/local/share/doc | |||
Running: zfs set mountpoint=/usr/local/share/doc vatertop/usr/local/share/doc | |||
ZFS Unmount: vatertop/usr/jails | |||
Running: zfs unmount vatertop/usr/jails | |||
Running: zfs set mountpoint=/usr/jails vatertop/usr/jails | |||
ZFS Unmount: vatertop/usr/home | |||
Running: zfs unmount vatertop/usr/home | |||
Running: zfs set mountpoint=/usr/home vatertop/usr/home | |||
ZFS Unmount: vatertop/tmp | |||
Running: zfs unmount vatertop/tmp | |||
Running: zfs set mountpoint=/tmp vatertop/tmp | |||
Unmounting: /mnt | |||
Running: umount -f /mnt | |||
Installation finished! | |||
</pre> | |||
part-info_-dev-ada0p2 | |||
<pre> | |||
ZFS#/(compress=lz4|atime=off),/tmp(compress=lz4|setuid=off),/usr(canmount=off|mountpoint=none),/usr/home(compress=lz4),/usr/jails(compress=lz4),/usr/local/share/doc(compress=gzip),/usr/obj(compress=lz4),/usr/ports(compress=lz4),/usr/src(compress=lz4),/var(canmount=off|atime=on|mountpoint=none),/var/audit(compress=lz4),/var/log(compress=lz4|exec=off|setuid=off),/var/mail(compress=lz4),/var/tmp(compress=lz4|exec=off|setuid=off)#ON#zpool0#GPT#mirror /dev/ada0p2.eli /dev/ada2p2.eli | |||
</pre> | |||
sys-install.cfg | |||
<pre> | |||
# Auto-Generated pc-sysinstall configuration | |||
installInteractive=no | |||
installMode=fresh | |||
installType=TrueOS | |||
packageType=pkg | |||
distFiles=base doc kernel lib32 | |||
zpoolName=vatertop | |||
zfsForce4k=YES | |||
netSaveDev=AUTO-DHCP-SLAAC | |||
installMedium=local | |||
localPath=/dist | |||
# Disk setup for ada0 | |||
disk0=ada0 | |||
partition=ALL | |||
bootManager=BSD | |||
partscheme=GPT | |||
commitDiskPart | |||
# Partition Setup for ada0(ALL) | |||
# All sizes are expressed in MB | |||
# Avail FS Types, UFS, UFS+S, UFS+SUJ, UFS+J, ZFS, SWAP | |||
# UFS.eli, UFS+S.eli, UFS+SUJ, UFS+J.eli, ZFS.eli, SWAP.eli | |||
disk0-part=ZFS.eli 305230 /(compress=lz4|atime=off),/tmp(compress=lz4|setuid=off),/usr(canmount=off|mountpoint=none),/usr/home(compress=lz4),/usr/jails(compress=lz4),/usr/local/share/doc(compress=gzip),/usr/obj(compress=lz4),/usr/ports(compress=lz4),/usr/src(compress=lz4),/var(canmount=off|atime=on|mountpoint=none),/var/audit(compress=lz4),/var/log(compress=lz4|exec=off|setuid=off),/var/mail(compress=lz4),/var/tmp(compress=lz4|exec=off|setuid=off) (mirror: ada2) | |||
encpass=das-ist-das-passwort-fuer-die-verschluesselung-des-massenspeichers-im-klartext | |||
commitDiskLabel | |||
runExtCommand=/root/save-config.sh | |||
installPackages=misc/trueos-desktop x11/lumina sysutils/fusefs-ntfs www/firefox www/qupzilla-qt5 mail/thunderbird mail/trojita multimedia/vlc multimedia/openh264 multimedia/libdvdcss audio/pianobar x11-themes/cursor-jimmac-theme graphics/phototonic misc/trueos-meta-hunspell x11/qterminal graphics/xsane print/qpdfview print/cups-pdf print/cups-filters print/gutenprint x11-fonts/noto-lite x11-fonts/droid-fonts-ttf | |||
runExtCommand=cp /root/defaultpkgbranch ${FSMNT}/root/defaultpkgbranch | |||
runCommand=sh /usr/local/share/trueos/scripts/sys-init.sh desktop en_US | |||
# Touch flags to enable TrueOS setup at first boot | |||
runCommand=touch /var/.trueos-firstboot | |||
runCommand=touch /var/.trueos-firstgui | |||
runExtCommand=cp /etc/X11/xorg.conf ${FSMNT}/etc/X11/xorg.conf | |||
runCommand=echo "pc101 us altgr-intl" >/var/.wizardKeyboard | |||
runCommand=newaliases | |||
</pre> |
Version vom 25. November 2017, 07:05 Uhr
Dinge, die gesichert werden sollte, wenn größer umgezogen wird
muss
- persönliche Daten
- ~
- Festhalten der UID
sudo cat /etc/passwd | grep ~
iooi:*:1001:1001:IOOI:/usr/home/iooi:/bin/csh
- Zugangsdaten fürs Netzwerk (WPA)
- /etc/wpa_supplicant.conf
- bestehende genutzte Zertifikate mitnehmen
ls /usr/local/etc/ssl/certs/
Installation mit 2 Geräten für Massenspeicher als Spiegel
pc-sysinstall.log
kern.geom.debugflags: 0 -> 16 kern.geom.label.disk_ident.enable: 0 -> 0 Deleting all gparts Running: gpart destroy -F /dev/ada0 gpart: arg0 'ada0': Invalid argument Running: zpool labelclear -f /dev/ada0 failed to read label from /dev/ada0 Running: gpart create -s gpt /dev/ada0 ada0 created Running: gpart destroy -F /dev/ada0 ada0 destroyed Clearing gpt backup table location on disk Running: dd if=/dev/zero of=/dev/ada0 bs=1m count=1 1+0 records in 1+0 records out 1048576 bytes transferred in 0.046040 secs (22775338 bytes/sec) Running: dd if=/dev/zero of=/dev/ada0 bs=1m oseek=305241 dd: /dev/ada0: short write on character device dd: /dev/ada0: end of device 5+0 records in 4+1 records out 4546560 bytes transferred in 0.082831 secs (54889445 bytes/sec) Running gpart on /dev/ada0 Running: gpart create -s GPT -f active /dev/ada0 ada0 created Running: gpart add -s 512 -t freebsd-boot /dev/ada0 ada0p1 added Stamping boot sector on /dev/ada0 Running: gpart bootcode -b /boot/pmbr /dev/ada0 bootcode written to ada0 Looping through _zvars: /dev/ada0p2 Looping through _zvars: /dev/ada2 Setting up ZFS disk /dev/ada2 kern.geom.debugflags: 16 -> 16 kern.geom.label.disk_ident.enable: 0 -> 0 Deleting all gparts Running: gpart destroy -F /dev/ada2 gpart: arg0 'ada2': Invalid argument Running: zpool labelclear -f /dev/ada2 failed to read label from /dev/ada2 Running: gpart create -s gpt /dev/ada2 ada2 created Running: gpart destroy -F /dev/ada2 ada2 destroyed Clearing gpt backup table location on disk Running: dd if=/dev/zero of=/dev/ada2 bs=1m count=1 1+0 records in 1+0 records out 1048576 bytes transferred in 0.046489 secs (22555159 bytes/sec) Running: dd if=/dev/zero of=/dev/ada2 bs=1m oseek=305241 dd: /dev/ada2: short write on character device dd: /dev/ada2: end of device 5+0 records in 4+1 records out 4546560 bytes transferred in 0.075279 secs (60396406 bytes/sec) Running gpart on /dev/ada2 Running: gpart create -s GPT -f active /dev/ada2 ada2 created Running: gpart add -s 512 -t freebsd-boot /dev/ada2 ada2p1 added Stamping boot sector on /dev/ada2 Running: gpart bootcode -b /boot/pmbr /dev/ada2 bootcode written to ada2 Running: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 /dev/ada2 partcode written to ada2p1 bootcode written to ada2 Running: gpart add -a 4k -s 305230M -t freebsd-zfs /dev/ada0 ada0p2 added Cloning disk layout to ZFS disk /dev/ada2 Running: gpart add -a 4k -s 305230M -t freebsd-zfs /dev/ada2 ada2p2 added Running: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 /dev/ada0 partcode written to ada0p1 bootcode written to ada0 Creating geli provider for /dev/ada0p2 Running: geli init -g -b -J /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada0p2 Metadata backup can be found in /var/backups/ada0p2.eli and can be restored with the following command: # geli restore /var/backups/ada0p2.eli /dev/ada0p2 Running: geli attach -j /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada0p2 Setting up GELI on mirrored disks: /dev/ada2p2 Running: geli init -g -b -J /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada2p2 Metadata backup can be found in /var/backups/ada2p2.eli and can be restored with the following command: # geli restore /var/backups/ada2p2.eli /dev/ada2p2 Running: geli attach -j /tmp/.pc-sysinstall/part-info-enc/-dev-ada0p2-encpass /dev/ada2p2 NEWFS: /dev/ada0p2 - ZFS Creating storage pool vatertop with mirror /dev/ada0p2.eli /dev/ada2p2.eli Running: zpool create -m none -f vatertop mirror /dev/ada0p2.eli /dev/ada2p2.eli zfs create -p vatertop/ROOT Running: zfs create -p vatertop/ROOT zfs create -p vatertop/ROOT/initial Running: zfs create -p vatertop/ROOT/initial Running: zfs set mountpoint=/mnt vatertop/ROOT/initial Stamping vatertop/ROOT/initial as bootfs Running: zpool set bootfs=vatertop/ROOT/initial vatertop Running: zfs set compress=lz4 vatertop/ROOT/initial Running: zfs set atime=off vatertop/ROOT/initial zfs create -p vatertop/tmp Running: zfs create -p vatertop/tmp Running: zfs set mountpoint=/mnt/tmp vatertop/tmp Running: zfs set compress=lz4 vatertop/tmp Running: zfs set setuid=off vatertop/tmp zfs create -p vatertop/usr Running: zfs create -p vatertop/usr Running: zfs set mountpoint=/mnt/usr vatertop/usr Running: zfs set canmount=off vatertop/usr Running: zfs set mountpoint=none vatertop/usr zfs create -p vatertop/usr/home Running: zfs create -p vatertop/usr/home Running: zfs set mountpoint=/mnt/usr/home vatertop/usr/home Running: zfs set compress=lz4 vatertop/usr/home zfs create -p vatertop/usr/jails Running: zfs create -p vatertop/usr/jails Running: zfs set mountpoint=/mnt/usr/jails vatertop/usr/jails Running: zfs set compress=lz4 vatertop/usr/jails zfs create -o canmount=off -p vatertop/usr/local Running: zfs create -o canmount=off -p vatertop/usr/local Running: zfs set mountpoint=none vatertop/usr/local zfs create -o canmount=off -p vatertop/usr/local/share Running: zfs create -o canmount=off -p vatertop/usr/local/share Running: zfs set mountpoint=none vatertop/usr/local/share zfs create -p vatertop/usr/local/share/doc Running: zfs create -p vatertop/usr/local/share/doc Running: zfs set mountpoint=/mnt/usr/local/share/doc vatertop/usr/local/share/doc Running: zfs set compress=gzip vatertop/usr/local/share/doc zfs create -p vatertop/usr/obj Running: zfs create -p vatertop/usr/obj Running: zfs set mountpoint=/mnt/usr/obj vatertop/usr/obj Running: zfs set compress=lz4 vatertop/usr/obj zfs create -p vatertop/usr/ports Running: zfs create -p vatertop/usr/ports Running: zfs set mountpoint=/mnt/usr/ports vatertop/usr/ports Running: zfs set compress=lz4 vatertop/usr/ports zfs create -p vatertop/usr/src Running: zfs create -p vatertop/usr/src Running: zfs set mountpoint=/mnt/usr/src vatertop/usr/src Running: zfs set compress=lz4 vatertop/usr/src zfs create -p vatertop/var Running: zfs create -p vatertop/var Running: zfs set mountpoint=/mnt/var vatertop/var Running: zfs set canmount=off vatertop/var Running: zfs set atime=on vatertop/var zfs create -p vatertop/var/audit Running: zfs create -p vatertop/var/audit Running: zfs set mountpoint=/mnt/var/audit vatertop/var/audit Running: zfs set compress=lz4 vatertop/var/audit zfs create -p vatertop/var/log Running: zfs create -p vatertop/var/log Running: zfs set mountpoint=/mnt/var/log vatertop/var/log Running: zfs set compress=lz4 vatertop/var/log Running: zfs set exec=off vatertop/var/log Running: zfs set setuid=off vatertop/var/log zfs create -p vatertop/var/mail Running: zfs create -p vatertop/var/mail Running: zfs set mountpoint=/mnt/var/mail vatertop/var/mail Running: zfs set compress=lz4 vatertop/var/mail zfs create -p vatertop/var/tmp Running: zfs create -p vatertop/var/tmp Running: zfs set mountpoint=/mnt/var/tmp vatertop/var/tmp Running: zfs set compress=lz4 vatertop/var/tmp Running: zfs set exec=off vatertop/var/tmp Running: zfs set setuid=off vatertop/var/tmp Running: tar xvpf /dist/packages/All/fbsd-distrib.txz -C /mnt
x ./ x ./root/ x ./proc/ x ./net/ x ./etc/ x ./.cshrc x ./usr/ x ./bin/ x ./boot/ x ./lib/ x ./libexec/ x ./rescue/ x ./mnt/ x ./sbin/ x ./.profile x ./tmp/ x ./sys x ./COPYRIGHT x ./media/ x ./dev/ x ./var/
Running: mkdir -p /mnt/compat Running: mkdir -p /mnt/packages Running: mount_nullfs /dist/packages /mnt/packages pkg -c /mnt add /packages/All/FreeBSD--development-12.0.s20171108182534.txz
pkg -c /mnt add /packages/All/FreeBSD-zfs-12.0.s20171108182534.txz Running: umount -f /mnt/packages Running: mkdir -p /mnt/usr/.pkgtmp Running: mount_nullfs /dist/packages /mnt/mnt Running: cd /mnt/mnt Running chroot command: which pkg-static Bootstraping pkgng.. Running: cd /dist/packages Running: pkg -c /mnt add /mnt/All/pkg-1.10.1.txz Installing pkg-1.10.1... Extracting pkg-1.10.1: .......... done Running chroot command: pkg -R /mnt/repo-installer update -f Packages to install: 22 Running chroot command: pkg info -e misc/trueos-desktop Installing package: misc/trueos-desktop Running chroot command: pkg add /mnt/All/trueos-desktop-201710251909.txz Running chroot command: pkg add /mnt/All/trueos-desktop-201710251909.txz Installing trueos-desktop-201710251909...
Extracting trueos-desktop-201710251909: .......... done Doing first-time bootstrap * service ipfw added to runlevel boot * service devd added to runlevel boot * service devfs added to runlevel boot * rc-update: routing already installed in runlevel `boot'; skipping * service automount added to runlevel default * service statd added to runlevel default * service lockd added to runlevel default * service rpcbind added to runlevel default * service cupsd added to runlevel default * service cups_browsed added to runlevel default * rc-update: service `dhcpcd' is not in the runlevel `default' * rc-update: service `wpa_supplicant' is not in the runlevel `default' * service openntpd added to runlevel default * service pcdm added to runlevel default * service sysadm added to runlevel default * service dbus added to runlevel default * rc-update: service `hald' does not exist * service trueosinit added to runlevel default * service moused added to runlevel default * service bsdstats added to runlevel default * service automountd added to runlevel default * service autounmountd added to runlevel default * rc-update: service `sndiod' does not exist * service mountlate added to runlevel default webcamd_enable: -> YES kldload_i915: -> kld_list: -> kldload_i915kms: -> * rc-update: trueosinit already installed in runlevel `default'; skipping Message from anacron-2.3_6: Configuration hints: - Edit /usr/local/etc/anacrontab - Deactivate the 'periodic' commands in /etc/crontab - Add a call to anacron to /etc/crontab, like 0 0 * * * root /usr/local/sbin/anacron - Add anacron_enable="YES" to /etc/rc.conf - Read anacron(8) and anacrontab(5) Message from bsdstats-6.0_2:
Running chroot command: rm -rf /usr/local/tmp/All Running chroot command: pkg info -e x11-fonts/droid-fonts-ttf Package installation complete! Cleaning up: /mnt/usr/.pkgtmp Running: cd /dev Running: umount /mnt/mnt Running: rmdir /mnt/usr/.pkgtmp Running chroot command: /usr/bin/cap_mkdb /etc/login.conf Setting em0 to DHCP on the system. Setting wlan0 to DHCP on the system. Creating parent wlan0 for iwn0 Running chroot command: ln -s /usr/home /home Setting hostname: trueos-6202 Running external command: /root/save-config.sh Running external command: cp /root/defaultpkgbranch ${FSMNT}/root/defaultpkgbranch Running chroot command: sh /usr/local/share/trueos/scripts/sys-init.sh desktop en_US Running chroot command: touch /var/.trueos-firstboot Running chroot command: touch /var/.trueos-firstgui Running external command: cp /etc/X11/xorg.conf ${FSMNT}/etc/X11/xorg.conf Running chroot command: echo "pc101 us altgr-intl" >/var/.wizardKeyboard Running chroot command: newaliases Running: mount -t devfs devfs /mnt/dev Running: cp /boot/zfs/zpool.cache /mnt/boot/zfs/ Running: ln -s ../zfs /mnt/boot/kernel/zfs Running: cp /etc/hostid /mnt/etc/hostid Running: umount /mnt/dev ZFS Unmount: vatertop/var/tmp Running: zfs unmount vatertop/var/tmp Running: zfs set mountpoint=/var/tmp vatertop/var/tmp ZFS Unmount: vatertop/var/mail Running: zfs unmount vatertop/var/mail Running: zfs set mountpoint=/var/mail vatertop/var/mail ZFS Unmount: vatertop/var/log Running: zfs unmount vatertop/var/log Running: zfs set mountpoint=/var/log vatertop/var/log ZFS Unmount: vatertop/var/audit Running: zfs unmount vatertop/var/audit Running: zfs set mountpoint=/var/audit vatertop/var/audit ZFS Unmount: vatertop/usr/src Running: zfs unmount vatertop/usr/src Running: zfs set mountpoint=/usr/src vatertop/usr/src ZFS Unmount: vatertop/usr/ports Running: zfs unmount vatertop/usr/ports Running: zfs set mountpoint=/usr/ports vatertop/usr/ports ZFS Unmount: vatertop/usr/obj Running: zfs unmount vatertop/usr/obj Running: zfs set mountpoint=/usr/obj vatertop/usr/obj ZFS Unmount: vatertop/usr/local/share/doc Running: zfs unmount vatertop/usr/local/share/doc Running: zfs set mountpoint=/usr/local/share/doc vatertop/usr/local/share/doc ZFS Unmount: vatertop/usr/jails Running: zfs unmount vatertop/usr/jails Running: zfs set mountpoint=/usr/jails vatertop/usr/jails ZFS Unmount: vatertop/usr/home Running: zfs unmount vatertop/usr/home Running: zfs set mountpoint=/usr/home vatertop/usr/home ZFS Unmount: vatertop/tmp Running: zfs unmount vatertop/tmp Running: zfs set mountpoint=/tmp vatertop/tmp Unmounting: /mnt Running: umount -f /mnt Installation finished!
part-info_-dev-ada0p2
ZFS#/(compress=lz4|atime=off),/tmp(compress=lz4|setuid=off),/usr(canmount=off|mountpoint=none),/usr/home(compress=lz4),/usr/jails(compress=lz4),/usr/local/share/doc(compress=gzip),/usr/obj(compress=lz4),/usr/ports(compress=lz4),/usr/src(compress=lz4),/var(canmount=off|atime=on|mountpoint=none),/var/audit(compress=lz4),/var/log(compress=lz4|exec=off|setuid=off),/var/mail(compress=lz4),/var/tmp(compress=lz4|exec=off|setuid=off)#ON#zpool0#GPT#mirror /dev/ada0p2.eli /dev/ada2p2.eli
sys-install.cfg
# Auto-Generated pc-sysinstall configuration installInteractive=no installMode=fresh installType=TrueOS packageType=pkg distFiles=base doc kernel lib32 zpoolName=vatertop zfsForce4k=YES netSaveDev=AUTO-DHCP-SLAAC installMedium=local localPath=/dist # Disk setup for ada0 disk0=ada0 partition=ALL bootManager=BSD partscheme=GPT commitDiskPart # Partition Setup for ada0(ALL) # All sizes are expressed in MB # Avail FS Types, UFS, UFS+S, UFS+SUJ, UFS+J, ZFS, SWAP # UFS.eli, UFS+S.eli, UFS+SUJ, UFS+J.eli, ZFS.eli, SWAP.eli disk0-part=ZFS.eli 305230 /(compress=lz4|atime=off),/tmp(compress=lz4|setuid=off),/usr(canmount=off|mountpoint=none),/usr/home(compress=lz4),/usr/jails(compress=lz4),/usr/local/share/doc(compress=gzip),/usr/obj(compress=lz4),/usr/ports(compress=lz4),/usr/src(compress=lz4),/var(canmount=off|atime=on|mountpoint=none),/var/audit(compress=lz4),/var/log(compress=lz4|exec=off|setuid=off),/var/mail(compress=lz4),/var/tmp(compress=lz4|exec=off|setuid=off) (mirror: ada2) encpass=das-ist-das-passwort-fuer-die-verschluesselung-des-massenspeichers-im-klartext commitDiskLabel runExtCommand=/root/save-config.sh installPackages=misc/trueos-desktop x11/lumina sysutils/fusefs-ntfs www/firefox www/qupzilla-qt5 mail/thunderbird mail/trojita multimedia/vlc multimedia/openh264 multimedia/libdvdcss audio/pianobar x11-themes/cursor-jimmac-theme graphics/phototonic misc/trueos-meta-hunspell x11/qterminal graphics/xsane print/qpdfview print/cups-pdf print/cups-filters print/gutenprint x11-fonts/noto-lite x11-fonts/droid-fonts-ttf runExtCommand=cp /root/defaultpkgbranch ${FSMNT}/root/defaultpkgbranch runCommand=sh /usr/local/share/trueos/scripts/sys-init.sh desktop en_US # Touch flags to enable TrueOS setup at first boot runCommand=touch /var/.trueos-firstboot runCommand=touch /var/.trueos-firstgui runExtCommand=cp /etc/X11/xorg.conf ${FSMNT}/etc/X11/xorg.conf runCommand=echo "pc101 us altgr-intl" >/var/.wizardKeyboard runCommand=newaliases