Boot issue after upgrade
freebsd at edvax.de
Sun Dec 10 22:16:47 UTC 2017
On Sun, 10 Dec 2017 14:52:34 -0500, Robert Fitzpatrick via freebsd-questions wrote:
> Since I upgraded a server from FreeBSD 10.1 to 10.4, it no longer boots
> to the standard BSD menu. Instead, it kicks me to an OK prompt where I
> have to 'set currdev=disk0s1a', then boot. How can I get my automatic
> boot menu back?
The prompt you're seeing indicates that the boot process
has been interrupted prior to the loader (that displays
the BSD boot menu). Somehow your boot code got damaged,
so the device to boot from needs to be entered manually.
Depending on disk partitioning, labels, or setup in
general, I'd guess that you need to run "gpart bootcode"
with the device to boot from.
Compare with the list of commands here:
This should fix your problem.
Still, I cannot tell you why the required information
from the 1st boot stage has been lost...
For further reference:
Note that fdisk is still mentioned here. It will usually
still work, but using gpart is today's fashion. ;-)
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions