Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #79785
| From | Chris Ahlstrom <OFeem1987@teleworm.us> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: The Linux Kernel Is Just A Program |
| Date | 2025-12-24 07:39 -0500 |
| Organization | None |
| Message-ID | <10igmut$vmqj$14@dont-email.me> (permalink) |
| References | <10ifvo6$qgs2$1@dont-email.me> |
Lawrence D’Oliveiro wrote this post by blinking in Morse code:
> Came across this nifty little article
>
> <https://serversfor.dev/linux-inside-out/the-linux-kernel-is-just-a-program/>
>
> (found on Bluesky
> <https://bsky.app/profile/steveklabnik.com/post/3mapj6kf76k2d>)
> showing that you can run the Linux kernel directly from within a
> VM in qemu, without installing a distro or anything. It will
> boot, and then die because it wants to mount a root filesystem
> and start an init process; so then it’s easy enough to set that
> up with a few more commands, try booting it again, and there you
> go -- you have a running VM.
<https://retrage.github.io/lkl-js/>
LKL.js is Linux Kernel Library ported to JavaScript using
Emscripten. Unlike JSLinux, LKL.js includes a Linux kernel
fully written in JavaScript and runs without emulators. For
more details, read my blog post
LKL.js just boots Linux kernel and still completely useless.
It shows how Emscripten is powerful and how Linux kernel is
flexible.
IIRC, the Qemu developer (Fabrice Bellard) wrote a Linux kernel
that ran on a web page.
<https://bellard.org/jslinux/>
--
I do not know whether I was then a man dreaming I was a butterfly, or
whether I am now a butterfly dreaming I am a man.
-- Chuang-tzu
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
The Linux Kernel Is Just A Program Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-24 06:03 +0000
Re: The Linux Kernel Is Just A Program "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2025-12-24 14:53 +0800
Re: The Linux Kernel Is Just A Program c186282 <c186282@nnada.net> - 2025-12-24 05:37 -0500
Re: The Linux Kernel Is Just A Program Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-12-24 07:39 -0500
Re: The Linux Kernel Is Just A Program Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-12-25 11:35 -0500
Re: The Linux Kernel Is Just A Program bonkmaykr <bonkymaykr@canithesis.org> - 2026-01-02 01:16 -0600
csiph-web