Skip to content

Comment on Show HN: Luakernel – Lua + SQLite + musl libc running on x86

Comments

Downloaded the iso and ran under a vm but it crashes as soon as I try any command.

I'm curious what's the easiest way to test this?

[1] https://github.com/ers35/luakernel/blob/master/bin/luakernel...

Try running it under qemu[1] or bochs[2]. A "virtual machine" software such as VMWare or Virtualbox is not the same as a low-level "bare metal" CPU emulator such as the two I suggested. The latter programs make assumptions about how the guest OS will behave that probably aren't valid for this project.

I suggest starting with bochs since this project has a bochsrc.txt in the git root that will be automatically picked up if you just run "bochs" in that directory.

[1] http://wiki.qemu.org/Main_Page

[2] http://bochs.sourceforge.net/

What command did you try? I am able to run the iso in QEMU, VirtualBox, Bochs, and on real hardware.

This is still in the early stages of development, and much is not yet implemented. One way to trigger a crash is to call an unimplemented system call.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.