User Tools

Site Tools


docs:tips_n_tricks:initrd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docs:tips_n_tricks:initrd [05.04.2012 03:23 CEST] (current)
peter created
Line 1: Line 1:
 +====== Initrd / Initramfs ======
 +
 +===== How to edit an initramfs =====
 +
 +  ​
 +  mkdir /​tmp/​initramfs
 +  cd /​tmp/​initramfs
 +  gunzip -c /​boot/​initrd.img-2.6.33-1 | cpio -i
 +
 +Now edit the files
 +
 +  find * | cpio -H newc -o | gzip -c > /​boot/​initrd.img-2.6.33-1b
 +
 +Well, you need to edit your //grub// or //lilo// config to make use of the new initramfs. I recommend to do it this way and not to overwrite the exiting (working) initramfs.
 +
  
docs/tips_n_tricks/initrd.txt · Last modified: 05.04.2012 03:23 CEST by peter