Grub rescue error(no such a partition)


error: no such partition.
Entering rescue node...
grub rescue>_

Is this the error you get when you on your computer? Ok let’s try this……..

  • First type ls
    Then you can see like this output

(hd0) (hd0,1) (hd0,2) (hd0,3)  
or
 (hd0) (hd0,msdos1) (hd0,msdos2) (hd0,msdos3)…..

  • Then type this command…..

ls (hd0, msdos1)
When you’ll enter this command some times it’ll says. There is no such partion or some other error.
So you have  to enter     ls (hd0,msdos2) or
ls (hd0,msdos3) or
……………….. like this untill you get a success message 🙂

Ok now you have recognized the valid partion(msdos1/msdos2/msdos3..etc). After that you have to follow these steps.

set boot=(hd0,msdos5)
(In this command msdos5 is the partion which you have recognized as a valid one)

set prefix=(hd0,msdos5)/boot/grub

insmod normal

normal

After entering this commands you can start your computer. This method worked for me 🙂

 

Advertisements