From 1a56070d561bbd18e980233d4c267bf2b3554e11 Mon Sep 17 00:00:00 2001 From: Christian Harke Date: Tue, 24 Sep 2024 15:02:12 +0200 Subject: [PATCH] Add pause since mounting might fail --- lib/apps/nixos-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/apps/nixos-install.sh b/lib/apps/nixos-install.sh index 7c267ff4..a9c9e390 100644 --- a/lib/apps/nixos-install.sh +++ b/lib/apps/nixos-install.sh @@ -82,6 +82,7 @@ create_filesystems() { mkfs.btrfs -f -L "${ROOT_FS}" "${root_partition}" _log "[create_filesystems] Creating sub volumes" + sleep 2 mount "/dev/disk/by-label/${ROOT_FS}" "${MOUNT_ROOT}" btrfs subvolume create "${MOUNT_ROOT}/@" btrfs subvolume create "${MOUNT_ROOT}/@home"