TIP: Click on subject to list as thread! ANSI
echo: linux
to: All
from: Andrew Alt
date: 2023-02-22 00:25:00
subject: LFS - About initial ramdi

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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.