Code: Select all
sync
sync
sync
mount -o remount,ro /
mount -o remount,ro /boot
However, its not all bad news, there is an automatic process that puts the disk back in RO mode if you leave it - think of these more as a safety net, so that when you "apt update" because muscle memory, and you didnt remember to make the disk RW, it magically happens saving you from shooting your feet off (that might have happened to me countless times).