Do you have a dual boot setup of Ubuntu & Windows? Did you update your Windows 10, then suddenly you're encountering
grub rescue where the error is
no partition found? Just like that, BOOM! Your computer is not working.
Here are the steps you can do:
Checking Bootable Partitions
- Restart your computer
- In the Grub rescue, type
ls. This will list all of the partitions in your computer.
- Check each one, Ex:
- If you found a partition with extension
File Ext4, its the bootable partition. If not, then skip to Restoring bootable partition.
- Set the bootable partition. Ex: (hd0,msdos6) is the bootable partition.
- set prefix=(hd0,msdos6)/boot/grub - set root=(hd0,msdos6) - set boot=(hd0,msdos6) - insmod normal - normal
Restoring Bootable Partition
- Boot using your Ubuntu USB
- Go to
Software & Updates
- Make sure to check
- Install Testdisk
sudo apt install testdisk
- Open it
Testdisk is an awesome tool that detects and fixes partitions.
- Create log
Analyse. This will scan your hard disk for partitions
- It will then produce a summary result of the fix. Review it carefully. Take note of the
Dmarked in your partitions. That will DELETE your partition. You can change the mark of the partition by
- If you're happy with the result, press
Enterthen reboot your computer
- You'll still get grub rescue, but this time you'll find a bootable partition. Do the Checking bootable partition steps.
You'll notice that you're still getting grub rescue every time you reboot. To fix this, you need to boot to your Ubuntu USB installation.
- Open your terminal
- Mount ubuntu partition:
sudo mount /dev/sd** /mnt
- Reinstall grub:
sudo grub-install --boot-directory=/mnt/boot /dev/sd*
- sd* = disk Ex.
- sd** = partition Ex.
- Use gparted to see the partition for Ubuntu. It has
That's it. I hope that fixes your computer.