After a sudden electricity drop, my Raspberry Pi 2 restarted unexpectedly. After that, OSMC hangs on start and doesn’t boot.
The OSMC boot screen appears as usual, but after a while a text line appears at the top left corner. After that, I get some more text prompts on the screen and the last one states: [OK]: Reached target emergency mode. On the top of the lines there is the following information:
[TIME] Timed out waiting for device dev-mmcblk0p1.device
[DEPEND] Dependency failed for /boot
[DEPEND] Dependency failed for Local File System
No text prompt input, nor can I press any key combination.
Any ideas please? Could this mean that my SD card has been corrupted?
Thanks in advance.
I put my money (which I don’t have ) on corrupted card (at least the data)
That’s what I am also considering…
Is there anything I can do, or the only solution is to format and reinstall?
Plug the card into another Linux system and fsck the system partition.
There are 2 partitions in the card, one ext4 and one FAT32.
The ext4 partition gives no errors.
The fat32 partition returns the following:
fsck from util-linux 2.20.1
fsck.fat 3.0.26 (2014-03-07)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
- Remove dirty bit
- No action
If I select the first option ( 1) Remove dirty bit ) I get the following:
Leaving filesystem unchanged.
I also tried the command fsck.vfat -v -a -w /dev/sdg1, wich seemed to do some work on the disk, but OSMC continues freezing on boot…
/dev/sdg1: 76 files, 48863/489976 clusters