diff options
author | ene <ene@sils.li> | 2023-02-19 18:14:02 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-19 18:14:02 +0100 |
commit | 8161524716adccf2e0456e6d791b99874d00834e (patch) | |
tree | 061805fe9c8ff6fb094a82d8c5963a84b80543a6 /bootstrap | |
parent | Fix(Update): Update deps (diff) | |
download | nixos-config-8161524716adccf2e0456e6d791b99874d00834e.tar.gz nixos-config-8161524716adccf2e0456e6d791b99874d00834e.zip |
Fix(bootstrap): Remove false btrfs subvolume
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/install | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap/install b/bootstrap/install index d267de7e..a5d3aeb2 100755 --- a/bootstrap/install +++ b/bootstrap/install @@ -53,9 +53,9 @@ case $result in ;; esac -sgdisk -Z "/dev/${disk}" || dien "Zapping" +sgdisk -Z "/dev/${disk}" > /dev/null|| dien "Zapping" -sgdisk -n 1:0:+550M -n 2:0:"$ENDSECTOR" -t 1:ef00 -t 2:8300 "/dev/${disk}" || dien "Partitioning" +sgdisk -n 1:0:+550M -n 2:0:"$ENDSECTOR" -t 1:ef00 -t 2:8300 "/dev/${disk}" > /dev/null|| dien "Partitioning" case "$disk" in "nvme"*) @@ -72,8 +72,8 @@ case "$disk" in esac msg "Started Formatting..." -mkfs.fat -F32 "$DISK_EFI" || dien "Formatting(fat32)" -mkfs.btrfs "$DISK_ROOT" || dien "Formatting(btrfs)" +mkfs.fat -F32 "$DISK_EFI" > /dev/null || dien "Formatting(fat32)" +mkfs.btrfs "$DISK_ROOT" > /dev/null || dien "Formatting(btrfs)" msg "Mounting..." @@ -81,7 +81,7 @@ mount -t btrfs $DISK_ROOT /mnt cd /mnt || die "(Bug): no /mnt" bsc nix-store bsc persistent-storage -bsc storage/nixos-config +bsc persistent-storage/nixos-config cd / umount -R /mnt mount -t tmpfs none /mnt |