unable to unlink /dev/dev
. And I'm wondering how it loads the kernel if it can't find the filesystem (the kernel is stored on the filesystem). I'm a little puzzled by theunable to unlink /dev/dev
. And I'm wondering how it loads the kernel if it can't find the filesystem (the kernel is stored on the filesystem).
What filesystem is the server using? UFS? Anything advanced like full disk encryption? Have you tried booting a rescue image? Are the disk(s) still good?
mountroot: unable to remount devfs under /dev
, which led me to believe that my root filesystem wasn't being mounted correctly. In fact, it wasn't and it was due to an incorrect entry in /boot/loader.conf
: vfs.root.mountfrom="zfs:zroot"
should have been vfs.root.mountfrom="zfs:zroot/ROOT/default"
, which conforms to FreeBSD's default ZFS Boot Environment layout on used for ZFS Root installs.Thank you for this really helpful message.mountroot: unable to remount devfs under /dev
I spent many hours on same error today.
Fix for me was to create empty/dev /tmp /proc