[PLDWWW] page added: docs:geninitrd

Mateusz Korniak (matkor) matkor at pld-linux.org
Mon Aug 22 14:44:06 CEST 2016


created
 
--- ---
+++ https://www.pld-linux.org/docs/geninitrd?rev=
Initial ramdisk used mostly only to mount root filesystem.

===== Generation =====

Check available kernels (Example: section):
<code>
/boot]# geninitrd 
</code>
Regenarete (adding -v to see details) as suggested in above examples:
<code>
/sbin/geninitrd -f --initrdfs=initramfs /boot/initrd-KERVER.gz KERVER
</code>

===== Debbugging =====
Getting shell just after initrd boot ends/fails:
Edit  '' /etc/sysconfig/system'' , set:
<code>
RUN_SULOGIN_ON_ERR=no
</code>
Add 
<code>
debugrd=sh 
</code>
to kernel boot options (by editing'' /boot/grub/grub.cfg'' or adding  to GRUB_CMDLINE_LINUX_DEFAULT in ''/etc/sysconfig/grub'' and running update-grub)

Reboot.
HINT: CTRL+PgUp/PgDown scrolls initrd logs.




Diff URL:
  ---

-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list