Tired of Linux bloatwares lately (systemd/Wayland/...) I'm trying my X230Tablet on FreeBSD 11.\\
I like the concept, [[https://www.freebsd.org/docs.html|the doc!!]] the packages or source method to install a [[https://www.freebsd.org/ports/categories-grouped.html|tons of software]]
:!: work in progress not yt done as the system is not as flexible as I could hope... I compiled Xorg with an unsupported driver, no way to have the compilation back to normal...
I use the default install using my full hard drive (zfs encrypted). Just boot on the CD, answer some questions, then continue reading for the rest:
====== Post install ======
first let's grab an updated version of ports:
:!: do only once ! use the update command below afterwards
portsnap fetch
once done let's extract it:
portsnap extract
all in one:
portsnap fetch extract
===== fresh the ports =====
:!:Later, update the tree using:
portsnap fetch update
===== Vim =====
I use Vim :) so:
whereis vim
vim: /usr/ports/editors/vim
let's compile it + its dependencies:
cd /usr/ports/editors/vim
make install clean
go grab tea/coffee!
====== Xorg ======
Let's go graphical!
whereis xorg
cd /usr/ports/x11/xorg
make install clean
Continue on drinking coffee/tea 8-)
After some minutes, we have Xorg installed, now we need to configure it:
/usr/local/bin/Xorg -configure
cp xorg.conf.new /etc/X11/xorg.conf
Add your user to the video and wheel groups
pw groupmod wheel -M < your user>
pw groupmod video -M < your user>
Add those lines in /etc/rc.conf:
hald_enable="YES"
dbus_enable="YES
====== XDM ======
Some login manager, I like it simple :)
cd /usr/local/x11/xdm
make install clean
edit /etc/ttys
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure
check your ~/.xsession-errors files for problems if you cannot login
I had to install xsm ...
===== Fluxbox =====
Let's have some more modern Window Manager
cd /usr/ports/x11-wm/fluxbox
make install clean BATCH=yes
Add the following in you ~/.xinitrc:
exec startfluxbox
===== Virtualbox =====
Let's install some virtual machine thus an hypervisor
cd /usr/ports/emulators/virtualbox-ose
make install clean BATCH=yes
edit /boot/loader.conf to add:
vboxdrv_load="YES"
edit /etc/rc.conf :
vboxnet_enable="YES"
Reboot
pw groupmod vboxusers -m
smooth restrictions:
chown root:vboxusers /dev/vboxnetctl
chmod 0660 /dev/vboxnetctl
FIXME compilation ends with errors ... no pkg available( pkg_add does not work here...)
So end of test and waste of time
Checklist for further tests:
===== Portmaster =====
cd /usr/ports/pots-mgmt/portmaster
make install clean BATCH=yes
* wifi works
* named/local dns (optional but prefered)
* sysutils/automounter
* hal/dbus/amd setup
* bootsplash enhancements
* https://www.freebsd.org/doc/handbook/ports-using.html portmaster
References
* https://openclassrooms.com/courses/a-la-decouverte-d-unix-freebsd
* https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition
* https://www.banym.de/freebsd/freebsd-10-1-using-uefi
* http://unix.stackexchange.com/questions/147939/freebsd-10-with-root-on-zfs-using-only-a-part-of-the-disk
* https://lildude.co.uk/zfs-cheatsheet/
* http://www.bsdnow.tv/tutorials/zfs
* https://www.freebsd.org/doc/handbook/x-xdm.html
* https://www.freebsd.org/doc/handbook/virtualization-host-virtualbox.html
* https://www.freebsd.org/doc/handbook/network-wireless.html
* http://srobb.net/fbsdquickwireless.html