Re: F3 initrd strangeness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-12-06 at 18:48 +0000, T. Horsnell (tsh) wrote:
> Ah - so it is. Thank you. But how does it then get used as a
> boot-time initrd? To see its contents I've had to:
> 
> [root@fw1 ~]$ dd if=/dev/zero of=initrd bs=1300000 count=1
> [root@fw1 ~]$ mke2fs -F -m0 initrd
> [root@fw1 ~]$ mount -t ext2 -o loop initrd /mnt
> [root@fw1 ~]$ cd /mnt
> [root@fw1 ~]$ cpio -i < /root/initrd-2.6.9-1.667

Wouldn't it be easier just to extract the files from the cpioball?

# mkdir /tmp/initrd
# cd /tmp/initrd
# gunzip -c /boot/initrd-2.6.9-1.681_FC3.img | cpio -i

> How does a just-booted kernel do it on FC3?

The same way I'd think.

> Also, there's no linuxrc on it.

No, but there's an init

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux