0

Today I got strange problem from my 32-bit Ubuntu 16.04.1 system (kernel 4.10.0). I have created a cronjob which restarts the system everyday. Basically, it restarts normally for a couple of days. Then it sticks while rebooting with the following console message:

/dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(ie.e, without -a or -p options)
fsck exited with status code 4
done.
Failure: File system check of the root filesystem failed
The root filesystem on /dev/sda1 requires a manual fsck
BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) build-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) _

May be this screen-shot makes it more clear:

Stuck while rebooting

I checked out this, it works perfectly with fsck command! fsck run manually, ubuntu 14.04

But I need some different solution because my system runs as an embedded system and there will be nobody to run fsck command there. So, basically,I do not want my system to stuck here, instead go forward automatically (doing file system scans)

  • Which method are you using to shutdown? – user535733 Feb 27 '17 at 14:36
  • I am using "reboot" command to restart the system. – krishna Feb 27 '17 at 14:43
  • No 'reboot' modifiers of flags? Are you gracefully ending any applications that may be running? Are you setting the fsck flag for reboot? Please elaborate to keep everyone from going down blind alleys - what precautions are you taking against corruption at shutdown? What have you done so far to rule out hardware failure on your dev system? And what have you done so far to debug the problem? These need to be edited into your question, not dribbled out among the comments. – user535733 Feb 27 '17 at 14:56
  • Hello user535733, this problem is new, I got it today. May be some of you guys have already faced similar problems. I have not used any 'reboot' modifiers, was working fine till now. I will of course add more information if I get while debugging. – krishna Feb 27 '17 at 15:08

Your Answer

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

Browse other questions tagged or ask your own question.