Category: FreeBSD
Anything related to FreeBSD
Migrating UFS filesystem from one disk to another
I needed to migrate an UFS filesystem from one disk to another. I had several options including using two tar processes in a pipeline or using dump and restore in a pipeline. I opted for the latter to make sure everything got preserved during the transfer. Here’s the sequence of commands where /dev/gpt/nroot0 is the […]
Read More → Migrating UFS filesystem from one disk to anotherefi_max_resolution needed on base/head for UEFI systems without FHD displays
r331464 added efi_max_resolution. If you run base/head on monitors without Full HD (FHD), then you might need to specify your desired resolution in /boot/loader.conf. This should suffice for a resolution of 1280×1024 on 19 inches displays.
Read More →efi_max_resolution needed on base/head for UEFI systems without FHD displays
Kernel panic due to memory corruption
This is what a kernel panic may look like when facing memory corruption.
Read More → Kernel panic due to memory corruptionpkg add chokes on apparantly wrong OS version
I’m experimenting further with ports-mgmt/synth. I let synth create some packages for me and I then removed all installed packages, save the pkg package manager. What a surprise I got when attempting to add my own metaport!
Read More →pkg add chokes on apparantly wrong OS version
GNU Emacs flavours in FreeBSD
r460621 added flavours to editors/emacs. If you previously used editors/emacs-nox11 to get a flavour suitable for most server systems, you’re in for a couple of surprises.
Read More → GNU Emacs flavours in FreeBSDFirst experiences with ports-mgmt/synth
I spun up a virtual machine yesterday with the intent of learning how to use ports-mgmt/synth.
Read More → First experiences withports-mgmt/synth
Joint Python ports in FreeBSD
I woke up this morning only to be greeted by: As per /usr/ports/UPDATING, the solution is: Take note of the North-American spelling.
Read More → Joint Python ports in FreeBSDUpgrading from dns/bind910 to dns/bind911
Upgrading from dns/bind910 to dns/bind911 isn’t particularly difficult. Hopefully, these notes will prepare you for your own endeavour.
Read More → Upgrading fromdns/bind910 to dns/bind911
Boot menu changes in base/head r325694
Update 2017-11-13 r325743 corrected the mistakes. The below no longer applies. Remove /boot/loader.rc.local if you created it. /boot/loader.rc used to be copied from base/head/sys/boot/i386/loader/loader.rc on FreeBSD/amd64. With r325694 this changed to base/head/sys/boot/forth/loader.rc. Nothing was added to base/head/UPDATING, explaining this change. As instructed in /boot/loader.rc, to regain our beloved boot menu, we must create and edit […]
Read More → Boot menu changes in base/head r325694pf(4) as a NAT44 router
pf(4) is a bit optimistic with regard to how many states it can track using the defaults. Raising the hard limits to four times the default seems better:
Read More → pf(4) as a NAT44 router