openenergymonitor / EmonScripts

Emoncms Stack Installation and Update scripts
16 stars 30 forks source link

/boot/firmware #192

Closed TrystanLea closed 8 months ago

TrystanLea commented 8 months ago

Strange issue as Im sure I've built this image before just fine without changing fstab:

fstab shipped with bookworm, notice partition 1 mounts to /boot/firmware not /boot:

proc            /proc           proc    defaults          0       0
PARTUUID=42a26fda-01  /boot/firmware  vfat    defaults          0       2
PARTUUID=42a26fda-02  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

Trying the following fstab (there's a strange issue with /var/tmp ram requirement as well, upped here to 128MB temporarily)

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot/firmware  vfat    defaults          0       2
/dev/mmcblk0p2  /               ext4    defaults,noatime,nodiratime  0  1
/dev/mmcblk0p3  /var/opt/emoncms   ext2    defaults,noatime,nodiratime  0  2
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

tmpfs           /tmp                   tmpfs   nodev,nosuid,size=30M,mode=1777 0  0
tmpfs           /var/tmp               tmpfs   nodev,nosuid,size=128M,mode=1777  0  0
tmpfs           /var/lib/php/sessions  tmpfs   nodev,nosuid,size=1M,mode=1777  0  0
TrystanLea commented 8 months ago

Updated to use new fstab