Re: edit and rebuild the initrd

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

 



Hadders wrote:
Hi all,
 Well, I'm close to fixing this problem (i think)

I've unpacked the 2.6.18-1 initrd and had a look at the "init" file. Then I compared this with the 2.6.15-1 (base) kernel init file in its initrd

There's a difference!
Namely after the base init does its mkblkdevs (make bulk devices?) there are the following lines

rmparts sdb
rmparts sda
dm create isw_cdgbeijgjh_iaa 0 1250275846 striped 2 256 8:0 8:16 0
dm partadd isw_cdgbeijgjh_iaa

Okay. I think this is the dm commands to access the container? If so, then all I need to do is put these commands into my new kernel initrd and *bham* I'm cooking with gas?!
I've fixed all the device mapper errors by upgrading dmraid....

So my question is: do I simply copy and paste these into the new "init" file at much the same place and then repack the new initrd for 2.6.18-1.
How do I repack/recreate the initrd (mixed results on google)?

Thanks. Hadders

Found it,   find . | cpio -o -c | gzip -9 > /boot/initrd-kernel_version.img

I had no idea there was so many ways to setup the initrd.

H

--
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