I had a perfectly functioning ubuntu (22.04 if I'm correct).
But last time I tried to reboot it wouldn't do it anymore. It woul get stack in the first command line initramfs.
I typed exit and recevied the error:
/init: line 872: logsavw: not found
The root filesystem on /dev/nvme0n1p2 requires a manual fsck
After checking online I tried to manually fix the disc with the fsck command ( fsck -yf /dev/nvme0n1p2), but this error happened.
sh: fsck: Text file busy
nvme0n1p2 seems to be a root disk so it can't be access through the fcsk command, as it's been used.
I've checked related topics but so far nothing has really helped me. In a question I already posted they sent me to another post where they used the sudo command. But surpringsly, the sudo command is not found, and when I type whereis sudo I get the message whereis: not found.
I'm very surprised that I can't suddenly access this very basic command, and why did this happened at all.
Any insights would be helpful