Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2018 03:41:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234031] loader can't traverse filesystem, LUA ERROR: cannot open /boot/lua/loader.lua
Message-ID:  <bug-234031-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234031

            Bug ID: 234031
           Summary: loader can't traverse filesystem, LUA ERROR: cannot
                    open /boot/lua/loader.lua
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: umage@netvor.sk

Booting from a clean copy of /boot obtained from
FreeBSD-12.0-RELEASE-amd64-bootonly.iso does not work. The BTX loader seems=
 to
have issues traversing the filesystem - when I poke around with 'ls', it se=
es
the root, but can't enter subdirectories. The system disk uses BSD/UFS sche=
me.
The loader however has no trouble browsing the storage disk, which is GPT/U=
FS.

This has been previously reported a month ago in CURRENT as bug #233098 but=
 was
miscategorized and no additional info was provided. The issue is currently
being discussed in
https://forums.freebsd.org/threads/lua-error-can-not-open-boot-lua-loader-l=
ua.68635/

I am currently working around this by booting off of the iso, then mounting=
 the
system disk. Interestingly, /dev/ada0 exists but dev/ada0a doesn't, and 'gp=
art
list' does not even mention ada0. No idea what this means. I ran fsck just =
in
case, all filesystems are clean.

  FreeBSD/x86 bootstrap loader. Revision 1.1
  Startup error in /boot/lua/loader.lua:
  LUA ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
  can't load 'kernel'
  Type '?' for a list of commands, 'help' for more detailed help.

OK lsdev
  disk devices:
       disk0:   BIOS drive C (16514064 x 512):
         disk0a: FreeBSD UFS
       disk1:   BIOS drive D (3907029168 x 512):
         disk1p1: FreeBSD UFS

OK ls disk1p1:/example
  disk1p1:/example
   d  dir1
   d  dir2
OK ls disk0a:/boot
  open 'disk0a:/boot' failed: no such file or directory
OK ls disk0a:/root
  open 'disk0a:/root' failed: no such file or directory

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234031-227>