Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fsck]

a system tool for checking the consistency of a file system.

0
votes
1answer
74 views

fsck.mode=force is not fixing unable to mount root fs on unknown-block(179,2)

I have 2 SD cards with Raspbian Stretch that are throwing the following error on boot: Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2) I fixed one card by running ...
1
vote
0answers
32 views

Problems with hfsplus on Raspberry Pi

Description I was following this article to use a hard drive connected to the Raspberry Pi as a TimeMachine backup. Everything was working find until I removed for a short time the power supply of ...
1
vote
2answers
322 views

How to avoid fsck at boot timing out

If the raspberry pi doesn't shut down cleanly, it forces a fsck at boot. My filesystem is on a 64GB micro SD card and it takes quite a while to fsck. But before that can finish a couple of services ...
0
votes
0answers
501 views

How do I fix this error with wpa_cli? (strace included)

I had an unfortunate pulling of the power plug on my pi and now wpa_cli isn't starting correctly. user@raspberrypi:~ $ wpa_cli wpa_cli v2.3 Copyright (c) 2004-2014, Jouni Malinen <j@w1.fi> and ...
1
vote
1answer
2k views

PI-3 corrupted file system - run fsck on boot (Raspbian Stretch)

I'm using a RPi3 with Raspbian Stretch and I have problems with corrupt file system. I use the Raspberry in a system where a "clean shutdown" is not possible. So I want to run fsck on boot. I have ...
3
votes
1answer
209 views

Booting RPi 3 from HDD corrupts ext4 partition each time

I've successfully followed these instructions to get a Raspberry Pi 3 to boot from a USB hard drive. Broadly speaking, it works very well. Unfortunately, it seems that the root (ext4) partition doesn'...
1
vote
1answer
383 views

Raspberry pi won't boot after unclean power down

I am new to Raspberry Pi exchange, looks like I'm having a micro SD corruption problem. I was about to plug a USB webcam into my Raspberry Pi 3 model b and I accidentally stepped in the power button!...
0
votes
1answer
479 views

how can I repair unrecognizable sd card

This SD card has Kali loaded for Raspberry pi 3. Some how I corrupted sd card by editing config.txt file in windows 10 machine, after then sd card was unrecognizable by neither machines windows or ...
1
vote
2answers
2k views

RaspberryPi: Auto fix root-filesystem at boot-time

I have several RaspberryPi's running (~100). After a power breakdown some devices no longer started with the following error message: It seems that the root-partition is broken. After I have ...
3
votes
2answers
7k views

Unable to run fsck on /dev/mmcblk0p2

Upon rebooting using shutdown -rF now of my Raspberry Pi 3, I am presented with emergency mode, however, I am unable to run fsck -fy on the root partition. I am presented with the following error: ...
10
votes
4answers
34k views

Raspberry Pi 3 and Raspbian Jessie - How to run fsck at boot?

How to run fsck at boot when using Pi 3 and Raspberry Jessie? I have read some tutorial but they differ. I have run sudo touch /forcefsck but what else I have to do? I know that I should set FSCKFIX=...
0
votes
4answers
516 views

Unable to repair sd disk partition

I would like to fix a fsck problem I have on my sd card. I plug it on another RPI using an SD card reader and then I have tried to run fsck but with no success. It seems to repair it but if I run ...
1
vote
0answers
1k views

fsck keeps returning “fsck usage: fsck [-fdnypq] [-l number]” on sd card for raspberry pi

My raspberry pi won't boot, I'm getting an "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)" error. I'm trying to solve it by running an fsck on the drive, as many ...
1
vote
3answers
203 views

No space on 8gb usb stick shows 100% du shows 3.5mb

root@rasp:/home/pi# df df: `/squashfs': No such file or directory Filesystem 1K-blocks Used Available Use% Mounted on rootfs 7498344 7481956 0 100% / dev 116816 ...
0
votes
1answer
5k views

Mounting local filesystem… : Volume was not properly unmounted

I'm getting this error on Raspbian on boot: Mounting local filesystem... FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. But when I run fsck I only ...
1
vote
1answer
741 views

Unplugged HFS+ USB Drive from RPi is corrupted

I plugged then uplugged my HFS (Non-journaled) external USB drive with its own power outlet from the RPi2, now the drive is corrupted dmesg | tail -20: [ 14.840735] hfsplus: Filesystem was not ...
2
votes
2answers
729 views

Flashing raspbian-netinst image results in “Superblock last mount time is in the future.”

After building a minimal Raspbian installation with raspbian-ua-netinst, making an image off of it and flashing it on another SD card a few days later I get an Superblock last mount time is in the ...
0
votes
1answer
125 views

Should I be worried if my SD card has been corrupted?

Summary My Pi has crashed a few times recently. I'm investigating ways to make it stop, but I'm also concerned that there are immediate implications to my file system. Background After one crash, I ...
2
votes
1answer
3k views

Why does Raspbian disable fsck in fstab by default?

Default Raspbian has the following details in /etc/fstab proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 0 /dev/...
2
votes
2answers
4k views

Corrupt image fix

How can I fix corrupt image on SD card, my os is rasbpian wheezy 7 which got sluggish and I tried to fix it with running fsck ( on my pi and on another 3 linux machines) which did not fix my problems.....
1
vote
1answer
2k views

Restart after power Failure with FSCK?

Is there any way to have a Raspberry automatically after a power failure? This is a great feature on Mac OS X that I would like to have on my Pi because of it's usage. It would also be great if I ...
2
votes
1answer
576 views

schedule fsck over SSH

Can one shedule a sudo touch /forcefsck then reboot sudo shutdown -r now and automatically accept any fixes when connected to the PI over SSH? It's the accept any fixes that i'm not sure if its ...
0
votes
2answers
739 views

Raspberry Terminal and SSH not working [closed]

I made a fsck on my Raspberry Pi and now it won't open the terminal (it's opening but there is a black screen and there is no pi@raspberry appearing). SSH opens, but the same thing happens. ....
6
votes
4answers
7k views

How can I harden Raspbian to boot unattended after unexpected shutdown?

I have a Pi running Raspbian in a headless configuration that has crashed a few times, once for unknown reasons, and once due to a power outage. In both cases, I had to connect a monitor and keyboard ...