This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
docs:geninitrd [2016-08-22 14:44] matkor created |
docs:geninitrd [2016-08-22 14:52] matkor |
||
---|---|---|---|
Line 11: | Line 11: | ||
/sbin/geninitrd -f --initrdfs=initramfs /boot/initrd-KERVER.gz KERVER | /sbin/geninitrd -f --initrdfs=initramfs /boot/initrd-KERVER.gz KERVER | ||
</code> | </code> | ||
+ | |||
===== Debbugging ===== | ===== Debbugging ===== | ||
Line 26: | Line 27: | ||
Reboot. | Reboot. | ||
HINT: CTRL+PgUp/PgDown scrolls initrd logs. | HINT: CTRL+PgUp/PgDown scrolls initrd logs. | ||
+ | |||
+ | ===== Checking generated initrd image ===== | ||
+ | Uncompressing initrd, copy first, ungzip, uncpio: | ||
+ | <code> | ||
+ | cp /boot/initrd.*.gz /root/geninitrd | ||
+ | gunzip initrd-4.1.15-1.gz | ||
+ | cpio -idmv < initrd-4.1.15-1 | ||
+ | </code> | ||
+ | |||