Stack Exchange Network

Stack Exchange network consists of 174 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]

tool for file system check

0
votes
0answers
34 views

Sudden Bad Sectors and no Ubuntu on HDD

I have tried to downgrade from 18.10 to 16.04 LTS with Bootable USB. That USB was a bit of a problem as I had tried few times to rip Kali Linux and had troubles formatting it to make another ISO ...
-1
votes
2answers
238 views

Ubuntu 18.04: 4.19.1 kernel: after closing the lid for the night (not logging out), root filesystem is corrupted [on hold]

I'm running Ubuntu 18.04, with linux kernel 4.19.1. My laptop is single boot ubuntu. When I close the lid for the night, without logging off, on reopening the lid the next morning, and trying to ...
0
votes
0answers
14 views

Ubuntu stuck at file system check(boot) after updateliaaa

Recently i update my ubuntu version from 16.04 to 18.04.After reboot the system stucked on boot screen(the one which tell you which system process etc is starting).And the last line it says: fsckd-...
0
votes
0answers
48 views

Can't run fsck in recovery mode in 18.10

New problem in 18.10... I just discovered that the way I've always used fsck at the root access in recovery mode no longer works. It used to be: fsck -f / But now it tells me that the disk is ...
0
votes
1answer
39 views

File system error on Ubuntu 16.04 [duplicate]

I get the following error when trying to open the "Music" folder on my Mp3 player when the device is connected: "Failed to open directory "Music" -- Error when getting information for file '/media/...
0
votes
2answers
217 views

fsck e2fsck: Cannot continue, aborting [duplicate]

When I tried to run fsck on Ubuntu 18.04 recovery-mode I got the following message. Can anyone tell me why? /lib/recocery-mode/recovery-menu: line 80: /etc/default/rcS: No such file or directory fsck ...
1
vote
1answer
34 views

Ubuntu - USB drive fixing after interrupted formatting

I have a problem with already 2nd USB drives, most probably due to the reason of choosing slow formatting option. Because it takes a LOT of time, I probably forget about it and accidentally break the ...
0
votes
0answers
44 views

input/output error when launching any program

Every program I launch on Ubuntu 16.04 generates an input/output error: $ top bash: /usr/bin/top: Input/output error $ pkill firefox bash: /usr/bin/firefox: Input/output error $ okular bash: /usr/bin/...
0
votes
0answers
48 views

fsck is not running on 18.04, even with tun2fs mount count set to 1

fsck is not running on my root drive on Ubuntu 18.04. I have tried fsck.mode=force in grub on the kernel command line to no success. I have set the mount count to 1 with tune2fs -c 1 /dev/sda2 and ...
0
votes
1answer
84 views

How to fix the ubuntu file system /dev/sda error?

I encountered this error on my Ubuntu machine: The root filesystem on /dev/sda1 requires a manual fsck I launched the command fsck -fy /dev/sda1 and the system has done operations on the ...
0
votes
0answers
44 views

Is my SSD dying? System freezes

My home media server (Ubuntu 18.04) has been freezing occassionally for the past few months. There is no kernel panic logged or anything else in the logs so I was at a loss as to the cause. Finally, ...
0
votes
0answers
41 views

Hard drive bad sector appear more and more often

I have more and more often issues with my computer. I can't read some files sometimes when I use it for different tasks (developing, surfing, etc..). So I get the initframs menu when I reboot my ...
0
votes
0answers
175 views

Problems with Ubuntu 18.04: Manual fsck and Read-only file system

I'm sorry if this has been asked before, but I have tried many things that I saw here and in other forums and none seem to work. I installed Ubuntu 18.04 three months ago, and it keeps giving me ...
0
votes
1answer
28 views

Fsck on a Window 10 hd

I answer lots of newbie questions on SO, I know how painful it can be; please excuse my ignorance with Ubuntu. I have a boot issue with a Windows 10 laptop (I get the logo then black screen with no ...
1
vote
0answers
111 views

UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY - multiple times

I got the temporary fix from the solutions to this question: fsck error on boot: /dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Real Problem: I get this error many times (got it again while ...
2
votes
0answers
130 views

Ubuntu Server 18.04: fstab entry for root partition has passno = 0

The fstab entry for the root partition on my SSD is: UUID=fd3b80aa-901c-11e8-a5c4-e0d55e5a7608 / ext4 defaults 0 0 This was generated automatically during the Ubuntu Server installation. Note that ...
0
votes
0answers
429 views

16.04 failed fsck

Could not Boot to ubuntu 16.04. Got an error (I don't remember the text) came up with "status code 4" and it showed that the file sys on /dev/sda9 (boot partition) must run manual fsck. It showed an ...
0
votes
1answer
34 views

How to tell why drive is remounting read-only

I have a Lenovo laptop with an SSD and Ubuntu 18.04. The root partition keeps remounting read-only, according to the console messages. Except it won't read when it happens, either, just giving I/O ...
0
votes
0answers
43 views

Ubuntu newer kernels causing inconsistency (fsck) in hard disk

Ubuntu 16.04 LTS, with kernels 4.13.0-41-generic and 4.13.0-43-generic, if I left my desktop on for over 12 hours or so, it would cause a problem in the consistency of the hard disk, reported over in ...
3
votes
1answer
334 views

Ubuntu 16.04: Can only boot in recovery mode

What happened: 1. Ubuntu 16.04 works fine 2. Emergency in our building => computer was forced to shut down immediately 3. Since then: Ubuntu doesn't boot properly 3.1 Screen stays gray not black ...
0
votes
1answer
790 views

How can I run fsck on ntfs partitions on my hard drive? [duplicate]

A few years ago I switched from Windows to Ubuntu 14.04 LTS for my desktop PC. I installed the Ubuntu operating system (root+home+swap) in the space previously assigned to the C partition, while the ...
0
votes
1answer
103 views

Automatic recovery of ext4 filesystem

Last days I was facing problems with power outages/glitches that caused some failures on ext4 filesystem, the fs was then remounted as read-only. Unfortunately, this caused crash of few important ...
1
vote
1answer
74 views

insufficient permissions for device: when Ubuntu Desktop kept on overnight

Ubuntu 16.04 LTS 4.13.0-39-generic/4.13.0-40-generic/4.13.0-41-generic If I keep my laptop with Ubuntu (dual boot) on for a long time (like overnight), it suddenly starts giving "insufficient ...
1
vote
1answer
681 views

filesystem with invalid superblock checksum error on ubuntu 18.04 boot

I recently installed Ubuntu 18.04LTS with windows 10 and after I boot into Windows, Ubuntu boot failed with fsck.ext4: Superblock checksum does not match superblock while trying to open /dev/sda8 and ...
0
votes
0answers
43 views

Understanding USB message logs to troubleshoot USB automounting

I am trying to troubleshoot an issue where on one server my USB automounts whereas on another server it isn't. Comparing the logs for both instances, I am trying to understand what each line means. ...
0
votes
0answers
24 views

Problem booting with Ubuntu 16.04 and filesystem checking

I am having problems to start Ubuntu 16.04 (laptop ASUS R753U, dual boot Windows 10). When I select Ubuntu in the grub, it goes for filesystem checking starting at 18.5% and when it reached 22% pic 1, ...
1
vote
1answer
2k views

cannot remount /dev/sda2 read-write, is write-protected [duplicate]

I'm using ubuntu 16.04LTS on intel Core i3-6006U, 2.0GHz Asus pc.When I boot the pc I realized that there are some hard drive problems and it's not able to boot on ubuntu. I tried the answer mentioned ...
0
votes
0answers
63 views

How to fix file system definitely

The file system in which my Ubuntu 16.04 is allocated keeps corrupting and the initramfs shell appears. When this happens, I check the filesystem (sda6) and reboot to use Ubuntu normally, but when I ...
0
votes
0answers
723 views

Input/Output error on usb drive

I have been trying to recover my usb flash drive and have been looking into this question How to repair a corrupted FAT32 file system I can not write data or anything into my drive it just gives ...
0
votes
0answers
149 views

Cannot fix fsck errors after system crashing

I have a dual partition with Windows 8.1 and Ubuntu 16.04. While updating and restarting Windows I forced to turn off my laptop by pressing the power button. After that Ubuntu presents a lot of ...
0
votes
0answers
213 views

No init found, try passing init=bootarg

Every time i boot my pc goes to black and white screen and shows me- No init found. Try passing init= bootarg Busybox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash) Enter 'help' ...
1
vote
1answer
830 views

How to analyze and defragment drive in ubuntu 16.04

I want to check whether my root drive requires a defragmentation. If requried I am planning to do this sudo e4defrag -c /dev/<my partition> I followed this method to analyze my disk. sudo touch ...
1
vote
0answers
43 views

chronic issue with boot into read-only

I have a bit of a problem with my non-dual 16.04 Ubuntu computer. I recently booted and tried to do some of my usual computer things which didn't really work. I figured out that I was mounted in read-...
0
votes
1answer
248 views

Chromium giving me “bus error (core dumped)” after recovering from corrupted filesystem using fsck

So all was well a little while ago. I've been running into a series of problems and every solution leads to another problem. This is the series of events that led to the current state of my computer ...
0
votes
0answers
424 views

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

I dual boot Windows 10 and Ubuntu 16.04 and have an ssd drive. Sometime ago, when the PC was turned off without notice (electricity went off, por example), I got this error: fsck from util-linux ...
0
votes
0answers
18 views

How to manually do the forced check [duplicate]

When I start running Ubuntu I get this message . How can I solve it?
0
votes
0answers
87 views

Unable to open Ubuntu BusyBox v1.22.1

I have a dual boot and when I open Ubuntu it opens to BusyBox at this black screen. I have tried to get through but have been unsuccessful. I am trying to fix it without losing my files.
1
vote
1answer
2k views

Automatically force fsck -fy when encountering “UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.”

I have FSCKFIX=yes in /etc/default/rcS, however, when I drove down to the site and connected a monitor to this server today, I saw this: I ran fsck.ext4 -fy /dev/sda1 and rebooted and now the server ...
0
votes
1answer
135 views

Running fsck manually

In a recent reboot of Ubuntu, which failed, I get the message to run fsck manually. How do I do so. I may have a bad HD sector, and it may be easier to reinstall Ubuntu. I'm a newbie, so bear with me.
0
votes
0answers
138 views

is there an fsck for udf?

I accidentally unplugged a udf usb drive without unmounting it, and want to repair it so it doesn't crash macOS when mounting. Block size is 8K btw. From this, it looks like I might have to try my ...
-3
votes
1answer
28 views

HP laptop file system check found a Toshiba device

I am using Ubuntu 16.04 on a Hp laptop and when I ran a file system check (fsck) it found a Toshiba device. Answers on what this means would be highly appreciative. Here is a screenshot: http://jmp....
2
votes
1answer
441 views

Razer Blade Stealth disk corruption (fsck needed, probably samsung SSD bug) after updates

I have a Razer Blade Stealth 2016. The first Ubuntu I installed was Ubuntu 17.04, which gave e this error after 2 weeks of usage. After that, I installed 16.04 and used it for months without any ...
0
votes
0answers
28 views

Multiple times of Busybox [duplicate]

I was running Linux Mint on my laptop earlier. After having problem with initramfs and busybox appeared, I switched to Ubuntu 17.04. The problem is still occurred. My fsck check with -tycf option did ...
0
votes
0answers
319 views

Contradictory mount errors

Can anyone explain how I can unmount a disk in order to perform an fsck? I get contradictory errors: fred@ARAGORN:/media/fred$ sudo fsck /dev/sdd1 fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-...
0
votes
1answer
109 views

fsck force not doing its job?

I want to check my filesystem. It has to be unmounted, so I found that I should $ sudo touch /forcefsck $ reboot I did that on Sat Dec 30 10:02 2017 (approx.) After rebooting, this is what I get (...
1
vote
2answers
5k views

the root filesystem requires a manual fsck

When I try to boot my laptop, I get this message: /dev/sda1 contains a file system with errors, check forced. Inodes that were part of a corrupted orphan linked list found. /dev/sda1: UNEXPECTED ...
0
votes
1answer
166 views

Cannot control how often fsck is running on /boot/efi

Every boot fsck is checking the partition /efi/boot. I can control how often it runs on other partitions using tune2fs but it won't work with this partition. /var/log/syslog reports Nov 28 19:59:55 ...
1
vote
1answer
1k views

Getting dev/sda1: clean … after update-rc.d

I was trying to make a program start at startup. Ubuntu 16.04. I did following: Opened Terminal cd /etc/init.d sudo gedit added: #!/bin/bash # /etc/init.d/cmdtrm echo password | sudo -S /usr/...
1
vote
0answers
62 views

RAID not cleanly unmounted after reboot or halt

On my Ubuntu 16.04 (Linux ebox 4.4.0-98-generic) very often after a reboot or halt I need to do a fsck on my Raid volume /dev/md0 because my volume was not cleanly unmounted. Here is /etc/rc0.d : ...
0
votes
0answers
25 views

Very new to Ubuntu and need some assistance [duplicate]

My friend recently gave me his old laptop and it had Ubuntu on it. But whenever I go to start it up, this pops up: Screen after restarting: