Recovering grub loader

Asked by SaurabhNamdev

I have installed ubuntu 10.04 using wubi inside windows some months back. Yesterday my power suddenly turned off. After resarting i got the following grub command interface after selecting ubuntu in boot menu...
....grub description....
grub>

I tried the following:
->recopying wubildr and wubilr.mbr from ubuntu install directory
->steps for manually selecting the linux boot but it could not find any linux image...
->reinstalling grub from live cd but could not mount the partition

bt none from above work

plz help me

Question information

Language:
English Edit question
Status:
Solved
For:
Wubi Edit question
Assignee:
No assignee Edit question
Solved by:
bcbc
Solved:
Last query:
Last reply:
Revision history for this message
Best bcbc (bcbc) said :
#1

Don't reinstall grub...

1. boot windows and confirm that \ubuntu\disks\root.disk exists. Back it up.
2. if it isn't there, look for a hidden C:\FOUND.000 folder and see if windows placed it there (it could be called something different so look for root.disk or a file with a generic name e.g. chkxxxx.chk of the same size.
3. run chkdsk (My computer, right click on 'drive' (that contains \ubuntu), Properties, Tools, Check disk for errors, fix automatically.
4. If that doesn't fix it, boot the live CD, mount the partition that contains the root.disk, and run fsck on it. e.g. if it's /dev/sda2:
sudo mkdir /media/win
sudo mount /dev/sda2 /media/win
sudo fsck /media/win/ubuntu/disks/root.disk

Post back if you have any questions on the above or refer to the Wubi Guide: https://wiki.ubuntu.com/WubiGuide

You can also try and recover data from the root.disk from windows using this tool: http://ext2read.blogspot.com/

Revision history for this message
SaurabhNamdev (saurabh-namdev01) said :
#2

thanx for your support... i recovered it back.. :-)

Revision history for this message
SaurabhNamdev (saurabh-namdev01) said :
#3

Thanks bcbc, that solved my question.