140 reputation
4
bio website
location
age
visits member for 1 year, 10 months
seen Sep 16 at 12:40

Sep
8
awarded  Supporter
Nov
22
comment Can I make low-level changes on a root fs mounted RO?
Ok, the thing that confused me was that fsck for the root fs is started by a standard init.d script (checkroot.sh), i.e. while / is already mounted ro. I modified initramfs so that fsck is done before even mounting root and in case of a critical error it can reformat root and restore a safe backup from another partition.
Nov
22
accepted Can I make low-level changes on a root fs mounted RO?
Nov
20
asked Can I make low-level changes on a root fs mounted RO?
Nov
20
comment Where is fsck startet for the root filesystem at boot?
The problem is that the rootfs needs to be changed from time to time (application upgrades, configurations) and I can't update the initramfs each time. Instead, falling back to a older backup and re-applying the changes is the better way for me.
Nov
20
awarded  Scholar
Nov
20
accepted Where is fsck startet for the root filesystem at boot?
Nov
20
asked Where is fsck startet for the root filesystem at boot?
Nov
20
awarded  Student
Nov
20
awarded  Teacher
May
16
answered why is this init.d-script not being executed at system reboot?
May
16
asked why is this init.d-script not being executed at system reboot?