Bootstrap : Nixos fix labeling.
This commit is contained in:
parent
ca010c032d
commit
148b3d0c22
|
@ -58,8 +58,8 @@ function bootstrap_nixos() {
|
||||||
parted -s "${target}" mktable gpt
|
parted -s "${target}" mktable gpt
|
||||||
parted -s "${target}" mkpart primary 0% 512MB
|
parted -s "${target}" mkpart primary 0% 512MB
|
||||||
parted -s "${target}" mkpart primary 512MB 100%
|
parted -s "${target}" mkpart primary 512MB 100%
|
||||||
parted -s "${target}" name NIXBOOT
|
parted -s "${target}" name 1 NIXBOOT
|
||||||
parted -s "${target}" name NIXROOT
|
parted -s "${target}" name 2 NIXROOT
|
||||||
|
|
||||||
# Format.
|
# Format.
|
||||||
mkfs.fat -F 32 "${target}1"
|
mkfs.fat -F 32 "${target}1"
|
||||||
|
|
Reference in a new issue