User Tools

Site Tools


docs:geninitrd

Differences

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

Link to this comparison view

Next revision
Previous revision
docs:geninitrd [2016-08-22 14:44] – created matkordocs:geninitrd [2016-08-22 16:04] (current) – [Checking generated initrd image] glen
Line 1: Line 1:
 +====== geninitrd ======
 +
 Initial ramdisk used mostly only to mount root filesystem. Initial ramdisk used mostly only to mount root filesystem.
  
Line 5: Line 7:
 Check available kernels (Example: section): Check available kernels (Example: section):
 <code> <code>
-/boot]# geninitrd +# geninitrd 
 </code> </code>
-Regenarete (adding -v to see details) as suggested in above examples:+Regenerate (adding -v to see details) as suggested in above examples:
 <code> <code>
 /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 27: Line 30:
 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>
 +
 +or have [[package>lesspipe]], [[package>file]] installed and use [[package>less]]:
 +
 +<code>
 +# less /boot/initrd-2.6.38.8-1.gz
 +</code>
  
  
docs/geninitrd.1471869846.txt.gz · Last modified: 2016-08-22 14:44 by matkor

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki