3

I am using latest ubuntu 16.04 LTS. For some days after installing system worked fine but after some days it start showing this error.

Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try again to boot into dafault mode. Press Enter for maintenance (or press control-D to continue):

But there is one way using which I can start system. On boot up I go to recovery menu then clean package and then resume the system. It works but , it is time consuming to do after every boot up. Suggest something simple and cleaner to resolve this problem.

Before going into emergency mode it gave message as : [12.320307] intel_soc_dts_thermal:request_threaded_irq ret -22

In case anyone interested in seeing log files : http://www.filehosting.org/file/details/644902/error_log.txt

  • you might be running out of disk space .. have you checked that aspect ? – amisax Feb 27 '17 at 7:23
  • @amisax no not really there is too much space remaining. By the way system has dual boot with windows 8 if this may help in any sort. – WeAreRight Feb 27 '17 at 7:26
  • We are not clairvoyant. We cannot suggest things without knowing why emergency mode is being triggered; and we have no access to that knowledge. You have a message in front of you telling you to look at the logs, which would provide that knowledge. You aren't showing the logs in this question, nor indicating that you have even looked at them to see what the fault is. – JdeBP Feb 27 '17 at 8:10
  • @JdeBP I have log file. It consist of 4000 lines what you want should i paste it here? – WeAreRight Feb 27 '17 at 9:00
  • before going into emergency mode it gave message as : [12.320307] intel_soc_dts_thermal:request_threaded_irq ret -22 – WeAreRight Feb 27 '17 at 9:02
5

The Emergency Mode sometime means that your file system may be corrupted. In such cases, you will be left out with a prompt to go nowhere.

All you have to do is perform a file system check using,

fsck.ext4 /dev/sda3

where sda3 can be your partition and if you are using ext3 file system, change the command as follows:

fsck.ext3 /dev/sda3

About the partition number, Linux shows you the partition before arriving at the prompt.

This should solve the problem.

  • 1
    Worked perfectly. Thank you "Panther Coder" that was great help. Looking for solution from many days. Upvoted and accepted as answer. – WeAreRight Feb 27 '17 at 10:19
  • Worked like a charm for me as well. Thanks a lot! – Honza Dejdar Aug 10 '17 at 17:15
  • Thanks man! It did worked !!! – Marcos Alex May 24 at 0:39
0

enter image description here----Firts of all download Gparted live cd, burn it to cd/dvd or usb card,open terminal then using this command blkid or fdisk -l to know parts

fsck -с /dev/mapper/yourhostname--vg-var

if your /var wan't mount

or if your /home wan't mount use this command

fsck -с /dev/mapper/yourhostname--vg-home

etc. -----------kblprbl312-----------------------------

  • 1
    Do not paste images. Paste commands in Code block instead. – Yurij Goncharuk Apr 9 '18 at 9:27
0

From my experience, ff you have created a new partition or edited existing one, you may get this error. I had the same error some time back. If you happened to be in the the Emergency Mode and see that it cannot load some of your drive. It means that some of your device id have been changed. So, you have to update the id accordingly in /etc/fstab file. Then do the following steps.

  1. Type your root password
  2. cat /etc/fstab
  3. blkid (show the device ids)
  4. Now check which which UUID in /etc/fstab does not apper in blkid output
  5. type 'nono /etc/fstab' and Comment out that line (Just put # infront of the line)
  6. type 'reboot' (Now your problem should be fixed and after logging in successfully, you can add the current UUID in /etc/fstab file )

As an example, this is my output of /etc/fstab file, in which I simply commented out the line ( UUID=C3D1-3CB7 /windows vfat utf8,umask=007,gid=46 0 1), because the UUID=C3D1-3CB7 has been changed.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.