Its my blog
Ubuntu 9.10 WUBI installation problem , GRUB screen after updating
Okay so I wanted to try Ubuntu 9.10 on my computer partially because it is so damn old to run windows 7 and partially because I wanted to give it a try. Only problem I didn’t have a Boot CD and my old computer won’t boot from a USB. So I tried WUBI and installed Ubuntu within windows. I was all set to try Ubuntu now. Ubuntu was running quite good , I had even shifted my development environment from Windows XP to Ubuntu 9.10. After running for a few days Ubuntu’s update manager notified me there are some updates, so i clicked Update and the update started. After the update it asked to Restart Computer and so i did.
After the restart when i tried to boot into Ubuntu , the GRUB screen came and i was like what do i do now ? I am a techie but i am not that into Linux so i was clueless there.
So i had to boot into Windows again , fire up Firefox and hunt the web for a solution as now i had everything in my Linux Environment.
Finally i found a solution and compiled everything at one place.
Please follow the following steps if you too got stuck at the GRUB screen in a WUBI installation after doing a Linux Kernel Update / Update to Ubuntu
- sh:grub>set root=(loop0)
- sh:grub>linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro
- sh:grub>initrd /boot/initrd.img-2.6.31-14-generic
- sh:grub>boot
please note /ubuntu/disks/root.disk is the location of your WUBI installation (default being C:\ubuntu)
this will enable you to boot into Ubuntu Back
After booting into Ubuntu follow these steps to not to see that GRUB screen again during starting up.
- Open Terminal (Applications->Accessories->Terminal)
- Type sudo update-grub2 and click Enter, enter your administrator password and voila your GRUB list is made again. and you’ll not the GRUB screen again
I hope that helps. if you have any doubt please say in comments.
| Print article | This entry was posted by Anuj Tenani on December 12, 2009 at 9:48 am, and is filed under Programming, Technology. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |


about 8 months ago
Hi, i got this problem on my wubied ubuntu after an accidental grup-pc update. Since that moment, i get into my ubuntu launching manually the kernel like you expose in the first paragraph, but i haven’t come to recover my grub menu even creating it by typing sudo update-grub2, although the grub-cfg file is created correctly. I just see the same prompt everytime i reboot.
I read it’s about a kinda problem with the ntfs partition.
If i can’t recover the menu, is there any kind of MS-DOS *.bat file to enclose all the commands necesary to boot into ubuntu from the grub prompt?
Thanks for the help u can provide.
Regards.
about 6 months ago
Hi,
Im a little confused with:
/ubuntu/disks/root.disk
My Ubuntu installation is at F:\ubuntu
So how do I edit it???
Thanks
about 6 months ago
try setting the root to sda2 eg.
# sh:grub>linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro
about 6 months ago
sda2 did not work but i randomly tried sda3 and it did ! i.e
# sh:grub>linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda3 loop=/ubuntu/disks/root.disk ro
about 6 months ago
Well the SDA actually means what partition on SATA harddrive are you referring to.
for eg. SDA1 means –> On a SATA Drive (SD) 1st or A (A) it refers to Partition 1 (1) = SDA1
about 6 months ago
You have offered the most help than anyone, however I am doing a clean install using wubi on a windows 7 64bit HP- I have set the installer to run in vista compatibility mode AND it installs just fine (i keep my laptop off line, and i use the desktop cd iso) Well it installs nice, but when it goes to reboot i end up at grub.
I tried what you suggested and ran through every sda that I think of yet it tells me that I have to load the kernel first just after I type: initrd/ boot/initrd.img-2.6.31-14-generic
Am I doing anything wrong? I have also tried to run it without the comparability mode on and it does the same thing!
Any help would be much appreciated! I am not quite ready to actually physically change my harddrive yet and run it side by side- but I am willing too if I can’t get wubi to work!
about 6 months ago
Well actually the solution mentioned above is meant for those who UPDATE their WUBI installation and then are stuck with GRUB screen.
You probably need to have a 64bit version of ubuntu to run properly.
Obviously you need to run WUBI in compatibility mode as Windows 7 is still not supported by them.
about 6 months ago
It automatically downloaded 64bit for me and then I downloaded the iso myself, following in its footsteps.
However and I am running it in compatibility for Vista. I know this is for an update but I am getting the same error, that is why I was hoping it would help.
I am going to keep tinkering with it if I come up with something I will let you all know!
about 6 months ago
Thanks for this! I was panicking slightly when I got the error when rebooting. Gonna try this and let you know if it works!
about 5 months ago
I had a wubi (with Vista) installation of Ubuntu 9.10 64bit, did an update as suggested. After restart, I ended up stuck in grub with no clue.
My install was on the C-drive, so this solution worked verbatim. Excellent. Thank you.
My only question is “how could this happen in the first place?” All my previous dealings with Ubuntu updates have been flawless, so this seems out of character.
about 5 months ago
I am not sure why this happens ubuntu dev’s must be having better knowledge on that matter , all i know is that updating Ubuntu deleted the “GRUB boot list” which caused this problem.
about 4 months ago
I had a wubi (with Vista) installation of Ubuntu 9.10 64bit, did an update as suggested. After restart, I ended up stuck in grub with no clue.
My install was on the C-drive, so this solution worked verbatim. Excellent. Thank you.
My only question is “how could this happen in the first place?” All my previous dealings with Ubuntu updates have been flawless, so this seems out of character.
about 4 months ago
Hi,
I am having some serious trouble with the WUBI installation.
The folder /ubuntu/disks/ has gone missing
I tried finding a solution to this online, and apparently this could be caused by an improper system shutdown like a power failure.
The solution recommended that i chkdsk using windows. and the missing files would appear as c:/found.000, this however did not work.
Is there a work around? i have a lot of stuff on my ubuntu which i did not have the good sense to back up( end of the semester
)
about 4 months ago
Great!! It works…but I can only start once, the update-grub2 does not work for me, some other idea?
about 3 months ago
I had the same problem (again) after another update of Ubuntu 9.10, that is, stuck in grub.
The solution presented here worked to get through the boot process, but the fix to not have it happen again did not work.
Just like for Xavi above.
I looked around and found this discussion.
http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Wubi_9.10&oldid=214
Here there is a link to download an updated file named “wubildr” to the Windows side.
I can’t attest to anything about this solution, except that it worked for me, just as described.
I replaced wubildr in the same directory as ubuntu (C:) and subsequently no problem on restart Ubuntu 9.10.
about 2 months ago
nice Article Anuj!
I have Windows 7, and ubuntu 9.10 .
Though the solution outlined by you didnt work for me, the solution pointed by David worked like a charm…Thanks a ton, you and David
I tried other approaches, and looking for help online-without success!
about 2 months ago
Just wanted to say thanks for the fix ^^
Tried the one from sourceforge first but that did me diddely squat, but the fix you presented here worked like a charm =) Thx a bunch!
//Per
about 2 months ago
i have same problem with my wubi ubantu 10.4
i try this with it but it did not work.
please solve my problem.
about 2 weeks ago
U have no idea how much grateful I am for this post.. I spent 5hours hunting for a solution and was about to give up before I saw this ..
Thanks!!!!
Michael
about 2 weeks ago
I have win7 and Ubuntu 9.10 and after an update grub version 1.97~beta4 I am un able to boot up Ubuntu I get sh:grub
I tried your solution 1 went Ok, 2 gave responded [Linux-bzImage, setup=0x3400, size=)x3b26e0],
3 responded with [Initrd,addr=0x297dd000, size=0x78a41b] and 4 the “boot” responded with a alot of info but ended with ALERT! /host/ubuntu/disks/root.disk DOES NOT EXIST.
Dropping to shell!
BusyBox v1.13.3(Ubuntu 1:1.13.3-1ubuntu7) built in shell (ash)
Enter help for list of commands
SO, what do I do now??? Anyone