Install FreeBSD on a PC, then unplug the disk and plug it another PC, does this work?

On most Windows and Linux OS'es, given if they both are MBR or GPT, this works. But does it work for FreeBSD? I've got a small NAS device, that needs to be done like this so.
 
The ethernet connection might be different that is all.
Also maybe Legacy Install versus EFI

You can add this for ethernet in /etc/rc.conf
Code:
ifconfig_DEFAULT="DHCP"
It will connect the new interface automatically.
 
Yes. I do it all the time.

And, this works with Linux, Solaris, and any other UNIX-like O/S.

I have been able to do this with Windows too. But one needs to be very careful with implied disk geometry. Even though disks these days use LBA,Windows is still sensitive to CHS geometry. The UNIX-like O/Ss have no such problems.
 
Your only potential issue is graphics drivers. That's been the only issue I encountered and it was due to pulling a drive from a laptop that was broken and putting the drive into another model to replace the broken system. I needed to change the graphics driver. Other than that there was no issue. I also moved the internal wifi card over.

I would suggest considering pairing you install with a USB wifi dongle of you want to use wifi.
 
Adding to the suggestions above, /etc/fstab entries may need to be adjusted if the new PC has a different disk layout. I use gpt labels in fstab, which works fine as long the labels are not duplicated.
 
Somewhat different, but very similar experience to what I have done. I have twice installed a new motherboard (complete upgrade of platform) and did not do any changes to the hard drives, and the FreeBSD installation started up without any issues. I was careful about disk order and layout, but it was so seamless, the upgrade was almost boring!
 
Back
Top