Questions tagged [fsck]

tool for file system check

The system utility fsck (for "file system check") is a tool for checking the consistency of a file system in Unix and Unix-like operating systems such as Linux.

540 questions
401
votes
7 answers

fsck error on boot: /dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

I dual boot Ubuntu and Windows 7. I was browsing on FireFox in Ubuntu and all of a sudden I get some error message, so I rebooted. Now when I try to boot into Ubuntu I get this message: fsck from util-linux 2.26.2 /dev/sda6 contains a file system…
Jordy
  • 4,111
142
votes
4 answers

How to repair a corrupted FAT32 file system

I'm using the FAT32 file system for my pen drive. It frequently has file/data corruptions. In Windows, I used the scan disk utility to fix the FAT32/NTFS file systems. How can I do this in Ubuntu?
Chalitha
  • 1,423
130
votes
12 answers

Fix corrupt NTFS partition without Windows

MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I had Windows installed). I'm putting the debug output of fdisk and blkid here. At the same time, any OS is unable to mount my root partition, which is located next to…
Nemo
  • 9,610
99
votes
17 answers

"Welcome to emergency mode!" Think it is a fsck problem

My computer booted to a black screen with this error message. Welcome to emergency mode! After logging in,type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try again to boot into default…
Kim André
  • 1,195
54
votes
7 answers

Where are fsck results logged at boot time, after /forcefsck?

When working remotely, I set a server to force an fsck at boot time with the command: sudo touch /forcefsck and rebooted. After it restarted, I checked in /var/log/fsck for the results of the disk check. Both checkfs and checkroot said: Nothing has…
47
votes
1 answer

/dev/sda1 contains a file system with errors, check forced

After booting into Ubuntu this shows up /dev/sda1 contains a file system with errors, check forced. Inodes that were part of a corrupted orphan linked list found. /dev/sda1: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY. (i.e., without -a…
37
votes
9 answers

fsck can't find fsck.ntfs

On several machines that I've upgraded from Natty to Oneiric, I get an error every boot (one for every NTFS partition): Serious errors were found while checking the disk drive for /windows/c. Press I to ignore, S to skip mounting, or M for manual…
36
votes
7 answers

e2fsck: Cannot continue, aborting

I got this output: fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-2014) /dev/mapper/ubuntu--vg-root is mounted. e2fsck: Cannot continue, aborting. after I used the fsck command. Any answers?
34
votes
4 answers

How to fix the hard-drive Bad Sector

I tried to fix my hard drive using Ubuntu but I encountered an error message and didn't know how to proceed. I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) fsck.ext2: Permission denied while…
34
votes
1 answer

What's lost+found and where did it come from?

I reformatted a hard drive to ext4, planning to use it as a backup drive. After mounting the freshly-formatted drive, I discovered a single empty directory inside it: lost+found. What's the purpose of this mysterious directory?
Evan Kroske
  • 2,078
28
votes
3 answers

/dev/sda1: Inodes that were part of a corrupted orphan linked list found

I was using my Ubuntu 2015.04 (with ecryptfs-encrypted user home) laptop normally when suddenly, the hard drive became read-only. I rebooted and now it is stuck on this: [ 0.703206] ACPI PCC probe failed. starting version 219 error: /dev/sdb: No…
Nicolas Raoul
  • 11,921
26
votes
4 answers

How do I find out if there will be a fsck during the next boot?

Is there a way to find out if a filesystem check is scheduled for the next boot? Maybe it's similar to a forced check, which gets triggered by the existence of the file /forcefsck?
htorque
  • 66,086
25
votes
3 answers

Persistent "disk will be checked..." in the message of the day (motd) even after reboot

I see that there are some other threads that mention this error, but I have tried the solutions with no luck. When I log into my 12.04 Server, I get the message: /dev/sdb1 will be checked for errors at next reboot /dev/sdc1 will be checked for…
dpbklyn
  • 865
24
votes
3 answers

How can I make fsck run non-interactively at boot time?

I have a headless Ubuntu 12.04 server in a datacenter 1500 miles away. Twice now on reboot the system decided it had to fsck. Unfortunately Ubuntu ran fsck in interactive mode, so I had to ask someone at my datacenter to go over, plug in a console,…
Nelson
  • 716
24
votes
6 answers

Force fsck.ext4 on reboot, but really "forceful"

One of my Ubuntu 10.04 servers is giving me trouble. When I run fsck.ext4 -n /dev/sda5 it tells me there are errors in the free inode count, free block count, and more. I have tried: touch /forcefsck Also tried: shutdown -rF now and still, after…
UrkoM
  • 1,375
1
2 3
35 36