Skip to content

Instantly share code, notes, and snippets.

View fifteenhex's full-sized avatar
🧟‍♂️
No more strong zeros

Daniel Palmer fifteenhex

🧟‍♂️
No more strong zeros
  • The inaka, Japan
View GitHub Profile
[ 0.000000] Linux version 6.16.11+deb14-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.3.0-8) 14.3.0, GNU ld (GNU Binutils for Debian) 2.45) #1 SMP PREEMPT_DY
NAMIC Debian 6.16.11-1 (2025-10-07)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.16.11+deb14-amd64 root=UUID=4a932e5f-c386-4b14-9e61-9905eede81ad ro console=tty0 console=ttyS0,115200n8 quiet
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e6000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000cff8ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000cff90000-0x00000000cff9dfff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000cff9e000-0x00000000cffdffff] ACPI NVS
@fifteenhex
fifteenhex / gist:f77f1f21949a205b8e12742d4e03dde6
Last active September 8, 2024 06:09
Notes for small linux systems (8MB, 16MB etc)

My notes for running Linux on slow/small/old systems

initramfs

You cannot really use LZ4 compression for your initramfs as the block size for LZ4 compressed initramfs is 8MB (https://elixir.bootlin.com/linux/v6.10.8/source/lib/decompress_unlz4.c#L28) and the kernel will want to allocate an 8MB buffer to work in. LZO has a block size of 256KB (https://elixir.bootlin.com/linux/v6.10.8/source/lib/decompress_unlzo.c#L36) which you might have more luck with.

Misc kernel config options

CONFIG_CRYPTO_JITTERENTROPY is very slow on 68030.