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 have installed ubuntu through wubi and all was well until I updated to the next kernel version.
I am now trying to boot into ubuntu and it shows me the GRUB rescue command line.
I am able to boost windows and the problem seems to be related to the fact that I have no menu.lst on ubuntu\disks\boot\grub and also it might be related to the fact that wubi wasn't installed to the drive where windows is installed but I am not sure.
How do I recover menu.lst? Does the problem lay somewhere else?
Is there a way to read the data with a windows tool to just recover my data?

share|improve this question
    
Can you try to boot into a Live CD and reinstall GRUB –  Mark Rooney Mar 5 '11 at 23:37
    
@MarkRooney: Yes I can. Will it boot the wubi installation? –  the_drow Mar 6 '11 at 6:37
    
It should but thinking about it some more I would first run Boot Info Script from the live CD and post the output here - details on how to do this are here: ubuntuforums.org/showthread.php?t=1291280. I suspect the kernel update may have created an error in the MBR of your Windows partition –  Mark Rooney Mar 6 '11 at 10:45
    
@MarkRooney: But my windows boots just fine. –  the_drow Mar 6 '11 at 15:43

1 Answer 1

up vote 1 down vote accepted

Boot into Ubuntu with a live CD or USB then install boot-repair ---follow the instructions.

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

sudo apt-get install -y boot-repair && boot-repair

enter image description here

share|improve this answer

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.