Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2018 17:09:28 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Brett <freebsdcurrent@codexterous.com>
Cc:        Kevin Oberman <rkoberman@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Newly upgraded -CURRENT box does not boot
Message-ID:  <CANCZdfoiq1JVgPcT0JJkCWLaS7WZ3J=Qig2CZin8MwO-UDbnhg@mail.gmail.com>
In-Reply-To: <e0083d49-e465-fa26-1a48-33004bca7dc6@codexterous.com>
References:  <80002f50-c2a7-ff39-dbef-e39576c3da51@codexterous.com> <CAN6yY1vNFsGKqr1rnawESNwDLmK=mciTitehpxPa8aHyRwJFVA@mail.gmail.com> <e0083d49-e465-fa26-1a48-33004bca7dc6@codexterous.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 20, 2018 at 4:50 PM, Brett <freebsdcurrent@codexterous.com>
wrote:

> Hi Kevin,
>
> Thanks for your help.
>
> Should I be doing "make LOADER_DEFAULT_INTERP=4th buildkernel && make
> LOADER_DEFAULT_INTERP=4th installkernel"?
>

Nope. Kernel has nothing to do with it. That won't work.

I had also previously tried " make clean all install
> WITHOUT_LUA_LOADER=yes" in /usr/src/stand which did not help.
>

You could just do "ln -sf /boot/loader_4th /boot/loader" and reboot if
that's the issue. Or at the boot2 prompt, you could type in
/boot/loader_4th if you haven't booted yet.

You could also do a simple 'make install LOADER_DEFAULT_INTERP=4th" which
does approximately the same thing.

Though why you'd get loader.lua not found is kinda crazy

Warner


> Thanks!
>
> -Brett
>
> On 8/20/2018 6:31 PM, Kevin Oberman wrote:
>
>> Check the archive of this list for the past 24 hours. The default bot was
>> just converted to the lua boot today and there have been some issues. The
>> "one liner" to switch back to the FORTH boot was posted to use to work
>> around this and I believe that the change will be rolled back until the
>> "corner cases" can be fixed.
>> http://lists.freebsd.org/pipermail/freebsd-current/
>> --
>> Kevin Oberman, Part time kid herder and retired Network Engineer
>> E-mail: rkoberman@gmail.com <mailto:rkoberman@gmail.com>
>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>>
>>
>>
>> On Mon, Aug 20, 2018 at 2:28 PM Brett Gmoser <
>> freebsdcurrent@codexterous.com <mailto:freebsdcurrent@codexterous.com>>
>> wrote:
>>
>>     Hi there,
>>
>>     I was told to e-mail these addresses with this.
>>
>>     I did an `svn update` on /usr/src last night, build world and
>>     kernel as
>>     usual. This morning I installed the kernel, booted into single user,
>>     installed world and did mergemaster -Ui as usual. The new kernel had
>>     booted fine. Upon reboot, the machine will no longer boot:
>>
>>          Startup error in /boot/lua/loader.lua:
>>          LUA ERROR: cannot open /boot/lua/loader.lua: no such file or
>>     directory
>>
>>          can't load 'kernel'
>>
>>     Many things in the bootloader do not work, including "boot
>>     kernel.old",
>>     "ls /boot", and various other things (most if not all just result in
>>     "Command failed"). Interestingly, "ls /mnt" works, other
>>     directories do
>>     not. That's the only clue I have.
>>
>>     I'm able to reboot in an installer image and mount the drive just
>>     fine.
>>     Everything is there and is as expected, including
>>     /boot/lua/loader.lua.
>>
>>     I re-installed everything in /usr/src/stand (chroot'd on the
>>     installer
>>     image, and "cd /usr/src/stand && make clean all install"). This
>>     did not
>>     fix the problem.
>>
>>     Does anybody happen to have any ideas?
>>
>>     Thanks,
>>
>>     -Brett
>>
>>     _______________________________________________
>>     freebsd-current@freebsd.org <mailto:freebsd-current@freebsd.org>
>>     mailing list
>>     https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>     To unsubscribe, send any mail to
>>     "freebsd-current-unsubscribe@freebsd.org
>>     <mailto:freebsd-current-unsubscribe@freebsd.org>"
>>
>>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoiq1JVgPcT0JJkCWLaS7WZ3J=Qig2CZin8MwO-UDbnhg>