don't growsf on boot, it seems to cause corruption

This commit is contained in:
Daniel Barlow 2024-02-19 19:57:03 +00:00
parent 63359b5d06
commit 2932649a51
2 changed files with 16 additions and 1 deletions

2
README
View File

@ -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
- working gps

View File

@ -61,6 +61,21 @@ in {
# "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 = {
useDHCP = true;
hostName = "biscuit";