GRUB or GNU GRUB is short for GRand Unified Bootloader. It is a boot loader used on multi-OS computers that provides users the choice to choose which operating system to boot from on the computer. Different operating systems may need varying boot loaders. For example, NTLDR is the boot loader for Windows NT operating systems, and LILO is the boot loader for Linux. As for GRUB, it is the boot loader for Windows and Linux and is generally used on computers that are with both Windows and Linux installations.
Here's a quick view of common GRUB loading errors and corresponding solutions. Jump to the part you're most interested:
|Workable Solutions||Step-by-step Troubleshooting|
|Fix 1. GRUB Loading Error 15||boot from the Live CD, and mount/boot depending on your partition...Full steps|
|Fix 2. GRUB Loading Error 17||use a distribution CD or Live CD to set up Grub as sudo grub > root (hd0,0) > setup (hd0) exit...Full steps|
|Fix 3. GRUB Loading Error 21||Boot the computer from the Ubuntu installation disc > Run Command Prompt as an administrator...Full steps|
|Fix 4. GRUB Loading Error 22||Restart the computer and press "F8" until you see the options, go back to the menu...Full steps|
However, it's not without a problem while using GRUB. Many users have the experience of encountering the GRUB loading error during the computer startup. There are two versions of GRUB, and if you're using Stage 1.5 or Stage 2.0, you'll probably encounter grub loading error 15, 17, 21, or 22.
GRUB loading error 15
File not found. This error is displayed when the specified file name cannot be found.
GRUB loading error 17
Cannot mount selected partition. This error is displayed when the partition requested exists, but the file system type is not be recognized by GRUB.
GRUB loading error 21
The selected disk does not exist. This error is displayed if the disk is not recognized by the BIOS in the system.
GRUB loading error 22
No such partition. This error is displayed if a requested partition isn't on the selected disk.
What Causes GRUB Loading Error 15, 17, 21, 22
When you install Windows and Linux on a computer, you need to configure GRUB correctly to boot from one of the operating systems successfully. Or you may encounter GRUB loading errors, like error 15, 17, 21, and 22. The common GRUB loading errors might be caused by:
- Improper configuration of GRUB
- The wrong installation location of GRUB
- Accidental deletion of GRUB
- The corruption of MBR
The solutions differ based on the error you are faced with. Specify the error message you encounter and carry out the corresponding solution.
Fix GRUB Loading Error 15
Make sure the kernel exists. To find out what the exact kernel name is, boot from the Live CD, and mount /boot depending on your partition and then do the following: cd /boot | ls
Fix GRUB Loading Error 17
Make sure your root(x,y) settings are right in your Grub.conf. You could use a distribution CD or Live CD to set up Grub as shown below. (h0,0) means the first hard drive and the first partition on that drive.
setup (hd0) exit
Fix GRUB Loading Error 21
Step 1. Boot the computer from the Ubuntu installation disc.
Step 2. Run Command Prompt as an administrator.
Step 3. Enter the following command:
grub> find /boot/grub/stage1 (then cmd will return something like "hd0,0")
grub> root (hd0,0)
grub> setup (hd0)
Fix GRUB Loading Error 22
Step 1. Restart the computer and press "F8" until you see the options.
Step 2. Go back to the menu where you can choose the operating system.
Step 3. Choose "Microsoft Windows Recovery Console". (You may need your Windows installation disc to access the recovery console.)
Step 4. If you are asked to choose the system drive, enter the number in front of the system drive listed.
Step 5. Enter the account password as required. Run the command fixmbr and enter "y" to confirm the operation.
Step 6. Enter "exit" and restart the computer.
Applies to: Restore all lost files and data after fixing GRUB loading error in Windows 10/8/7.
Applying the fix for a specific grub loading error in Windows may cause data loss. For example, some operations would format the disk partition or delete hard drive contents. So it's necessary to learn how to recover data after getting rid of the grub loading error on your computer.
Reliable hard drive recovery software - EaseUS Data Recovery Wizard specializes in file recovery on all Windows operating systems. It allows you to recover data lost due to the GRUB loading error effectively in only a few simple clicks.
See how to recover the accidentally deleted or formatted hard disk data while fixing GRUB loading error on your computer with ease:
Step 1. Select a location and start scanning.
Launch EaseUS Data Recovery Wizard, hover on the location(hard drive partition, external HDD, Card devices) where you lost data, then click "Scan".
Step 2. Preview and select the files.
Wait until the scanning completes. If you need to double-click the item to preview the file, then select the data you attempt to recover.
Step 3. Recover lost data.
Click "Recover", choose a location to save the recovered data, then click "OK". You should store the data in another place instead of the original one.
Besides, you can also apply this data recovery software to recover files and data lost on the desktop, laptop, internal hard drive, external hard drive, removable USB flash disk, pen drive, memory card, and many more storage devices.
The Bottom Line
GRUB loading errors always occur on computers with dual OS, and each error code is informative since it indicates what the possible cause is. Apply the solutions provided to cope with the issue and use EaseUS Data Recovery Wizard to retrieve the data when data loss happens.
Was This Page Helpful?
- How to Partition A Hard Drive in Windows 10
- Fix Corrupted/Damaged SD Card Without Losing Data
- Top 8 Free Video Editing Software with NO Watermark in 2020
- Recover Deleted or Lost Android Photos/Videos with or without Computer
- [Easy & Fast] How to Recover Deleted Files on PC Windows 10/8/7
- How to Share Files Between Two Laptops with or Without WiFi in Windows 10
- How to Migrate Windows 10 from HDD to SSD
- 6 Ways to Transfer Files from PC to iPhone/iPad With/Without iTunes