This is a duplicate of: fsck e2fsck: Cannot continue, aborting
because I can not comment there and it is obvious to me that people marking this as duplicate and the one's responding didn't really read/understand what the problem is.
On a fresh install of XUbuntu 18.04.2 if I used the "Extended Options for Ubuntu" and use any "...(revovery mode)" entry and in the following menu I choose "fsck check all filesystems" I initially got:
/lib/recocery-mode/recovery-menu: line 80: /etc/default/rcS: No such file or directory
fsck from util-linux 2.31.1
/dev/sda4 is mounted
e2fsck: Cannot continue, aborting.
As there was no /etc/default/rcS on the installed Xubuntu 18.04.2 system and none on the Xubuntu live DVD, I checked an old 16.10 live DVD and that had a /etc/default/rcS, that bassically consisted of a bunch of options that were commented out. so I copied it over. and when I now try "... (recovery mode)" "fsck..." I get:
fsck from util-linux 2.31.1
/dev/sda4 is mounted
e2fsck: Cannot continue, aborting.
Being a newbee I spent the last 2 days to try to find out how I can fix this permanently (I did file a bug-report). I need to get on the road with this laptop and when being on the road I need this "fsck..." menu to work as I can not run around with a big pile of paper of all the things I need to remember about bypassing problems in the boot process. I won't have access to the internet if that laptop fails. I did not want to try to copy the /lib/recocery-mode/ folder from the old 16.10 live DVD to 18.04.2 as I'm worried I might create damage that way and I just can not spend another 2 days searching with no useable result. I don't want to take the risk of booting an unchecked filesystem that might be corrupted (etc. because of power failure) either.
PS: english is not my mothertongue so please forgive me if I sound rude or anything. I'm just trying to state facts neutrally
fsck
(file system check) your drives, it's easiest if they aren't mounted. The easiest way to accomplish this is to boot a 'live' system such as your Xubuntu install media; andfsck
your hdd/sdd partitions from there. Afsck
shouldn't be necessary unless something went wrong and the system was uncleanly rebooted/shutdown (though by default the system will do it for safety reasons every ~30th boot). I don't understand the reason for your question though sorry. – guiverc Jun 23 '19 at 00:52