This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 20:07] arekm [Prepare to install kernel] |
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 20:21] (current) arekm [Kernel installation] |
||
---|---|---|---|
Line 87: | Line 87: | ||
===== Packages installation ===== | ===== Packages installation ===== | ||
+ | All packages are installed using **poldek** tool (it is a package manager for PLD). | ||
<file># rpm --root /pld --initdb | <file># rpm --root /pld --initdb | ||
Line 163: | Line 164: | ||
By default kernel installation also generates initrd based on mounted /proc, /sys, /dev files and configured fstab, modprobe.conf and few others configuration files. generated initrd (which by default is initramfs cpio image) is saved in /boot. | By default kernel installation also generates initrd based on mounted /proc, /sys, /dev files and configured fstab, modprobe.conf and few others configuration files. generated initrd (which by default is initramfs cpio image) is saved in /boot. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | There are two initrd generators used in PLD: geninitrd and dracut. Choose one. | ||
+ | |||
+ | === geninitrd === | ||
If something fails or you want to regenerate initrd manually you can do it using: | If something fails or you want to regenerate initrd manually you can do it using: | ||
Line 173: | Line 180: | ||
//-v// option causes geninitrd to write additional information, so you can see if proper kernel modules are being installed into initrd. | //-v// option causes geninitrd to write additional information, so you can see if proper kernel modules are being installed into initrd. | ||
+ | |||
+ | === dracut === | ||
+ | |||
+ | :!: Write something more here :!: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | PLD supports systemd and non-systemd installations. In case of systemd installation you need to install package | ||
+ | |||
+ | <file>systemd</file> | ||
+ | |||
+ | package and setup default boot kernel cmdline option in grub/lilo. Add | ||
+ | |||
+ | <file>init=/bin/systemd systemd.unit=graphical.target</file> | ||
Line 188: | Line 209: | ||
<file>update-grub</file> | <file>update-grub</file> | ||
- | Resulting file is saved as **/boot/grub/grub.cfg**. | + | Resulting file is saved as **/boot/grub/grub.cfg**. Setting custom options for grub2 can be done in **/etc/sysconfig/grub** (then regenerate **grub.cfg** with **update-grub** command). |