(initramfs) fsck /dev/mapper/ubuntu--vg-root -y
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
/dev/mapper/ubuntu--vg-root contains a file system with errors, check forced
2 thoughts on “How to recover from a corrupt debian linux filesystem (read-only filesystem) that will not boot or boots into initramfs”
Leave a Reply
You must be logged in to post a comment.
Also: cd /dev/mapper
then: ls
then run:
fsck /dev/mapper/(what was listed from the ls command) -y
as it may be different. it wont always be ubuntu–vg-root
Worked! Thank you!!