Subj : LFS - About initial ramdisks
To   : All
From : Andrew Alt
Date : Wed Feb 22 2023 12:25 am

Anyone else have a problem with the LFS section on creating an initrd? Me and a friend tried the mkinitramfs from
https://www.linuxfromscratch.org/blfs/view/svn/postlfs/initramfs.html

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.


--
-Andy


-+- MultiMail/Linux v0.52-c9c24da

--- BBBS/Li6 v4.10 Toy-6
* Origin: Prism bbs (1:261/38)