docs:tips_n_tricks:initrd
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | docs:tips_n_tricks:initrd [05.04.2012 03:23 CEST] (current) – created peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Initrd / Initramfs ====== | ||
+ | |||
+ | ===== How to edit an initramfs ===== | ||
+ | |||
+ | | ||
+ | mkdir / | ||
+ | cd / | ||
+ | gunzip -c / | ||
+ | |||
+ | Now edit the files | ||
+ | |||
+ | find * | cpio -H newc -o | gzip -c > / | ||
+ | |||
+ | 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