From 8822e7ff9da64d22d86a4397eaf629cca18df047 Mon Sep 17 00:00:00 2001 From: wrzosik Date: Sun, 30 Nov 2025 13:55:17 +0100 Subject: docs: no_boot Kb of probable causes when booting fails --- docs/no_boot.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/no_boot.txt (limited to 'docs') diff --git a/docs/no_boot.txt b/docs/no_boot.txt new file mode 100644 index 0000000..32ec562 --- /dev/null +++ b/docs/no_boot.txt @@ -0,0 +1,10 @@ +# no /dev/sda while booting, but qemu attaches file as drive + +initrd is built wrong. while building initrd always add directories too + +Bad example: +find . -type f | cpio -o -H newc | gzip > initrd.cpio.gz + +Good example: +find . | cpio -o -H newc | gzip > initrd.cpio.gz + -- cgit v1.2.3