Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 am having some trouble with my Ubuntu 10.10, which I installed on windows filesystem using wubi.exe. For sometime now, whenever I boot Ubuntu, it boots up to busybox showing initramfs as shell.

From initial solutions mentioned on the web, I have cleaned my partition on Windows (using chkdsk), but the problem still persists. Any suggestions how I could fix my problem??

share

migration rejected from stackoverflow.com May 13 at 7:44

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Braiam, David Foerster, Luís de Sousa, Charles Green, Ron May 13 at 7:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – David Foerster, Charles Green, Ron
If this question can be reworded to fit the rules in the help center, please edit the question.

I keep getting same problem and finally I got the solution, which works every time for me:

First, boot your system with LIVE CD or Pendrive.

Now, open Terminal and execute sudo fsck /dev/sda1 (sda1 is generally used, if you have a different drive on which ubuntu is installed then give that). It may prompt you several times asking "y or n", in that case keep pressing Y.

After process is over , reboot the system and remove the pendrive.

share

which I installed on windows filesystem using wubi.exe

Problem found.

share

Try rebooting a previous kernel. Sometimes a kernel update can leave a damaged initrd.img. If your previous kernel works you can rebuild the later initrd.img. e.g. (change the kernel version as appropriate):

sudo update-initramfs -u -k 2.6.35-28-generic
share

Your login shell is saved in /etc/passwd, maybe it has the budybox shell instead of bash there.

share
    
"initramfs" - I doubt it. – Lekensteyn Jun 10 '11 at 13:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.