This error is very common in the dual system. It always appears when you boot your computer, then an error message.”GRUB Error: no such partition.”
IN "SET PREFIX" COMMAND ENTER YOUR LINUX PARTITION NUMBER.
Type the following commands
ls
It will show you a list of partions you have made. for ex.
(hd0),(hd0,msdos1)(hd0,msdos2)
Find which drive is your Ubuntu root for which type the following:
set prefix= (hd0,msdos1)/boot/grub
If it’s not the root drive you will get an error message "unknown filesystem". Try next partition i.e (hd0,msdos2)
If you are not getting an error, you have found your root drive. You can proceed to the next command after that:
set prefix=(hd0,msdos1)/boot/grub
insmod normal
normal
Your PC will now boot successfully. Now login.
Open Terminal
sudo update-grub
sudo grub-install /dev/sda
If sudo update-grub didn't work, type sudo grub-update
if above steps didnt work then try 2nd method
Support me: http://bit.ly/34ceUt6
Subscribe our channel for more tech stuff.
Our Facebook Page - / easytechstudios
Instagram - / easytechstudios
#GrubError: no such partition #nosuchpartition #grub #solutionofGrub Error : no such partition