Score:0

System crash, boots into intitramfs, says root filesystem requires a manual fsck, run fsck and can't exit or reboot

ng flag

I was running a debug symbols tool for kdenlive, to get a backtrace for a software crash. Replicated the crash but then the system froze. Decided to hard shutdown the machine and now I'm stuck in the above loop.

On boot I get the following:

/scripts/local-premount/resume: line 73: wait-for-root not found
/init: line 73: wait-for-root: not found
/init: line 872: logsave: Text file busy
The root system filesystem on /dev/sda2 requires a manual fsck

BusyBox v1.30.1 (Ubuntu 1:130.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

At this point I followed the steps in the most related topic on here:

(initramfs) fsck -yf /dev/sda2
fsck from util-linux 2.37.2
Pass 1: Checking inodes, blocks and size
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda2: 991851/14188544 files (2.2% non-contiguous), 34066185/56737024 blocks 
(initramfs) _

I think when I first ran this there was more output with a lot of yes, but now it runs and then stops on the flash cursor.

If I try exit it repeats the same message about logsave: Text file busy.

I've tried running ps to see if there's a process running called logsave and there doesn't appear to be. I'm guessing that the debug tool crashed and it's still trying to write output somewhere but I can see how to tell it to not?

Pretty sure the program was called dbg but couldn't see that in the process list either.

Not sure what to do at this stage, is my hard drive basically screwed? If I can get hold of a boot CD tomorrow what would you recommend my next steps to be?


UPDATE: I saw another post which recommended trying an older kernel from the boot option at the Grub menu, that got me into the OS but on reboot it puts me back into the above loop.

Maybe there's something I can whilst back in the OS?

Emre Talha avatar
ar flag
I did not get the "The root system filesystem on /dev/sda2 requires a manual fsck " part but kinda had the same [issue](https://askubuntu.com/questions/1419470/grub-cant-load-ubuntu-instead-falls-to-initramfs), see if this helps
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.