Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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|improve this question

migrated from stackoverflow.com Jun 10 '11 at 10:50

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

4 Answers 4

which I installed on windows filesystem using wubi.exe

Problem found.

share|improve this answer

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|improve this answer

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|improve this answer

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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