]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge tag 'vfs-7.0-rc1.initrd' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 9 Feb 2026 19:03:25 +0000 (11:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 9 Feb 2026 19:03:25 +0000 (11:03 -0800)
Pull vfs initrd removal from Christian Brauner:
 "Remove the deprecated linuxrc-based initrd code path and related dead
  code. The linuxrc initrd path was deprecated in 2020 and this series
  completes its removal. If we see real-life regressions we'll revert.

  The core change removes handle_initrd() and init_linuxrc() — the
  entire flow that ran /linuxrc from an initrd, pivoted roots, and
  handed off to the real root filesystem. With that gone, initrd_load()
  becomes void (no longer short-circuits prepare_namespace()),
  rd_load_image() is simplified to always load /initrd.image instead of
  taking a path, and rd_load_disk() is deleted.

  The /proc/sys/kernel/real-root-dev sysctl and its backing variable are
  removed since they only existed for linuxrc to communicate the real
  root device back to the kernel.

  The no-op load_ramdisk= and prompt_ramdisk= parameters are dropped,
  and noinitrd and ramdisk_start= gain deprecation warnings.

  Initramfs is entirely unaffected. The non-linuxrc initrd path
  (root=/dev/ram0) is preserved but now carries a deprecation warning
  targeting January 2027 removal"

* tag 'vfs-7.0-rc1.initrd' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  init: remove /proc/sys/kernel/real-root-dev
  initrd: remove deprecated code path (linuxrc)
  init: remove deprecated "load_ramdisk" and "prompt_ramdisk" command line parameters

1  2 
Documentation/admin-guide/kernel-parameters.txt

index 7a6acb523774ea2a482ee1ef7cd11aeb7294ba54,f67591615a6adfdac112dc7842c889167dd0b868..03df66c8a0ab5c1d4db53ea06d6d069b01c343be
@@@ -3472,13 -3437,6 +3472,11 @@@ Kernel parameter
                        If there are multiple matching configurations changing
                        the same attribute, the last one is used.
  
-       load_ramdisk=   [RAM] [Deprecated]
 +      liveupdate=     [KNL,EARLY]
 +                      Format: <bool>
 +                      Enable Live Update Orchestrator (LUO).
 +                      Default: off.
 +
        lockd.nlm_grace_period=P  [NFS] Assign grace period.
                        Format: <integer>