Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Installation > Grub error 22

Forgot Password?
 Installation   Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 02-19-2006   #1 (permalink)
Just Joined!
 
Join Date: Feb 2006
Posts: 2
Question Grub error 22

Hello,

I am pretty much a newbie to Linux. We are actually trying to set up a cluster and had installed Rocks (which is built upon RedHat 7), this used CentOS. Now when I was trying to reinstall the same OS on with extra functionalities on the previous OS, it did fine on the first computer (the frontend).

But when I tried to do it on my second node, it gave some error... I had to remove my CD midway and now when I boot the computer from harddisk, I get an error msg like:

Grub loading stage 1.5
Grub loading , please wait
Error 22

After this, i get no prompt or nothing whatsoever.. i cant even type a single character.. wht should I do? install Windows or Linux over it again? Is that the only option??

Please reply .. I have been stuck up here since long now
Any help would be much appreciated.

Thanks and Regards,
Priyanka.
Priyanka is offline  



Old 02-19-2006   #2 (permalink)
Linux Newbie
 
exploder's Avatar
 
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 166
Run the Windows XP CD and go for 'recovery console' and at the prompt type
'fixmbr' you can try 'fixboot' as well.

Let me know if it worked or else you can run Knoppix Live cd and back up your windows data and you can play around with it to get back the GRUB menu by typing "grub" at the console after you get the Knoppix desktop.

With Live o/s it will boot from the CD and it wont harm your pc hard drive. Then you can mount your hard drive and back up your data.
__________________
Registered Linux User#394486
exploder is offline  
Old 03-12-2006   #3 (permalink)
Just Joined!
 
Join Date: Mar 2006
Posts: 1
My low-tech solution

I had the same problem with Win2k3/Ubuntu when I added a Maxtor 250GB HDD. The latter seems to have problems with win2k3, sometimes repartitioning (Acronis PartitionExpert Server Edition) makes the new partition disappear. And sometimes, after reboot, I get the same error.

I found the less painful solution for me is installing a new Ubuntu (on a 5GB partition I keep for this in the first drive). I choose the "server" installation option (faster and less space required). This refreshes the boot loader and lets me access both win2k3 & previous linux installation.
bestalexguy is offline  
Old 10-10-2006   #4 (permalink)
Just Joined!
 
il_ciavo's Avatar
 
Join Date: May 2006
Posts: 3
Problem with Partitioning

I'm having a similar problem. I wanted to increase me Suse root Partition. So I decided to remove other linux Partition (/Data1) with Yast. Then, during the reboot apears: Grub Loading... Error 22.
So please someone could help me on:
-How to expand the linux root partition
-How to recover the Grub
Thanx
il_ciavo is offline  
Old 03-02-2007   #5 (permalink)
Just Joined!
 
Join Date: Mar 2007
Posts: 1
Grub Stage 1.5 Error 22

I am encountering a Grub 1.5 error upon boot.

I am using a 2nd hdd to load Ubuntu for Linux. This was previously a WinXP drive that I deleted and reformatted before attempting to install Ubuntu.

First I got Error 17.

Then I restarted from the live cd and reloaded again.

Now I get error 22

This is separate from my Win XP drive. I am not using a "dual boot" system. I am changing the boot drive in the bios to start Linux.

Any ideas on what is wrong?

-Steve
swoop is offline  
Old 03-02-2007   #6 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,596
problem is in grub configuration. SWAP harddisks. plug-in Ubuntu harddisk as Primary Master.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 03-10-2007   #7 (permalink)
Just Joined!
 
Join Date: Mar 2007
Posts: 1
GRUB 22 message

I am getting the same . At start up if my external harddrive is on when I boot. I do not get it at anyother time.
If I turn on the external drive after start up I have no problems and the drive is fully accessible.
Do not understand the reason why but it is the only time i see it.
Can external devices trigger this message if not recognized at startup?????
mountainman is offline  
Old 03-10-2007   #8 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,596
GRUB is installed in MBR of internal Harddisk but its configuration Files are stored in External harddisk. if you turn off External Harddisk at start up, GRUB couldn't find its conf files and throws errors.
if your Machine's BIOS supports booting up from External Harddisk, remove GRUB from Internal and install it in External.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 04-25-2007   #9 (permalink)
Just Joined!
 
Join Date: Apr 2007
Posts: 1
I just installed feisty fawn ubuntu, and dual booted with win xp.

I got grub error 18 - then reinstalled, then got grub error 17 - reinstalled, then got grub error 22

I am dual booting with a previous install of xp on one HD, and I added a second ide HD as slave that I installed ubuntu onto.

error 18: my boot partition was too large...I got this error because I did the guided install.

error 17: I have no idea?

error 22: I set the partitions on hdb as follows
swap
/boot 2000 mb
/ entire disk 78000 mb

then when I restarted I got error 22, went into the bios, and set hdb as the primary disk. the restarted and grub loader allowed me to run both installs.

a) maxtor: ubuntu
b) samsung: xp

before it was swapped

After 3 installs I thought my xp was toast...
unomateo is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:28 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1