How to coorectly extract initrd0.img from fedora21 beta liveCD?
Trying to do this:
[root@localhost f21]# lsinitrd -f /mnt/dvd/isolinux/initrd0.img
[root@localhost f21]# ls -lh /mnt/dvd/isolinux/initrd0.img
-r--r--r--. 1 root root **38M** Oct 29 15:26 /mnt/dvd/isolinux/initrd0.img
[root@localhost f21]# file /mnt/dvd/isolinux/initrd0.img
/mnt/dvd/isolinux/initrd0.img: ASCII cpio archive (SVR4 with no CRC)
[root@localhost f21]# cpio -id < /mnt/dvd/isolinux/initrd0.img
1251 blocks
[root@localhost f21]# ls -al
total 16
drwxr-xr-x. 3 root root 4096 Nov 13 08:26 .
drwxr-xr-x. 6 root root 4096 Oct 16 06:22 ..
-rw-r--r--. 1 root root 2 Nov 13 08:26 early_cpio
drwxr-xr-x. 3 root root 4096 Nov 13 08:26 kernel
[root@localhost f21]# du -sh ./
**648K** ./
Source file is 38M, but folder size after extract image is only 648k. What am i doing wrong?
out of curiosity, what is your end goal here?
I just trying to boot from network. See bug https://bugzilla.redhat.com/show_bug.cgi?id=1154670
is there a file
$ISOROOT/os/images/pxeboot/initrd.img
? That seems like a likely candidate for network boots.isolinux/initrd0.img from LiveCD F20 and F21 alpha are possible to network boot, but problem in F21 beta.
@dearfriend good catch - have you filed a bug yet?