Update to grub caused grub rescue prompt, dual boot windows7 desktop

Asked by Kishore

Installed 10.04 on my desktop from within windows 7. All went OK i need to restart the pc i have done the same .I have got the two boot options windows7 and ubuntu. I have selected ubuntu first time and logged fine and i have got message from update manager that the some packages have updates. I have selected all around 238 and update. During that it asked me to update grub which I did and as there was only one disk showing clicked forward.
Now on reboot I have grub rescue prompt, no such device.
Hard drive is a single 750gig drive with windows on one partition and ubuntu in another and two more partitions.
I don't have windows7 cd or ubuntu live cd? What should I do now please help as I don't have any option.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Grab the ISO, MD5 test it then transfer it properly to a USB stick / SD card. You can boot to that, chroot to the installed system and run:

sudo update-grub

May help.

Revision history for this message
Kishore (kurrakishore) said :
#2

Thanks for the reply. Can you please describe in detail. As I don't have knowledge
With Linux or grub. What needs to be done to grab iso or md5.
Thanks

Revision history for this message
Kishore (kurrakishore) said :
#3

I have no idea about grub rescue commands as well. I have seen ls, set command in other messages.
If I type ls it shows (hd0)
If I type set it displays
prefix=(hd0)/boot/grub
root=hd0
If I type sudo it says unknown command
What else can we try?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#4

Well the USB you can make with usb-creator-gtk or this if you have a windows PC handy:
http://www.howtoforge.com/creating-a-bootable-ubuntu-usb-thumbdrive-from-windows-with-usbuntu-live-creator

You can then mount the / partition by clicking the partition under places. Once mounted you can use this:
http://karuppuswamy.com/wordpress/2010/06/02/how-to-chroot-to-ubuntu-using-live-cd-to-fix-grub-rescue-prompt/

Instead of immediately asking for more details, try websearching based on the advise given. You will learn more than if you are simply spoonfed commands etc.

Revision history for this message
Kishore (kurrakishore) said :
#5

Thanks actionparsnip, that solved my question.