Strangely, when I attempt to use cpio to unpack the gentoo.igz initramfs file (or any file made by Genkernel, actually), I get a directory structure with a handful of files (like fstab), but it is missing obviously necessary files such as linuxrc and init. The total quantity of files unpacked is less than 4k, while the gzipped gentoo.igz file is 17M.
I've really been banging my head against the wall on this. I assume that I must be doing something wrong, because the initramfs works correctly in operation.
Scouring the internet and the Gentoo forums has proved only that others have the same unanswered question.
Because everything is more clear in code:
Code: Select all
# gunzip -c gentoo.igz | cpio -H newc -t
.
etc
etc/fstab
bin
sys
var
var/lock
var/lock/dmraid
usr
usr/bin
usr/sbin
dev
dev/null
dev/tty1
dev/console
temp
proc
sbin
5 blocks
This is going to seriously frustrate me until someone lets me in on the (probably trivial) thing that I'm doing wrong.
Thanks,
-- Travis



