Last active
July 6, 2017 21:43
-
-
Save segrax/1968f1582ca0180afd50 to your computer and use it in GitHub Desktop.
FreeBSD manual install on zfs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdconfig -a -t vnode -f FreeBSD-11.0-RELEASE-amd64-disc1.iso | |
mount -t cd9660 /dev/md0 /cdrom | |
zfs create pool/os | |
zfs create pool/os/fbsd11 | |
export DESTDIR=/pool/os/fbsd11 | |
cd /cdrom/usr/freebsd-dist | |
for file in base.txz lib32.txz kernel.txz; | |
do (cat $file | tar --unlink -xpJf - -C ${DESTDIR:-/}); done | |
zpool set bootfs=pool/os/fbsd11 pool | |
cd | |
umount /cdrom | |
mdconfig -d -u 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment