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.

in my laptop it is showing grub rescue and I have done the following steps


That is

set root=(hdX,Y)
insmod linux
linux /vmlinuz root=/dev/sdXY ro
initrd /initrd.img
initrd /initrd.img

Then booted and it is coming to ubuntu successfully. Now I have done

sudo update-grub 

then rebooted. Now it is again coming to grub rescue. What should be done now ?

All this happened after I created a new partition in windows 7 (logical volume)

Now I run set again and it is showing prefix as hd0,msdos6/boot/grub. My linux installation is on 7 that means, the values are not changed. By the way, I cannot take ubuntu GUI as it is bouncing back to login screen again

share|improve this question
now I managed this : I am running insmod normal and then normal. So it is showing the normal boot screen. But after restart it is still showing grub rescue. So I am doing this every time I turn on the machine. –  Happy Coder Jun 18 '13 at 10:52
add comment

Your Answer


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

Browse other questions tagged or ask your own question.