Results 1 to 9 of 9

Thread: Mount of root filesystem failed

  1. #1
    Join Date
    Oct 2009
    Beans
    149
    Distro
    Ubuntu 10.04 Lucid Lynx

    Mount of root filesystem failed

    I have Karmic on a 1.4 GHz winfast6150M2MA Everything works perfectly (except for NVIDIA, but that seems to be the norm)

    This morning the system developed a black screen of death, in as much as every time I start up I get:

    Mount of root filesystem failed.
    A maintenance shell will now be started.
    CONTROL-D will terminate this shell and reboot the system.
    Give root password for maintenance
    (or type CONTROL-D to continue):

    Since I don't have a clue what to do if I enter the shell, I type CONTROL-D and get the following:
    problem is, the screen clears so fast, it may not be right..

    Unmount /proc/sys/fs/binfmt/misc not mounted
    /var/run device is busy

    That's all I can get after about 20 reboots as it disappears too fast to write down anymore.

    Where do I go from here?

    The last thing I did was to get the computer to mount the NAS drive automatically yesterday.

    Being only a month old as far a Linux is concerned, I'm pretty clueless right now, can't even edit fstab to see if it is the NAS drive that's doing it.
    Tried sudo nano /etc/fstab to rem out the line, but always get Error writing /etc/fstab read-only file system.

    I tried chmod 0777 /etc/fstab but it keeps coming up read only filesystem.
    Last edited by Fitch; December 2nd, 2009 at 01:53 PM.

  2. #2
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Mount of root filesystem failed

    I'd suggest starting with a file system check just to make sure your disk is good. Run this from the shell (assuming /dev/sda2 is where linux root fs is installed):
    sudo e2fsck -C0 -p -f -v /dev/sda2
    If this is good, then try
    sudo mount -a
    cat /etc/mtab
    cat /etc/fstab
    see what is missing. Please look at logs /var/logs/syslog and kern.log to see any errors.

  3. #3
    Join Date
    Oct 2009
    Beans
    149
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mount of root filesystem failed

    e2fsk: command not found
    mount -a comes up with:
    [20007.375552] CIFS VFS: Error connecting to socket. Aborting operation
    [20007.411089] CIFS VFS: cifs_mount failed w/return code = -101
    mount error(101): network is unreachable.

    So it is the problem with fstab and the NAS drive. I now realise that the computer mounts the "drives" before it mounts the network...

    So it comes back to how do I alter fstab to get it back to what it was? (see above)

  4. #4
    Join Date
    Oct 2009
    Beans
    149
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mount of root filesystem failed

    OK, this is how I did it..

    sudo mount -o remount,rw /
    sudo chown [owner]:[group] /etc/fstab
    cd /etc
    chmod fstab 777
    nano fstab

    Got rid of the line to mount the server
    saved it
    restarted
    Bob's your uncle...

    Now then, next question is...

    what is the correct way to mount a NAS drive on startup?

  5. #5
    Join Date
    Aug 2007
    Location
    Netherlands
    Beans
    290
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Mount of root filesystem failed

    Quote Originally Posted by Fitch View Post
    e2fsk: command not found
    This is a typo, right? Because the command is e2fsck (FileSystem ChecK)
    Maybe that's why it doesn't find the command..
    Last edited by Ampi; December 7th, 2009 at 06:13 PM.
    desktop: Ubuntu 13.04 64-bit | AMD64 Athlon II X3 | 3.2 GHz | 4GB RAM | ATI Radeon HD4250
    netbook: Ubuntu 12.10 32-bit| AAO ZG5 | Intel Atom | 1.6 GHz | 1GB RAM | Intel 945GSE Express

  6. #6
    Join Date
    Oct 2009
    Beans
    149
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mount of root filesystem failed

    Yeah probably that's why it couldn't find it, never mind. all done & dusted now.

  7. #7
    Join Date
    Jan 2011
    Beans
    1

    Re: Mount of root filesystem failed

    I rebooted the server and I have the same bug Mount of root filesystem failed
    before that I wrote segfault, ftp is not working properly "proftpd"
    when doing a sudo mount-a also writes a segmentation fault.

  8. #8
    Join Date
    Feb 2011
    Beans
    1

    Re: Mount of root filesystem failed

    Thanks Fitch... had exactly the same root mounting fail issue.

    Followed your steps and was able to edit out the "NAS" mounting part and worked like a charm.

    Before the root mounting issue, I was editing the fstab to mount the NAS and all hell broke after that.

    Did you manage to find the proper way to add the NAS mounting in the fstab?

    regards
    icewall.

  9. #9
    Join Date
    Oct 2009
    Beans
    149
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mount of root filesystem failed

    I gave up waiting for anyone to tell me.

    However, having a look at "System, Preferences, Startup Applications", I would stick the command in there.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •