diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh index 1b5b22c2005a..4a7f073ea8ad 100644 --- a/nixos/modules/system/boot/stage-2-init.sh +++ b/nixos/modules/system/boot/stage-2-init.sh @@ -41,6 +41,8 @@ if [ ! -e /proc/1 ]; then mount -n -t proc proc /proc mkdir -m 0755 -p /dev mount -t devtmpfs devtmpfs /dev + mkdir -m 0755 -p /sys + mount -t sysfs sysfs /sys fi