summaryrefslogtreecommitdiff
path: root/experiments/01_20250913_booting_minimal_image/run_qemu.sh
diff options
context:
space:
mode:
authorwrzosik <mia@miangie.dev>2025-11-30 14:59:48 +0100
committerwrzosik <mia@miangie.dev>2025-11-30 14:59:48 +0100
commitb1a960ac6e9b2266df02966db034d438141d3c9b (patch)
treea144d8db33c7d0cc639a2352859b7057ea57ba4a /experiments/01_20250913_booting_minimal_image/run_qemu.sh
parent8822e7ff9da64d22d86a4397eaf629cca18df047 (diff)
experiment: booting minimal initramfs
Added experiment on building absolute bare-minimum initramfs and boot it in QEMU using direct boot method
Diffstat (limited to 'experiments/01_20250913_booting_minimal_image/run_qemu.sh')
-rwxr-xr-xexperiments/01_20250913_booting_minimal_image/run_qemu.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/experiments/01_20250913_booting_minimal_image/run_qemu.sh b/experiments/01_20250913_booting_minimal_image/run_qemu.sh
new file mode 100755
index 0000000..211b281
--- /dev/null
+++ b/experiments/01_20250913_booting_minimal_image/run_qemu.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+qemu-system-x86_64 -kernel /boot/vmlinuz-$(uname -r) -initrd initrd.cpio.gz -nographic -append "root=/dev/sda console=ttyS0"