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)
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.