Package: initramfs-tools Version: 0.140 Severity: wishlist Recent Linux kernels support putting boot options (e.g. "init=/bin/sh" or "i915.alpha_support=1") inside the initrd file.
https://www.kernel.org/doc/html/latest/admin-guide/bootconfig.html#boot-kernel-with-a-boot-config For me, this would often be easier than patching the bootloader(s) config. Can someone (i.e. not me) do the initial thinking about this? Like "how hard is this to do?" and "what would the config structure in /etc look like?" and "do /proc/cmdline scripts need to also check /proc/bootconfig now?" -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 53M 2021-11-19 09:17 /boot/initrd.img-5.14.0-0.bpo.2-amd64 -- /proc/cmdline root=ZFS=hera/hera quiet splash noresume initrd=\initrd.img-5.14.0-0.bpo.2-amd64 -- /proc/filesystems fuseblk ext3 ext2 ext4 vfat exfat -- lsmod Module Size Used by hid_generic 16384 0 uhid 20480 1 hid 151552 2 hid_generic,uhid rfcomm 90112 4 cmac 16384 9 algif_hash 16384 4 algif_skcipher 16384 4 af_alg 32768 18 algif_hash,algif_skcipher exfat 86016 0 nf_log_syslog 20480 2 nft_log 16384 2 nft_reject_inet 16384 1 nf_reject_ipv4 16384 1 nft_reject_inet nf_reject_ipv6 20480 1 nft_reject_inet nft_reject 16384 1 nft_reject_inet nft_ct 20480 1 nf_conntrack 176128 1 nft_ct nf_defrag_ipv6 24576 1 nf_conntrack nf_defrag_ipv4 16384 1 nf_conntrack tcp_diag 16384 0 inet_diag 28672 1 tcp_diag rpcsec_gss_krb5 32768 0 auth_rpcgss 155648 1 rpcsec_gss_krb5 nfsv4 925696 2 dns_resolver 16384 1 nfsv4 nfs 430080 2 nfsv4 lockd 126976 1 nfs grace 16384 1 lockd fscache 397312 1 nfs netfs 53248 1 fscache ccm 20480 9 bnep 28672 2 nf_tables 262144 52 nft_ct,nft_log,nft_reject_inet,nft_reject libcrc32c 16384 2 nf_conntrack,nf_tables nfnetlink 20480 1 nf_tables binfmt_misc 24576 1 intel_pmc_core_pltdrv 16384 0 intel_pmc_core 45056 0 x86_pkg_temp_thermal 20480 0 intel_powerclamp 20480 0 snd_sof_pci_intel_cnl 16384 0 coretemp 20480 0 snd_sof_intel_hda_common 106496 1 snd_sof_pci_intel_cnl soundwire_intel 45056 1 snd_sof_intel_hda_common kvm_intel 323584 0 soundwire_generic_allocation 16384 1 soundwire_intel soundwire_cadence 36864 1 soundwire_intel snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common snd_sof_pci 20480 2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common snd_sof 147456 2 snd_sof_pci,snd_sof_intel_hda_common snd_hda_codec_hdmi 73728 1 btusb 65536 0 kvm 1019904 1 kvm_intel soundwire_bus 94208 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence btrtl 28672 1 btusb btbcm 20480 1 btusb btintel 32768 1 btusb bluetooth 757760 35 btrtl,btintel,btbcm,bnep,btusb,rfcomm snd_soc_skl 180224 0 irqbypass 16384 1 kvm snd_soc_hdac_hda 24576 2 snd_sof_intel_hda_common,snd_soc_skl snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda snd_ctl_led 24576 0 snd_soc_sst_ipc 20480 1 snd_soc_skl nls_ascii 16384 1 snd_soc_sst_dsp 36864 1 snd_soc_skl nls_cp437 20480 1 snd_soc_acpi_intel_match 53248 3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl snd_hda_codec_realtek 159744 1 vfat 20480 1 snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl joydev 28672 0 ghash_clmulni_intel 16384 0 mei_hdcp 24576 0 iwlmvm 352256 0 snd_soc_core 331776 5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl snd_hda_codec_generic 98304 1 snd_hda_codec_realtek fat 86016 1 vfat intel_rapl_msr 20480 0 jitterentropy_rng 16384 1 snd_compress 32768 1 snd_soc_core sha512_ssse3 49152 1 mac80211 1048576 1 iwlmvm ext4 917504 1 sha512_generic 16384 1 sha512_ssse3 aesni_intel 380928 19 snd_hda_intel 57344 4 snd_intel_dspcfg 28672 3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg uvcvideo 118784 0 crypto_simd 16384 1 aesni_intel cryptd 24576 6 crypto_simd,ghash_clmulni_intel ctr 16384 3 snd_hda_codec 176128 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda rapl 20480 0 libarc4 16384 1 mac80211 videobuf2_vmalloc 20480 1 uvcvideo mbcache 16384 1 ext4 videobuf2_memops 20480 1 videobuf2_vmalloc videobuf2_v4l2 36864 1 uvcvideo intel_cstate 20480 0 jbd2 167936 1 ext4 videobuf2_common 69632 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops drbg 40960 1 intel_uncore 192512 0 snd_hda_core 110592 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda iwlwifi 311296 1 iwlmvm crc32c_generic 16384 0 videodev 270336 3 videobuf2_v4l2,uvcvideo,videobuf2_common snd_hwdep 16384 1 snd_hda_codec ansi_cprng 16384 0 snd_pcm 143360 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core iTCO_wdt 16384 0 pcspkr 16384 0 efi_pstore 16384 0 intel_pmc_bxt 16384 1 iTCO_wdt ecdh_generic 16384 2 bluetooth ecc 40960 1 ecdh_generic serio_raw 20480 0 iTCO_vendor_support 16384 1 iTCO_wdt wmi_bmof 16384 0 intel_wmi_thunderbolt 20480 0 mc 65536 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common elan_i2c 53248 0 watchdog 28672 1 iTCO_wdt snd_timer 49152 1 snd_pcm crc16 16384 2 bluetooth,ext4 cfg80211 1024000 3 iwlmvm,iwlwifi,mac80211 mei_me 45056 1 thinkpad_acpi 131072 0 mei 151552 3 mei_hdcp,mei_me processor_thermal_device_pci_legacy 16384 0 wireguard 94208 0 processor_thermal_device 20480 1 processor_thermal_device_pci_legacy processor_thermal_rfim 16384 1 processor_thermal_device ucsi_acpi 16384 0 processor_thermal_mbox 16384 2 processor_thermal_rfim,processor_thermal_device typec_ucsi 49152 1 ucsi_acpi processor_thermal_rapl 20480 1 processor_thermal_device intel_rapl_common 28672 2 intel_rapl_msr,processor_thermal_rapl intel_pch_thermal 20480 0 intel_soc_dts_iosf 20480 1 processor_thermal_device_pci_legacy nvram 16384 1 thinkpad_acpi roles 16384 1 typec_ucsi platform_profile 16384 1 thinkpad_acpi ledtrig_audio 16384 4 snd_ctl_led,snd_hda_codec_generic,snd_sof,thinkpad_acpi typec 65536 1 typec_ucsi libchacha20poly1305 16384 1 wireguard snd 110592 19 snd_ctl_led,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm chacha_x86_64 28672 1 libchacha20poly1305 poly1305_x86_64 28672 1 libchacha20poly1305 soundcore 16384 2 snd_ctl_led,snd rfkill 32768 9 bluetooth,thinkpad_acpi,cfg80211 libblake2s 16384 1 wireguard int3403_thermal 20480 0 int340x_thermal_zone 20480 2 int3403_thermal,processor_thermal_device ac 20480 0 blake2s_x86_64 20480 1 libblake2s curve25519_x86_64 36864 1 wireguard libcurve25519_generic 49152 2 curve25519_x86_64,wireguard libchacha 16384 1 chacha_x86_64 acpi_pad 184320 0 libblake2s_generic 20480 1 blake2s_x86_64 int3400_thermal 20480 0 acpi_thermal_rel 16384 1 int3400_thermal ip6_udp_tunnel 16384 1 wireguard udp_tunnel 20480 1 wireguard evdev 28672 18 sch_fq_codel 20480 2 sunrpc 663552 9 nfsv4,auth_rpcgss,lockd,rpcsec_gss_krb5,nfs msr 16384 0 i2c_dev 24576 0 fuse 167936 3 configfs 57344 1 efivarfs 16384 1 ip_tables 36864 0 x_tables 53248 1 ip_tables autofs4 53248 2 mmc_block 53248 0 zfs 4587520 12 zunicode 335872 1 zfs zzstd 569344 1 zfs zlua 184320 1 zfs zavl 16384 1 zfs icp 331776 1 zfs zcommon 102400 2 zfs,icp znvpair 110592 2 zfs,zcommon spl 118784 6 zfs,icp,zzstd,znvpair,zcommon,zavl i915 2965504 12 rtsx_pci_sdmmc 32768 0 i2c_algo_bit 16384 1 i915 mmc_core 200704 2 rtsx_pci_sdmmc,mmc_block ttm 86016 1 i915 xhci_pci 20480 0 drm_kms_helper 307200 1 i915 nvme 49152 4 crc32_pclmul 16384 0 xhci_hcd 307200 1 xhci_pci e1000e 311296 0 cec 61440 2 drm_kms_helper,i915 nvme_core 139264 6 nvme rc_core 65536 1 cec crc32c_intel 24576 3 t10_pi 16384 1 nvme_core crc_t10dif 20480 1 t10_pi drm 634880 10 drm_kms_helper,i915,ttm psmouse 184320 0 usbcore 331776 5 xhci_hcd,typec,uvcvideo,btusb,xhci_pci thunderbolt 331776 0 ptp 32768 1 e1000e pps_core 24576 1 ptp crct10dif_generic 16384 0 rtsx_pci 110592 1 rtsx_pci_sdmmc i2c_i801 32768 0 i2c_smbus 20480 1 i2c_i801 crct10dif_pclmul 16384 1 crct10dif_common 16384 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul usb_common 16384 3 xhci_hcd,usbcore,uvcvideo wmi 36864 2 intel_wmi_thunderbolt,wmi_bmof battery 28672 1 thinkpad_acpi video 57344 2 thinkpad_acpi,i915 button 24576 0 -- /etc/initramfs-tools/modules -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=auto KEYMAP=n COMPRESS=gzip DEVICE= NFSROOT=auto RUNSIZE=10% FSTYPE=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- mkinitramfs hooks /etc/initramfs-tools/hooks/: /usr/share/initramfs-tools/hooks: amd64_microcode dmsetup fsck fuse intel_microcode keymap klibc-utils kmod ntfs_3g plymouth resume thermal udev zdev zfs zfsunlock zz-busybox -- System Information: Debian Release: 11.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.14.0-0.bpo.2-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages initramfs-tools depends on: ii initramfs-tools-core 0.140 ii linux-base 4.6 initramfs-tools recommends no packages. Versions of packages initramfs-tools suggests: ii bash-completion 1:2.11-2 -- no debconf information