Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2018 12:28:47 -0400
From:      Robert Fitzpatrick <robert@webtent.org>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Restoring bootcode
Message-ID:  <5AE7443F.3020803@webtent.org>
In-Reply-To: <20180429230540.c93489c9.freebsd@edvax.de>
References:  <5AE5F327.3050702@webtent.org> <ac24f0a3-59d6-6b14-0342-e935c29bf5fe@yandex.com> <20180429230540.c93489c9.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon wrote:
> As this seems to be a MBR setup, the commands should probably be:
>
> 	# gpart bootcode -b /boot/mbr ada0
> 	# gpart set -a active -i 1 ada0
> 	# gpart bootcode -b /boot/boot ada0s1

Didn't work, I failed to post the messages received before kicking out 
to the OK loader prompt. I'm seeing this...

can't open 'boot/menu.4th': no such file or directory
Error while including /boot/menu.rc, in the line:
include /boot/menu.4th
\
can't load 'kernel'

I can see that menu.4th is not in the /boot directory. I do see the 
below in my menu.rc, all of the files are present in /boot except the 
menu.4th and menu-commands.4th. The only file in the /boot folder 
starting with menu is the menu.rc.

\ Load required Forth modules
include /boot/version.4th
include /boot/brand.4th
include /boot/menu.4th
include /boot/menu-commands.4th
include /boot/shortcuts.4th


-- 
Robert




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5AE7443F.3020803>