diff options
Diffstat (limited to 'rootfs/etc/initramfs-tools/scripts')
| -rwxr-xr-x | rootfs/etc/initramfs-tools/scripts/local-bottom/rpi-resizerootfs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootfs/etc/initramfs-tools/scripts/local-bottom/rpi-resizerootfs b/rootfs/etc/initramfs-tools/scripts/local-bottom/rpi-resizerootfs index 64b4dee..3826847 100755 --- a/rootfs/etc/initramfs-tools/scripts/local-bottom/rpi-resizerootfs +++ b/rootfs/etc/initramfs-tools/scripts/local-bottom/rpi-resizerootfs @@ -45,6 +45,9 @@ wait_for_udev 5 partprobe "$rootdev" resize2fs "$rootpart" +# After resizing, (re)check the root partition's filesystem +fsck "$rootpart" + # Remount root # Don't quote ${ROOTFLAGS} as that results in an extra (empty) argument # to 'mount', which in turn causes a boot failure |
