How to solve grub error: no such partition


Method 1:

Step 1:Type following command and you will get screen as below.This command display all partition on your hard drive.Here (hd0,msdos1), (hd0,msdos2) and so on is your partitions.

Command:  ls





Step 2:Now type following command.

Command: ls (your partition name)
Example:  ls (hd0,msdos1)






Note:Here i am getting error “Filesystem is unknown”. You have to repeat this for all partition until you get any none error message.Now here my partition is (hd0,msdos2) 

If you get error message for all partition than try Method 2.





Step 3:Now you get your partition than run following commands one by one.my partition is (hd0,msdos2)

Command 1 :    set boot=(hd0,msdos2)

Command 2:     set prefix=(hd0,msdos2)/boot/grub

Command 3:     insmod normal

Command 4:     normal

After your run 4th command you problem is solved.



Method 2: If Method 1 not work for you than try this.


Step 1: Restart your pc/laptop and type following command.

Command : set






Step 2:Now you get your partition than run following commands one by one.my partition is (hd0,msdos7)

Command 1 :    set boot=(hd0,msdos7)

Command 2:     set prefix=(hd0,msdos7)/boot/grub

Command 3:     insmod normal

Command 4:     normal

After your run 4th command you problem is solved.


After trying both method still your problem is not solve than re-install OS  



Comments

Popular posts from this blog

How To Install Kali Linux In VMware

Linux Commands

How to dual boot Kali Linux with windows OS