Upgrading motherboard/cpu without re-installing?

So I'm planning on switching out the motherboard and CPU on my current FreeBSD NAS/VM system at home. I'm going to export the main storage ZFS array, then backup the /etc and /usr/local/etc config files just in case. I should be fine just booting up with the new hardware without worrying about having to re-install FreeBSD, correct? Or is there a 'reconfigure/reinstall' hardware command that'll help? Any other gotchas?
 
I should be fine just booting up with the new hardware without worrying about having to re-install FreeBSD, correct?
Unless it's some exotic hardware that requires extra drivers it should be fine without having to re-install. Don't try to run a 64 bit FreeBSD on a 32 bit CPU though, that's not going to work. The other way around (32 bit OS on 64 bit CPU) will work without problems.
 
You maybe have to edit /etc/pf.conf and /etc/rc.conf if the NIC vendor is changing.
For example
Code:
ifconfig_em0="DHCP"
to
Code:
ifconfig_re0="DHCP"
 
You can use ifconfig_DEFAULT, then it'll just use the first ethernet interface it can find. For most, single interface, systems this should work fine. Things get a little unpredictable when there's more than one interface.
 
By and large this was quite painless. Other than needing to upgrade from 11.3 to 12.1 to solve an issue with bhyve Linux VMs trying to install spectre v2 mitigations and causing linux kernel panics inside the VMs. Once I upgraded to 12.1, including updating all installed packages, that all went away :)
 
Back
Top