๐ ~1 min read
Table of contents
Symptom & Impact
Host does not auto-boot, requiring console intervention and causing downtime.
Environment & Reproduction
Seen after boot disk changes, loader.conf edits, or failed updates.
boot
Root Cause Analysis
Boot loader cannot locate kernel or valid root filesystem without manual input.
Quick Triage
Identify boot device and attempt single-user boot for recovery.
lsdev
Step-by-Step Diagnosis
Inspect /boot/loader.conf and verify ZFS bootfs/root hints.
cat /boot/loader.conf

Solution – Primary Fix
Correct loader settings and reinstall bootcode if disk mapping changed.
Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1

Solution – Alternative Approaches
Boot from installation media and chroot to repair boot configuration.
Verification & Acceptance Criteria
System boots unattended to multi-user target on next restart.
Rollback Plan
Restore prior loader.conf and bootcode backup where available.
Prevention & Hardening
Snapshot boot config before maintenance and test reboot in change windows.
Related Errors & Cross-Refs
May overlap with damaged GPT metadata and missing kernel files.
Related tutorial: View the step-by-step tutorial for freebsd-15.
View all freebsd-15 tutorials on the Tutorials Hub โ
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
FreeBSD boot loader and recovery handbook sections.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today โ we respond within one business day.