1
0
Fork 0

force fsck on raspberry pi boot

This commit is contained in:
Massaki Archambault 2021-12-07 09:47:48 -05:00
parent c9e6b105a9
commit 30396e0441
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc cgroup_memory=1 cgroup_enable=memory
net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 fsck.mode=force elevator=deadline rootwait fixrtc cgroup_memory=1 cgroup_enable=memory

View File

@ -6,6 +6,7 @@
owner: root
group: root
mode: 0755
notify: reboot
- name: Configure poe hat fan speed control udev rules
copy:
@ -13,7 +14,7 @@
dest: /etc/udev/rules.d/50-rpi-fan.rules
notify: reboot
- name: Enable cgroups
- name: Configure kernel command line parameters
copy:
src: cmdline.txt
dest: /boot/firmware/cmdline.txt