mirror of
git://slackware.nl/current.git
synced 2025-01-14 08:01:11 +01:00
a4eccab243
a/aaa_libraries-15.1-x86_64-36.txz: Rebuilt. Upgraded: libcares.so.2.19.3, libturbojpeg.so.0.4.0. Removed: libicudata.so.74.2, libicui18n.so.74.2, libicuio.so.74.2, libicutest.so.74.2, libicutu.so.74.2, libicuuc.so.74.2. Added (temporarily): libassuan.so.0.8.7. a/e2fsprogs-1.47.2-x86_64-1.txz: Upgraded. a/kernel-generic-6.12.8-x86_64-1.txz: Upgraded. a/mdadm-4.4-x86_64-1.txz: Upgraded. a/mkinitrd-1.4.11-x86_64-61.txz: Rebuilt. setup.01.mkinitrd: pipe a line through fold to avoid breaking it if the terminal has enough columns. d/doxygen-1.13.1-x86_64-1.txz: Upgraded. d/kernel-headers-6.12.8-x86-1.txz: Upgraded. k/kernel-source-6.12.8-noarch-1.txz: Upgraded. kde/akonadi-calendar-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/akonadi-import-wizard-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/akonadiconsole-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/akregator-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/calligra-3.2.1-x86_64-48.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/cantor-23.08.5-x86_64-15.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/grantlee-editor-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/kdepim-addons-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/kfilemetadata-5.116.0-x86_64-11.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/kget-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/kile-2.9.93-x86_64-41.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/kitinerary-23.08.5-x86_64-12.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/kleopatra-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/kmail-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/kmail-account-wizard-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/krita-5.2.6-x86_64-6.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/kwallet-5.116.0-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/labplot-2.11.1-x86_64-7.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/libkleo-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/mailcommon-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/mbox-importer-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/merkuro-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/messagelib-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. kde/okular-23.08.5-x86_64-12.txz: Rebuilt. Recompiled against poppler-25.01.0. kde/pim-data-exporter-23.08.5-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. l/SDL2-2.30.11-x86_64-1.txz: Upgraded. l/SDL2_ttf-2.24.0-x86_64-1.txz: Upgraded. l/libcupsfilters-2.1.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-25.01.0. l/poppler-25.01.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-pillow-11.1.0-x86_64-1.txz: Upgraded. n/gnupg2-2.5.2-x86_64-1.txz: Upgraded. Compiled against libassuan-3.0.1. n/gpa-0.11.0-x86_64-1.txz: Upgraded. Compiled against libassuan-3.0.1. n/gpgme-1.24.1-x86_64-2.txz: Rebuilt. Recompiled against libassuan-3.0.1. n/libassuan-3.0.1-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/mcabber-1.1.2-x86_64-4.txz: Rebuilt. Recompiled against libassuan-3.0.1. n/pinentry-1.3.1-x86_64-3.txz: Rebuilt. Recompiled against libassuan-3.0.1. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
74 lines
2.6 KiB
Text
74 lines
2.6 KiB
Text
|
|
Slackware initrd mini HOWTO
|
|
by Patrick Volkerding, volkerdi@slackware.com
|
|
Thu Jan 2 21:43:38 UTC 2025
|
|
|
|
This document describes how to create and install an initrd.
|
|
Also see "man mkinitrd".
|
|
|
|
1. What is an initrd?
|
|
2. Why to I need an initrd?
|
|
3. How do I build the initrd?
|
|
4. Now that I've built an initrd, how do I use it?
|
|
|
|
|
|
1. What is an initrd?
|
|
|
|
Initrd stands for "initial ramdisk". An initial ramdisk is a very small
|
|
Linux filesystem that is loaded into RAM and mounted as the kernel boots,
|
|
and before the main root filesystem is mounted.
|
|
|
|
2. Why do I need an initrd?
|
|
|
|
The usual reason to use an initrd is because you need to load kernel
|
|
modules before mounting the root partition, or because you need additional
|
|
userspace support for doing so (as with LVM). Modern Linux is practically
|
|
expected to be using an initrd, so even in cases where it *works* to boot
|
|
without one, you're probably less likely to run into bugs by using one.
|
|
|
|
3. How do I build the initrd?
|
|
|
|
Just installing the kernel package will automatically run the geninitrd
|
|
script to produce an initrd, so normally you won't need to build one --
|
|
it will be done for you. However, if you need to generate an initrd you
|
|
can do so by just running "geninitrd" which will build an initrd for the
|
|
newest kernel in /boot. You can also specify the kernel to build an initrd
|
|
for on the command line, like this:
|
|
|
|
geninitrd /boot/vmlinuz-6.11.7
|
|
|
|
If you need specific modules, or you'd like to use a different initrd
|
|
generator than Slackware's mkinitrd, or to make other adjustments, see
|
|
the /etc/default/geninitrd configuration file. You can also disable
|
|
automatic initrd generation if you don't want it.
|
|
|
|
4. Now that I've built an initrd, how do I use it?
|
|
|
|
Now that you've got an initrd (/boot/initrd.gz), you'll want to load
|
|
it along with the kernel at boot time. If you use LILO for your boot
|
|
loader you'll need to edit /etc/lilo.conf and add a line to load the
|
|
initrd. Here's an example section of lilo.conf showing how this is
|
|
done:
|
|
|
|
# Linux bootable partition config begins
|
|
image = /boot/vmlinuz-generic
|
|
initrd = /boot/initrd-generic.img
|
|
root = /dev/sda6
|
|
label = Slackware
|
|
read-only
|
|
# Linux bootable partition config ends
|
|
|
|
The initrd is loaded by the "initrd = /boot/initrd-generic.img" line.
|
|
Just add the line right below the line for the kernel image you use.
|
|
Save the file, and then run LILO again ('lilo' at the command line).
|
|
You'll need to run lilo every time you edit lilo.conf or rebuild the
|
|
initrd.
|
|
|
|
Other bootloaders also support the use of an initrd.
|
|
See the documentation for those programs for details on using an
|
|
initrd with them.
|
|
|
|
|
|
---------
|
|
|
|
Have fun!
|