diff options
Diffstat (limited to 'docs/no_boot.txt')
| -rw-r--r-- | docs/no_boot.txt | 10 |
1 files changed, 10 insertions, 0 deletions
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 + |
