LUA ERROR: memory allocation error: block too big

Chris bsd-lists at BSDforge.com
Wed Jun 3 05:36:42 UTC 2020


On Wed, 3 Jun 2020 05:00:13 +0000 (UTC) Roderick hruodr at gmail.com said

> LUA Error!
> 
> I would real want hear, why was the boat loader spoiled with Lua?
> 
> Bwcause lua is so cool?
> 
> Rodrigo
> 
> 
> On Tue, 2 Jun 2020, Budi Janto wrote:
> 
> > Hi Folks,
> >
> > Now, I'am running FreeBSD 12.1-STABLE, suddenly after restart system can
> > not able to booting (boot to single user only).
> >
> > ...
> > Loading /boot/defaults/loader.conf
> > Loading /boot/device.hints
> > Loading /boot/loader.conf
> > efipart_readwrite: rw=1, blk=5656992 size=40 status=7
> > Startup error in /boot/lua/loader.lua:
> > LUA ERROR: memory allocation error: block too big.
> >
> > can't load 'kernel'
> >
> > Type '?' for a list of commands. 'help' for more detailed help
> > OK
> > ...
> >
> > Anyone could give some clue to fixing this booting issue? -- Thank You.
Boot single user if possible, tho it's probably not.
Failing that; boot from the install media. Mount the root slice
of your failing system. cd to its /boot folder
rm ./loader
ln loader_4th loader
cd /
unmount the system
remove the install media you just booted from, and reboot.
It should (hopefully) work now.

--Chris
> >
> >
> > -- 
> > Regards,
> >
> >
> > Budi Janto
> > _______________________________________________
> > freebsd-stable at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"




More information about the freebsd-stable mailing list