LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HELP! (https://www.linuxquestions.org/questions/linux-newbie-8/help-4175580354/)

rlandr1 05-21-2016 10:03 AM

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

Ztcoracat 05-21-2016 12:01 PM

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

ondoho 05-21-2016 05:46 PM

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.

Habitual 05-23-2016 07:01 AM

Open a terminal and issue:
Code:

sudo touch /forcefsck
and reboot.
It should not ask, but just "do" the fsck w\out much intervention.

syg00 05-23-2016 07:13 AM

Isn't Ubuntu now systemd ?.

Ihatewindows522 05-23-2016 09:43 AM

Quote:

Originally Posted by rlandr1 (Post 5548709)
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.

DJ Shaji 05-23-2016 11:39 AM

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.

Habitual 05-23-2016 11:41 AM

Quote:

Originally Posted by DJ Shaji (Post 5549709)
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.


All times are GMT -5. The time now is 02:43 AM.