Just wanted try out what I minimally need for qemu-system-x86_64 -kernel arch/x86/boot/bzImage
:
#!/usr/bin/env bash
set -e
make defconfig
scripts/config --set-str CONFIG_INITRAMFS_SOURCE "initramfs.txt"
yes '' | make oldconfig
cat > initramfs.txt << EOF
dir /dev 755 0 0
nod /dev/console 644 0 0 c 5 1
nod /dev/loop0 644 0 0 b 7 0
dir /bin 755 1000 1000
slink /bin/sh busybox 777 0 0
file /bin/busybox initramfs/busybox 755 0 0
dir /proc 755 0 0
dir /sys 755 0 0
dir /mnt 755 0 0
file /init initramfs/init.sh 755 0 0
EOF
mkdir initramfs
curl -sSf https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/busybox-static-1.36.1-r25.apk | tar zx --strip-components 1
cp busybox.static initramfs/busybox
cat > initramfs/init.sh << EOF
#!/bin/sh
mount -t proc none /proc
mount -t sysfs none /sys
sh
EOF
“linux from scratch” in 32 lines :-)
My B4 #OLPC prototype, 15+ years old. Original battery. Still works and battery charging is no problem. Impressive little machine :)
If my #LKML responses have been a bit confusing this week there’s a good reason for that:
Thanks for understanding :-) I’m already feeling fine and should be again full capacity next week. Apologies about any possible confusion or whatever.
John Gartner is a psychologist who, as founder of Duty To Warn, has raised the alarm about Trump's declining mental fitness. This week, we had the honor of interviewing him for a disturbing conversation about why he’s more worried than ever that the media and the public are missing all the blaring red signs that Trump is slipping rapidly into dementia. https://thinkbigpicture.substack.com/p/john-gartner-trump-cognitive-decline
My talk on Bevy's Rusty ergonomics was uploaded on the Rust Nation UK conf channel!
Billions of videos recorded yet no real world use found for reaction content