diff --git a/modules/system/boot/stage-1-init.sh b/modules/system/boot/stage-1-init.sh index 616f14156a4..db712f48ee1 100644 --- a/modules/system/boot/stage-1-init.sh +++ b/modules/system/boot/stage-1-init.sh @@ -291,6 +291,10 @@ if ! test -e $targetRoot/dev/console; then fi +# Restore /proc/sys/kernel/modprobe to its original value. +echo /sbin/modprobe > /proc/sys/kernel/modprobe + + # Start stage 2. `run-init' deletes all files in the ramfs on the # current /. Note that $stage2Init might be an absolute symlink, in # which case "-e" won't work because we're not in the chroot yet.