don't growsf on boot, it seems to cause corruption
This commit is contained in:
parent
63359b5d06
commit
2932649a51
2
README
2
README
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Config for my moto potter to turn it into a bike computer. We will
|
Config for my moto harpia to turn it into a bike computer. We will
|
||||||
need
|
need
|
||||||
|
|
||||||
- working gps
|
- working gps
|
||||||
|
@ -61,6 +61,21 @@ in {
|
|||||||
# "dyndbg=\"file drivers/video/backlight/qcom-wled.c +fmp\""
|
# "dyndbg=\"file drivers/video/backlight/qcom-wled.c +fmp\""
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# according to fdisk, /dev/mmcblk0p41 is 30469887-7471104=22998783
|
||||||
|
# blocks, and if we let it get resized by whatever magic this is
|
||||||
|
# (I'm assuming systemd-growfs), on the subsequent boot we'll get
|
||||||
|
# an error
|
||||||
|
|
||||||
|
# EXT4-fs (mmcblk0p41): bad geometry: block count 2883067 exceeds size of device (2874848 blocks)
|
||||||
|
|
||||||
|
# in which neither number matches the reported size (they're both
|
||||||
|
# about 10% of it). cool.
|
||||||
|
|
||||||
|
boot.growPartition = lib.mkForce false;
|
||||||
|
fileSystems."/" = lib.mkDefault {
|
||||||
|
autoResize = lib.mkForce false;
|
||||||
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
hostName = "biscuit";
|
hostName = "biscuit";
|
||||||
|
Loading…
Reference in New Issue
Block a user