Difference between pages "Initrd" and "File:Virtualbox-2.png"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
 
Line 1: Line 1:
This is how you modify an initrd:
 
  
mkdir tmp
 
cd tmp
 
cp ../initrd ./initrd.gz
 
gunzip initrd.gz
 
mkdir tmp2
 
cd tmp2
 
[http://linux.die.net/man/1/cpio cpio] -id < ../initrd
 
Do the needed changes now in this folder. Then pack the initrd again:
 
[[find]] . | cpio --create --format='newc' > ../newinitrd
 
cd ..
 
[[gzip]] newinitrd
 
Your new [[initrd]] is now called newinitrd.gz.
 
 
= See also =
 
* [[pXe]]
 

Revision as of 11:17, 26 January 2013