try to fix md device
This commit is contained in:
parent
1c73eb6ab5
commit
4cb2f66780
|
@ -24,7 +24,8 @@
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# encrypted system
|
# encrypted system - on a md device
|
||||||
|
boot.swraid.enable = true;
|
||||||
boot.initrd.luks.devices."crypt-system" = {
|
boot.initrd.luks.devices."crypt-system" = {
|
||||||
device = "/dev/disk/by-uuid/a1d1ef39-74ea-4a6c-bc47-8ae90e002126";
|
device = "/dev/disk/by-uuid/a1d1ef39-74ea-4a6c-bc47-8ae90e002126";
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
|
|
|
@ -132,7 +132,7 @@ sync
|
||||||
|
|
||||||
# shutdown once
|
# shutdown once
|
||||||
|
|
||||||
shutdown -h now
|
shutdown now
|
||||||
|
|
||||||
# sync all /data after the install
|
# sync all /data after the install
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ sync
|
||||||
|
|
||||||
# shutdown once
|
# shutdown once
|
||||||
|
|
||||||
shutdown -h now
|
shutdown now
|
||||||
|
|
||||||
# sync all /data after the install
|
# sync all /data after the install
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue