Solved

Why do I get GRUB error 22?

Posted on 2011-02-12
7
399 Views
Last Modified: 2012-05-11
I recently installed Macrium Reflect and created a disk image on an external hard drive that is connected to a SATA PCI card.   Everything went smoothly and I tested the boot CD for Macrium Reflect.   I did not go as far as restoring the disk image.   I want to have a disk image created on a weekly schedule, so I want to leave the external SATA drive connected.   When I boot the computer, I get an error message GRUB error 22 and the computer stops there.   If I disconnect the external SATA drive, the computer boots normally into Windows XP Professional.   How can I leave the external SATA drive connected and still have the computer boot normally?
0
Comment
Question by:DoctorK12008
  • 4
  • 3
7 Comments
 
LVL 9

Expert Comment

by:Anton74
Comment Utility
You must go into BIOS settings of the computer, and disable booting off that external SATA drive, or the SATA PCI card altogether - or at least lower its priority so that the built-in controller/drive will be booted from first.

I suspect that since GRUB (a boot loader) is installed on the external drive, it might contain the Macrium software to help you restore an image. If you must be able to boot from the drive to restore its data if it ever comes up, you should investigate why this fails. If you're ok booting from CD in that case, you don't necessarily have to worry about that of course.
0
 

Author Comment

by:DoctorK12008
Comment Utility
Yes, the Macrium software uses Linux to restore a drive image, so I guess that is why I get the error message on booting.   I can boot OK from the Macrium rescue CD created during setup.   The BIOS setting is for the CD to boot first.   If I were to connect the external drive using USB rather than SATA, would that solve the problem?   I would really like to be able to leave the external drive connected all the time, but wouldn't the USB be a slower connection than the SATA?
0
 
LVL 9

Expert Comment

by:Anton74
Comment Utility
Not knowing your BIOS, I can't answer exactly what setting or option needs to be changed; perhaps using USB does solve the boot issue (USB should not be higher boot priority than your internal hard drive of course).

Otherwise, you should carefully look at the various BIOS settings, both the internal drive you normally boot from and the external drive are seen as hard drives. The key thing is to make the internal drive the one to boot from first (or the only one), out of 2 hard drives. Sometimes there's an option that enables or disables booting off drives connected to add-in cards, or change its priority, which should do the trick. This is assuming that your normal internal drive is not connected to the same PCI SATA controller.

Also a possibility is looking for configuration options of the PCI card itself. It may display a message during boot time like "press Ctrl-A for configuration options" or something to that effect. There may be boot options to configure there that could help.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:DoctorK12008
Comment Utility
I changed the boot order so the external drive is listed after the internal drive.   Now it boots OK, but much more slowly.   There is  message that the Intel boot is exiting, but Windows than loads normally.
0
 
LVL 9

Accepted Solution

by:
Anton74 earned 500 total points
Comment Utility
I suspect the slowdown is due to the external drive being detected and examined. If you can remove it entirely as an available boot drive, it may go away. Otherwise, you'll probably have to live with it I'm afraid, but at least you've got it functionally working and booting as intended.
0
 

Author Closing Comment

by:DoctorK12008
Comment Utility
Yes, I can simply unplug the external drive until I want to use it (once weekly for image creation).   Thanks for your help.
0
 
LVL 9

Expert Comment

by:Anton74
Comment Utility
To clarify, I actually meant remove the external drive as an available boot drive in BIOS (to try and remove the slowdown), if that's possible. If that works you could leave it plugged in at all times.

Thanks for the points.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now