APi disk is locked in read only mode. Nothing I've done has helped including creating a root password. Do I need to reinstall the system? How do I use dd to create restore an image?
APi disk is locked in read only mode. Nothing I've done has helped including creating a root password. Do I need to reinstall the system? How do I use dd to create restore an image?
Peter,
Please try temporarily adding fsck.repair=yes
(and possibly fsck.mode=force
, though this shouldn't be necessary) to the kernel command line in Grub (follow https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter for instructions on doing so).
/etc/default/grub.d/100-grub-host-fsck-y.cfg configures fsck.repair=yes
permanently for newer images so manually entering Grub shouldn't be necessary for them.
Thanks Sergey. I will try this tonight.
So fsck in GRUB didn’t work. Could not find fsck. Tried fsck-p after boot and that resolved issue.
So fsck in GRUB didn’t work. Could not find fsck. Tried fsck-p after boot and that resolved issue.
There is no such file in that directory on my atomic pi. I have the same issue
If I fsck-p after boot, it says
WARNING!!! The filesystem is mounted. If you continue you WILL cause SEVERE filesystem damage.
How to do this?