This past weekend I decided to do some rewiring of my home lab and accidentally pulled the power to the host that my VCSA was running on. While booting my VCSA 6 was booting back up I received the following error:
fsck failed. Please repair manually and reboot. The root file system is currently mounted ready-only. To remount it read-write do: bash# mount -n -o remount,rw
To launch the BASH shell reboot your VCSA by hitting CTRL+D. On the menu screen below hit the arrow up or down to stop the countdown. Then on the second option hit p and type your root password to unlock additional options.
Ensure the second line named kernel is selected then hit e to edit the line.
Add the following to the very end of this screen then hit Enter:
Now hit b to boot the edited kernel line:
Note: This change is a one time thing. Once the VCSA is rebooted that line will not be there and will boot as normal. To boot back into BASH you will have to repeat the steps above.
Once booted you can now run the fsck command to fix the troubled directory.
For Connect to /lost+found<y>? enter Y
On the questions enter y to resolve any issues fsck finds. Once finished type reboot to let the VCSA boot normally.
fsck should have fixed your issues and VCSA should boot as normal!
If this worked as advertised or had any further issues post below!