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.

542 questions
402
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,121
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
131
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 my…
Nemo
  • 9,630
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 mode.…
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 or -p…
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 trying…
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,941
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,134
26
votes
3 answers

How to force fsck on reboot for Ubuntu 20.04

I am running Ubuntu 20.04 on an embedded device. I will like to ask how to force automatic fsck on bootup? In older Ubuntu versions, this can be achieved by editing the /etc/default/rcS and setting FSCKFIX=yes. However, I read that in newer Ubuntu,…
ablan
  • 375
  • 1
  • 4
  • 7
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
1
2 3
36 37