The loader actually looks for /etc/fstab and tries to find the root filesystem. Here's the comment from src/sys/boot/common/boot.c
Code:/* * Try to find the /etc/fstab file on the filesystem (rootdev), * which should be be the root filesystem, and parse it to find * out what the kernel ought to think the root filesystem is. * * If we're successful, set vfs.root.mountfrom to <vfstype>:<path> * so that the kernel can tell both which VFS and which node to use * to mount the device. If this variable's already set, don't * overwrite it. */
I am sorry, I am kind of confused. I just created a new install and the system boots and immediately hangs wanting to know which is the root - but the system booted, so, um doesn't it know where the root is? I am completely new to FreeBSD but I am wondering why the system installed then sort-of wants to boot but doesn't know where it's own root is?
Thx/Bill