LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-21-2016, 10:03 AM   #1
rlandr1
LQ Newbie
 
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
HELP!


I'm trying to get back to ubuntu...my mouse froze and I rebooted it came back with an "UNEXPECTED INCONSISTENCY " and wants me to run fsck MANUALLY, Whatever that means. All I have right now is (initramfs) and a list of built in commands. What do I do next?

F
 
Old 05-21-2016, 12:01 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi & Welcome to LQ-

"Help" isn't the best title for your thread.In the future please be more descriptive.
" Ubuntu FSCK/Unexpected Inconsistency " or something similar would of been a better choice.

"UNEXPECTED INCONSISTENCY " means a not so graceful shut down.
This is sometimes caused by a power outage or hard a hard shut.

From your description it sounds like you need to repair your linux filesystem & you need to use the fsck command.
The fsck utility should only be run against an unmounted filesystem to check for possible issues.

I don't have experience with this tool so until other members here can assist you with this thread try these links to learn about fsck. Sorry I don't know more.

http://www.debianhelp.co.uk/fsck.htm
https://help.ubuntu.com/community/Fi...roubleshooting
http://www.thegeekstuff.com/2012/08/...mand-examples/

If all you have is an initramfs prompt saying something like:
Code:
/root/dev failed: No such file or directory
this looks like a good place to start-
http://bernaerts.dyndns.org/linux/74...lure-initramfs

Check on your fs with:
Code:
fdisk -l
The partitions on you machine should be listed.

To repair it, we just need to run fsck with the force option :
This is just an example your fs may be ext 4 and the /dev/sdX maybe differnt-
Code:
fsck.ext3 -f /dev/sda1
HTH

Last edited by Ztcoracat; 05-21-2016 at 12:03 PM.
 
Old 05-21-2016, 05:46 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
boot a live system from either usb or cd/dvd and run some diagnostics (fsck=file system check).
there are even dedicated distros for this, but any ol' linux should do.

if you give us more detail, we might give you back more detailed advice.
 
Old 05-23-2016, 07:01 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Open a terminal and issue:
Code:
sudo touch /forcefsck
and reboot.
It should not ask, but just "do" the fsck w\out much intervention.
 
Old 05-23-2016, 07:13 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Isn't Ubuntu now systemd ?.
 
Old 05-23-2016, 09:43 AM   #6
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by rlandr1 View Post
I'm trying to get back to ubuntu...my mouse froze and I rebooted it came back with an "UNEXPECTED INCONSISTENCY " and wants me to run fsck MANUALLY, Whatever that means. All I have right now is (initramfs) and a list of built in commands. What do I do next?

F
  1. Boot from an Ubuntu live USB/DVD
  2. Go to the Dash and search for GParted
  3. In GParted, click on each filesystem in the column, make sure they're all unmounted, and go to Partition >> Check
  4. Click the check button to apply the operations
  5. BE PATIENT and wait for it to finish.
  6. Reboot your system without the live boot

Let me know how that goes.
 
Old 05-23-2016, 11:39 AM   #7
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
You could try booting with "init=/bin/bash" added to your kernel command line. When you get the grub menu, go to the Ubuntu line, and add "init=/bin/bash" to the end of it. You will be dropped to a shell. Just type "fsck /" and your file system would be checked, prompting you with stuff to fix.
 
Old 05-23-2016, 11:41 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by DJ Shaji View Post
You could try booting with "init=/bin/bash"
Not to be disrespectful, but a subject of "HELP!" suggests they won't be able to use that info.

Last edited by Habitual; 05-23-2016 at 12:16 PM.
 
  


Reply



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



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

All times are GMT -5. The time now is 01:06 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
Open Source Consulting | Domain Registration