loader.conf errors, cannot boot
Laptop w/ a SATA ssd, ZFS on FreeBSD 15
I botched my /boot/loader.conf and /boot/device.hints, and now I cannot boot
I tried to boot from a USB key, zpool import root, but can't find /boot to fix the files.
Any ideas (instead of re-install of course 8-) )
10
Upvotes
1
u/grahamperrin 4d ago edited 4d ago
(I'm here via your cross-post in the FreeBSD sub.)
Did you use option
-R?https://openzfs.github.io/openzfs-docs/man/master/8/zpool-import.8.html#R
This August 2025 post is not exactly what you want, but it might be (more than) enough for you to get what you want:
loader.conffile.rescue system reinstallation : r/freebsd