How To Fix GRUB Error: no such partition

Solution of GRUB Error: no such partition

Why GRUB error: no such partition?

Suppose that you have dual boot system, Windows 10 and Ubuntu. You made some disk and partition operations to these two operating system partitions on the same hard disk, especially on your Linux OS  partition. In such circumstances, the error no such partition happens. Be careful while making changes in hard drive partitions when you dual boot system, don't delete OS directly to switch single boot from dual boot system. For example, delete Linux OS partition from your Windows and vice versa. 

Steps to fix GRUB error: no such partition

Note: These steps will work when you haven't deleted your Linux partition.
Type the following commands
  • ls
          It will show you a list of partitions you have made.
          For ex. (hd0),(hd0,msdos1)(hd0,msdos2)
Find which drive is your Linux 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 log in. This is a temporary fix valid for the current session when you reboot next time same issue will appear. Enter the following commands in the terminal for a permanent fix.
  • Open Terminal
  • sudo update-grub (If sudo update-grub didn't work, type sudo grub-update)
  • sudo grub-install /dev/sda
If the above steps didn't work then make a bootable USB of Super GRUB2 Disk and boot using it. Super GRUB2 Disk  is live bootable image helps you to boot into most any Operating System even if you cannot boot into it by normal means.
Follow the steps as given in the video to boot using Super GRUB2 Disk

Download - SuperGrub2
We hope this solution will work for you. If you face any issues, let us know in the comment section.

No comments:

Powered by Blogger.