Re: Initrd /dev scripts?

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

 



Clint Olson wrote:
Bob Chiodini wrote:
On Thu, 2006-06-01 at 10:33 -0700, Clint Olson wrote:
Hi!
Hey, I'm trying to get FC5 to work with coLinux (http://www.colinux.org). I've got it so that it boots just fine -- however, apparently FC5 creates its /dev device nodes at boot time, via a script run from initrd. Since coLinux doesn't execute this initrd, most of the devices normally available in /dev simply aren't there when I boot via coLinux. I'm trying to figure out how to extract the initrd so I can find the script and migrate it over to something that gets executed when coLinux boots. Any pointers?

Clint Olson



Clint,

The initrd image is a compressed cpio archive.  You can uncompress it
with gunzip and cpio its contents.

Bob..
Ahh, thanks. Everything I was googling was saying that it was a gzipped ext2 filesystem, but trying to mount it as such wasn't working. Cpio did the trick.

Clint Olson

Your friend in such situations is often the file command:

[chris@chris ~] file /boot/initrd-2.6.16-1.2122_FC5.img
/boot/initrd-2.6.16-1.2122_FC5.img: gzip compressed data, from Unix, last modified: Wed May 31 22:38:04 2006, max compression [chris@chris ~]$ gunzip </boot/initrd-2.6.16-1.2122_FC5.img >initrd-2.6.16-1.2122_FC5.uncompressed.img
[chris@chris ~]$ file initrd-2.6.16-1.2122_FC5.uncompressed.img
initrd-2.6.16-1.2122_FC5.uncompressed.img: ASCII cpio archive (SVR4 with no CRC)

Chris

--
  "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
  Chris Johnson, RHCE #804005699817957

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux