• The Linux Kernel Is Just A Program

    From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.misc on Wed Dec 24 06:03:51 2025
    From Newsgroup: comp.os.linux.misc

    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.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to comp.os.linux.misc on Wed Dec 24 14:53:32 2025
    From Newsgroup: comp.os.linux.misc

    On 24/12/2025 2:03 pm, Lawrence D’Oliveiro wrote:
    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.


    Linux From Scratch is the real challenge! :)
    --
    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Wed Dec 24 05:37:42 2025
    From Newsgroup: comp.os.linux.misc

    On 12/24/25 01:03, Lawrence D’Oliveiro wrote:
    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.

    Um, yea, can probably be done. But how much
    do you GET ? Maybe one terminal ?

    I see the kernel as the foundation of a building.
    It is important, has to be done correctly, but
    unto itself is, well, just a slab of concrete.
    Maybe you can roller-skate on it ...

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.misc on Wed Dec 24 07:39:57 2025
    From Newsgroup: comp.os.linux.misc

    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
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.misc on Thu Dec 25 11:35:57 2025
    From Newsgroup: comp.os.linux.misc

    Chris Ahlstrom wrote this post by blinking in Morse code:

    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/>

    Also there I found a javascript app that would run Linux in the
    browser AND start an instance of the Fluxbox window manager.
    Cool, though slow.
    --
    People are unconditionally guaranteed to be full of defects.
    --- Synchronet 3.21a-Linux NewsLink 1.2