From a7eb0e56588d58109cfb3236010728c7341f571a Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Tue, 2 Jul 2024 16:15:57 -0400 Subject: [PATCH] Create @boot before syncing --- linuxmint-postsetup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/linuxmint-postsetup.sh b/linuxmint-postsetup.sh index 5abaeaa..9bf60e3 100755 --- a/linuxmint-postsetup.sh +++ b/linuxmint-postsetup.sh @@ -51,6 +51,7 @@ function create_subvolumes() { ${cmd} mount "$RootPart" /mnt if [[ "$BootPart" == "@boot" ]]; then + ${cmd} btrfs subvolume create /mnt/@boot ${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/" fi