Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to boot FreeBSD over TFTP?

All the instructions I've seen require you to transition to NFS after PXEBOOT has loaded.

share|improve this question
up vote 2 down vote accepted

No, you can only grab a kernel image and initial ramdisk over TFTP.

Once the kernel has loaded it needs somewhere to load the root filesystem from. The FreeBSD kernel only knows how to use UFS, ZFS or NFS as its root filesystem.

You may be able to create a ramdisk loaded over TFTP from something like mfsBSD to have a UFS image in memory.

share|improve this answer
so how does OpenBSD do this? – Hawken Apr 21 '12 at 23:44
As far as I'm aware, OpenBSD can only do it using the bsd.rd kernel image, which contains a ramdisk. This is the same as using mfsBSD. – James O'Gorman Apr 22 '12 at 9:26
So FreeBSD has no built-in ram-disk kernel, you have to use an unofficial build? I thought that running off of Ram was the whole point of netbooting. If you have more than one BSD machine netbooting does each need its own separate NFS drive? – Hawken Apr 22 '12 at 13:12
OpenBSD just happens to provide a ramdisk by default. FreeBSD promotes building the system from source as part of an upgrade, so there is no issue with you building your own stripped-down system for a ramdisk image. Netboots don't necessarily run off ramdisks; historically it would've been for an NFS root. Multiple machines can use the same NFS root. – James O'Gorman Apr 22 '12 at 14:41
how do they not corrupt each other's Filesystem if they do? – Hawken Apr 22 '12 at 14:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.