Anyone else have a problem with the LFS section on creating an initrd? Me and a friend tried the mkinitramfs from
About initramfs
When we ran it, we wound up with a 770Mb file. When we extracted it with cpio, it only extracted about 64K bytes. We
tried a few times and the results were consistent.
It only contained a few files, related to microcode (I don't have access to his computer right now so I can't be
more specific).
I added 'set -ev' to the script and watch it run to completion.
I looked through the script but couldn't see where the problem is.
I looked at the /tmp work directory and that only contained about 64K of data.
Fortunately we were still able to boot the system because we had built nvme and ext4 support into the kernel.