error: unknown filesystem

GRUB2

GRUB cannot identify the filesystem on the boot partition and drops to the GRUB rescue shell. Typically caused by GRUB pointing to the wrong partition after a disk change.

Check your exact device first. Codes and procedures vary by model and software version. Back up important files before recovery. Stop if a device is overheating, smells burnt, or has a swollen battery.

CHOOSE HOW YOU WORK

Clear help. Useful detail.

Start with the checks below. Tick a step after you try it, and keep a note of what changed. You can stop as soon as the original task works.

What can cause it?

  • Disk UUID changed after repartitioning
  • GRUB installed to wrong disk
  • Partition table changed
  • Dual-boot setup altered by Windows update

What to try

Work through one step at a time
Your troubleshooting progress0 steps tried
  1. Find the Correct Partition in GRUB Rescue

    At the grub rescue> prompt, type: ls to list partitions. Then try: ls (hd0,gpt2)/ — try different partition numbers until you see your Linux files.

  2. Set Root and Boot Manually

    Once you find the correct partition (e.g. hd0,gpt2), run: set root=(hd0,gpt2) then set prefix=(hd0,gpt2)/boot/grub then insmod normal then normal

  3. Reinstall GRUB from Live USB

    Boot a live USB, mount your root partition (e.g. sudo mount /dev/sda2 /mnt), then run: sudo grub-install --boot-directory=/mnt/boot /dev/sda (replace with your disk).

  4. Update GRUB

    After chrooting into your system (sudo chroot /mnt), run: update-grub to regenerate the GRUB configuration with the correct UUIDs.

How did it go?

Test the original task again. A completed checklist doesn’t by itself mean the problem is fixed.

If the error comes back

Record the full error, your exact model, software version, and the steps you tried. Share these with the manufacturer or a qualified technician. A repeated code needs a diagnosis, especially if it involves storage, heat, or power.

Find the instructions for your model

GRUB2 official support

This is a general support link. This reference guide has not been checked against a model-specific source in this update.