Re: Adding a kernel module to the ISO/installer initrd?

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



Tim Nelson wrote:
> Surely someone has rebuilt the initrd for the installer ISO? I recall seeing something on the list about it previously in regards to storage controllers but I cannot seem to find it now...
> 
> Is there somewhere I can look to see the original mkinitrd command used to build the initrd on the ISO? I could then ensure I have all of the modules specified there along with my additional module.

I've tweaked distributions' initrd files by doing

gunzip -c --suffix '.img' /boot/initrd-<version>.img | cpio -i

to unpack the file, and

find . -print | cpio -c -o | gzip -c9 >/path/of/new/initrd

after making changes.

Jim
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux