how to create initrd for pxe kickstart boot

Michael DeHaan mdehaan at redhat.com
Thu Jun 21 19:40:26 UTC 2007


Nicholas Byrne wrote:
> what distribution are you using? It might be a cpio archive or in cramfs
> filesystem - start here http://wiki.openvz.org/Modifying_initrd_image
> But once you've unzipped it, type "file init" to see what it is
>   

If you want to read source, koan (http://cobbler.et.redhat.com/) has 
some code to inject ks files into initrd's and covers both types already.

http://git.et.redhat.com/?p=koan.git;a=summary




> Farkas Levente wrote:
>   
>> hi,
>> i need to create a new inird which include r1000 ethernet driver for oxe
>> boot. i read everywhere that i've to:
>> ---------------------
>> mv initrd.imginitrd.img.gz
>> gunzip initrd.img.gz
>> mkdir init
>> mount -o loop initrd.img init
>> ----------------------
>> but these last step always gives me:
>> mount: you must specify the filesystem type
>> and i can't find any kind of fs type which would be good.
>> although with
>> gunzip initrd.img | cpio -i --make-directories
>> seems to working, but even if i don't modify it and
>> find . -print | cpio -o -c |gzip -9 >initrd.img.new
>> the result is different form the original one.
>> so what is the proper procedure to recreate the initrd file?
>> thank you for your help in advance.
>>
>>   
>>     
>
>
>
> This e-mail is the property of Quadriga Worldwide Ltd, intended for the addressee only and confidential.  Any dissemination, copying or distribution of this message or any attachments is strictly prohibited.
>
> If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
>
> Messages sent to and from Quadriga may be monitored.
>
> Quadriga cannot guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
>
> We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.
>
> You should carry out your own virus checks before opening any attachment.
>
> Any views or opinions presented are solely those of the author and do not necessarily represent those of Quadriga.
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>   




More information about the Kickstart-list mailing list