LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2019, 11:45 AM   #1
SimonWh
LQ Newbie
 
Registered: May 2017
Posts: 27

Rep: Reputation: Disabled
Problems with root file system


Hi
I am using Linux Mint 19.2. yesterday I did all the updates, however when I switched on the computer this morning (having gone into recovery) I get a message /dev/mapper/mint--vg--root contains a file system with errors.
I now have a message requires manual fsck
(initramfs)
All the different fsck that I have tried do not work for instance
fsck /dev/sda1

I have also tried with the original USB stick from boot to try and repair it, however it refuses to recognise it.
I am really lost here.
Can someone please help
Thank you in advance

Simon
 
Old 11-02-2019, 12:01 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,270

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
This type of problem is usually caused by shutting off the power to the computer instead of doing a shutdown command. fsck cannot recover files that were never written to disk. Please post the first page of errors that you are seeing from fsck and we can suggest what to do.
 
Old 11-02-2019, 12:20 PM   #3
SimonWh
LQ Newbie
 
Registered: May 2017
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi,
Thanks for the reply.
I am not too worried about loosing some of my files if I can reboot the system. I turned the computer off because Firefow was failing to respond. I turned it off correctly otherwise.
/dev/mapper/mint--vg--root contains a file system with errors,check forced.
Inodes taht were part of a corrupted orphan linked list found.
/dev/mapper/mint--vg--root UNEXPECTED INCONSISTENCY; RUn fsck MANUALLY
fsck exited with staus code 4
the root filesystem on /dev/mapper/mint--vg--root requires manual fsck

BusyBox v1.27.2 built in shell (ash)

Hope this helps

Simon
 
Old 11-02-2019, 01:46 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,270

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Run fsck from the bustbox shell or a USB stick with the "-y" option to repair. Your root filesystem must NOT be mounted. Should be:
Code:
fsck -y /dev/mapper/mint--vg--root
 
Old 11-02-2019, 03:09 PM   #5
SimonWh
LQ Newbie
 
Registered: May 2017
Posts: 27

Original Poster
Rep: Reputation: Disabled
WOW
Thank you very much it worked.
There were a lot of errors that it corrected
Once again thank you
Simon
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu will not boot. Failure: file system check of the root file system failed Tafcan Linux - Newbie 4 10-14-2018 11:52 AM
what is the difference between real root system and normal root system zameer_india Linux - Newbie 17 07-04-2012 01:18 PM
how can i write to a root:root 750 file with a non-root user? Droa Linux - Newbie 1 05-14-2012 08:49 PM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-16-2010 12:30 AM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration