Opscraft Linux lab: what runs in your browser ============================================= Everything below runs locally in the browser tab. Nothing you type is sent anywhere. Emulator v86 0.5.473 (commit 315b2b0), an x86 PC emulator compiled to WebAssembly. Files: libv86.js, v86.wasm. Licence: BSD-2-Clause. Source: https://github.com/copy/v86 BIOS: seabios.bin and vgabios.bin from the same v86 commit (SeaBIOS, LGPLv3). Source: https://github.com/copy/v86/tree/master/bios and https://www.seabios.org Linux kernel Linux 6.6, built for i686 from the unmodified v6.6 tag (https://github.com/torvalds/linux/tree/v6.6), starting from "make ARCH=i386 tinyconfig" plus the options in kernel.config (in this folder). File: bzImage. Licence: GPL-2.0. The complete source is the v6.6 tag above; kernel.config is the configuration. User space Alpine Linux 3.22.8 x86 minirootfs (busybox 1.37, musl libc, apk-tools), unmodified, from https://github.com/alpinelinux/docker-alpine/tree/v3.22/x86 , plus a small init script and a control agent written for Opscraft (both plain shell scripts inside the image). File: initrd.xz. Licences: busybox GPL-2.0, musl MIT, others as listed by Alpine. Sources: https://gitlab.alpinelinux.org/alpine/aports Saved machine state.bin.zst is a v86 saved state of the kernel and image above, taken just after boot (zstd compressed), so the lab can start in a second instead of booting each time. If it can't be used, the lab boots bzImage and initrd.xz instead. It contains nothing beyond those two files' contents. Terminal xterm.js 5.5.0 and @xterm/addon-fit 0.10.0. Licence: MIT. Source: https://github.com/xtermjs/xterm.js To ask for any source code, use the "report a problem" link on any lesson page.