Super User is a question and answer site for computer enthusiasts and power users. 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

On my ubuntu machine when I am trying to login I am receiving an error :

mount : mounting /dev on /root/sys failed : No such file or directory
mount : mounting /proc on /root/proc failed : No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found.Try passing init= bootarg


Even after entering into the rescue mode I am not able to use the command sudo and fsck.
When I use try to use them it gives an error:

/bin/sh: fsck or sudo : not found
share|improve this question

migrated from Mar 25 '13 at 0:13

This question came from our site for professional and enthusiast programmers.

At what stage do things go wrong? Reading the post it seems as if it goes wrong when you try to log in, but the errors seem more consistent with problems long before that. (e.g. with no root filesystem found). – Hennes Mar 25 '13 at 0:30

it looks like something has corrupted your filesystem. Are you able to boot without any error messages or that is also gone ? If boot process has problems as well, try booting into a live CD or USB image and once you get to the shell execute:

fsck -f /dev/sda1

assuming your disk drive was at sda1 location. If not, change it accordingly. Then answer YES to "do you want to fix it" questions as they come. It might help if the amount of corruption is not too extensive.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .