Oct 13
2022
Show modules in mkinitrd
mkdir /tmp/initrd
/tmp/initrd
cp /boot/initrd.gz .
gunzip initrd.gz
cpio -id < initrd
# mkinitrd.conf.sample # See "man mkinitrd.conf" for details on the syntax of this file # #SOURCE_TREE="/boot/initrd-tree" #CLEAR_TREE="0" #OUTPUT_IMAGE="/boot/initrd.gz" #KERNEL_VERSION="$(uname -r)" #KEYMAP="us" MODULE_LIST="ext4:hv_vmbus:scsi_transport_fc:hv_storvcs:jbd2:mbchache" #LUKSDEV="/dev/sda2" #LUKSTRIM="/dev/sda2" # verify support with 'hdparm -I $dev | grep TRIM' #LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks" ROOTDEV="/dev/sda2" ROOTFS="ext4" #RESUMEDEV="/dev/sda2" #RAID="0" #LVM="0" #UDEV="1" #MODCONF="0" #MICROCODE_ARCH="/boot/intel-ucode.cpio" #WAIT="1" mkinitrd -F -k 5.15.63 or /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.15.63 cp /boot/initrd.gz /boot/efi/EFI/Slackware/ cp /boot/vmlinuz-generic-5.15.63 /boot/efi/EFI/Slackware/vmlinuz cp /boot/initrd.gz /boot/efi/EFI/Slackware/initrd-5.15.63.gz cp /boot/vmlinuz-generic-5.15.63 /boot/efi/EFI/Slackware/vmlinuz-5.15.63