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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [fsck]

tool for file system check

0
votes
1answer
26 views

Does e2fsck command print process ID when it fails with the error “is in use” with verbose mode?

Is the process ID printed as output for command e2fsck -vyf when it fails with the error "is in use"?
1
vote
0answers
13 views

fsck failed with error code 4

I have a vcenter server that is running ubuntu and I get a 503 error when I try to access the web GUI. when I get on the ESXI host, I can console in to the server but I am getting the below error. As ...
1
vote
1answer
542 views

What's the frequency of filesystem check on boot?

What is the maximum number of times the root filesystem on this computer can be mounted before it is automatically checked?
0
votes
0answers
34 views

Re: fsck recurring circa every 10 days on new SSD [18.04]

I took the opportunity to upgrade to a new SSD since SSD prices have dropped and installed a fresh Ubuntu 18.04. Generally the system works much better but I seem to be getting the initramsf 'inode' ...
2
votes
0answers
22 views

Reason for orphaned inodes and boot failure fixable by manual fsck?

my first post here. I am running 18.04.1 and I have recently gotten an error while booting - the screen remains black after POST and nothing happens. I went into recovery mode and found that my root ...
0
votes
0answers
46 views

Rebooted system during fsck command: How to recover?

Being a new linux user, I mistakenly thought the system had hung when running fsck on my root partition and proceeded to reboot. After that all my system directories went into lost+found and the ...
0
votes
0answers
27 views

Can't mount second hdd due to error /dev/mapper/backup--mint--vg-root: can't read superblock [migrated]

I'm trying to mount a second hdd. I don't know where I'm going wrong. First, I set up a partition with cryptsetup: sudo cryptsetup open /dev/sdb5 backup sudo vgdisplay I got two identical vg names, ...
0
votes
1answer
203 views

Error on boot : dev/sda6 UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY [duplicate]

fsck from util-linux 2.31.1 /dev/sda6 contains a file system with errors, check forced. /dev/sda6: Inodes that were part of a corrupted orphan linked list found. /dev/sda6: UNEXPECTED INCONSISTENCY; ...
2
votes
0answers
57 views

Super sensitive file system!

I have my current laptop for almost 4 years, but it's about 7 months that I have been using Linux (Ubuntu 18.04) as my only OS. There have been challenges for me (you know normally as a new user) to ...
0
votes
0answers
13 views

how to recover already installed Ubuntu after logging through USB installed ubuntu?

I had Ubuntu 16.04 installed in my laptop. Most of the packages were already lost in this version. One of the important package was "dpkg & similar other packages" which prevents installation of ...
0
votes
1answer
46 views

dd-backup of corrupted disk

I used dd to create a imagefile of a partition of my external hdd. I used the 'conv=noerror,sync' option to skip readerrors and it did a full copy. 'sudo dd if=/dev/sdd of="/media/me/out/theimage....
0
votes
0answers
97 views

Every startup i need to manually run fsck /dev/mapper/ubuntu--vg-root

Hi every day when I start my ubuntu 18.04, then it's not starting and gives a below error. (initramfs) exit /dev/mapper/ubuntu--vg-root contains a file system with errors, check forced. Inodes that ...
1
vote
0answers
51 views

Could Google Chrome cache be causing hard drive corruptions?

I have gotten this error maybe 5 times now which, I originally thought I may have broke my ssd since I was messing with my laptop internals recently, but every time it mentions google chrome's cache ...
0
votes
0answers
76 views

Recovering a corrupt LVM partition

I seem to have corrupted my primary LVM partition [1] which contains root and swap partitions. $ sudo fdisk -l /dev/sdb Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors ...
0
votes
0answers
92 views

Manual fsck through initramfs - How do I run it automatically?

One of the systems I have Ubuntu installed on may sometimes hang, forcing me to restart it with SysRq REISUB, or with the reset button. I'm sure there's an underlying problem, but I'll ignore that for ...
1
vote
1answer
58 views

Ubuntu 18.04 quit booting. . *ERROR* DC failed to blank crtcl (screen photo)

Dec 11: new summary. Ubu18.04lts laptop won't boot. Tried again today viz:: EDITS FOR FLOW. Edit for more info. - today I started again and pressed SHIFT to get I to GRUB (grub2 iir) and got this ...
0
votes
0answers
189 views
+100

Can't run fsck in recovery mode in 18.10. Disk is mounted r/w

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
44 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
715 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 ...
2
votes
1answer
65 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
134 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
119 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
204 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
50 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
53 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
297 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
52 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
147 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
160 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
431 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
43 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
44 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
414 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
1k 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
130 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
84 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
1k 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
57 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
26 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, ...
2
votes
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
70 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
897 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
184 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
264 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
1k 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
59 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
277 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
482 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
93 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.