Recovering ubuntu after a crash : a mount issue

February 22nd, 2012 by Ruwan Egoda Gamage

My ubuntu machine dumped following and went into initramfs prompt.

mount: mounting /dev/disk/by-uuid/xxxxxxxxxxxxxxxxxxxxxxxxx on
/root failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= boot arg
BusyBox vx.xx.x (Ubuntu 1:x.xx.xx.xubuntu7) built-in shell (ash)
(initramfs)

Several attempts to recover it using the LiveCD (10.04 LTS, same CD used during installation) failed.
ubuntu@ubuntu:~$ sudo umount /dev/sda1
umount: /dev/sda1: not mounted
ubuntu@ubuntu:~$ sudo e2fsck -f -v /dev/sda1
e2fsck 1.41.11 (XX-Mar-2010)
e2fsck: Device or resource busy while trying to open /dev/sda1
Filesystem mounted or opened exclusively by another program?

Then found out that this was a reported e2fsck bug!!

Comments suggested to use either 9.10 LiveCD or a nice boot-repair cd!

Since the latter downloaded earlier :-) , I gave it a try. It fixed the issue! I believe the former would fix it too.

Posted in Uncategorized |

3 Responses to “Recovering ubuntu after a crash : a mount issue”

  1. Vijay Wadnere says:

    Hi, I landed on http://www.janapriya.net/vis while searching for nice (and free) raphael gauges. I must say its indeed a good work. However, I am very new to Raphael and I’ve seen only ver2.0. When i tried to implement your code with 2.0, it didnt worked. Since i dont know the differences in older and latest version, I find it difficult to get it worked with ver2.0. Could you please give me few hints (as what portions should i look and change) to make it compatible with ver2.0?
    Thanks!

  2. Vijay Wadnere says:

    Hey, that was quick!
    No issues. I guess you already have provided a real good base to what so many ppl looking for. Best Wishes! :)

Leave a Reply