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

I have a Ubuntu 10.04 LTS in a VirtualBox.

Running fsck -n indicates some orphan nodes exist in the root file system and I try to fix it with following actions:

1) edit /etc/default/rcS and set FSCKFIX=yes  
2) touch /forcefsck  
3) reboot  

The system reboots repeatedly with following error messages:

fsck terminated with status 3  
mountall main process terminated with status 4

Any help?

share|improve this question

migrated from stackoverflow.com Mar 8 '11 at 7:42

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

2  
This belongs to AskUbuntu: askubuntu.com – Greg Mar 8 '11 at 6:45

On the next reboot, add init=/bin/sh to your kernel command line, fix the problem, sync and umount -oremount,readonly any mounted filesystems that you can, and then exit.

share|improve this answer
    
The server reboot AUTOMATICALLY after print error messages before any shell prompt showing :-( – Smartkid Mar 8 '11 at 7:00
    
@Smartkid, you need to add that init=/bin/sh to your kernel command line, through grub. Hit e to edit the command line, add init=/bin/sh, then ^X to boot the edited kernel command line. – sarnold Mar 8 '11 at 7:02

You must log in to answer this question.

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