remaking an initrd.img for diskboot.img and pxeboot

ashok shankar das asdas at redhat.com
Fri Aug 17 05:43:06 UTC 2007


Prarit Bhargava wrote:

>
>
> Phil Meyer wrote:
>
>>
>> For odd reasons, I am attempting to add a driver to an initrd.img.
>>
>> Using the exact same kernel as on the original media, I have built a 
>> driver module.
>>
>
> Hey Phil,
>
> *Everytime* I've tried taking a shortcut and hacked the initrd.img 
> I've hit some other issue that makes it not work. :/
>
> Can I make a suggestion?  Your best bet is to modify the kernel source 
> rpm with your changes, rebuild the kernel, and then rebuild the distro 
> using jkeating's pungi.

This is not a good way of doing.
better use *mkinitrd* it works for me. even hacking initrd works for me.

> Yes, this takes longer than trying to hack the initrd.img, but in the 
> long run you'll realize the "rebuild-kernel-rebuild-os" is much easier 
> to do. :)
>
> P.
>
> -- 
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list



-- 
Thanks
Ashok Shankar Das
RedHat, Pune
+91-9373695832





More information about the buildsys mailing list