Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Ubuntu Server 10.04.1 LTS on an ext4 partition. Whenever my system looses power suddenly, It doesn't boot into the normal procedure to fix the problems automatically, but switches to the busy box shell (where it says Kernel Panic : No init found)

So I guess kernel is refusing to mount the filesystem when it is not clean, since when I boot up using a Live CD and fsck it, it boots up correctly.

How can I force kernel to mount the filesystem, even if it is not clean ?, so that automated fsck on system startup fixes the problems... (or it's a grub problem ?)

K-V : 2.6.32-26-generic-pae #48-Ubuntu SMP

share|improve this question
By default in fstab, root is mounted even if errors are found, but readonly, I dont think so it is the probelm. Have not you installed new kernel before power failure? – Ency Jan 1 '11 at 11:38
Try this from our sister site? – Scott Pack Jan 1 '11 at 14:19
@Ency: No @packs: Thanks but they have also suggested to fsck it from a Live CD. No permanent solution. – Ali Nadalizadeh Jan 5 '11 at 11:48

Ali, you didn't mention what your journaling is set to. The default mount mode of ext3 and ext4 is 'data=ordered'. This means that while metadata operations may be safe, data may be lost on power failure.

If you're expecting to lose power regularly, I'd suggest adding 'data=journal' to the modes in /etc/fstab. This will slow down your write speed quite a bit, but it should ensure that every disk operation is complete on your hard drive so you don't lose data.

You will also want to regularly forcibly fsck your filesystems so there aren't surprises on the next power failure.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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