diff options
author | lassulus <lassulus@lassul.us> | 2017-08-04 18:20:48 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-08-04 18:20:48 +0200 |
commit | 8fcc77c4901ec8efa5b15613045446c5625b76ed (patch) | |
tree | 78dd1017e4006003fe500db29346be1daa9c59d8 | |
parent | 1310375624b7fbcb6c165a032edc9d3ef336d57b (diff) |
l pkgs.init: run parted in script mode
-rw-r--r-- | lass/5pkgs/init/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/5pkgs/init/default.nix b/lass/5pkgs/init/default.nix index 679187531..b386fa94b 100644 --- a/lass/5pkgs/init/default.nix +++ b/lass/5pkgs/init/default.nix @@ -46,7 +46,7 @@ pkgs.writeText "init" '' # dd if=/dev/zero bs=512 count=34 of=/dev/sda # TODO zero last 34 blocks (lsblk -bno SIZE /dev/sda) if ! test "$(blkid -o value -s PTTYPE "$disk")" = gpt; then - parted -a optimal "$disk" \ + parted -s -a optimal "$disk" \ mklabel gpt \ mkpart no-fs 0 1024KiB \ set 1 bios_grub on \ |