Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-18-2007, 12:40 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Question GRUB 22 and 21 error when trying to format.

Hello all.

I have a problem with the UBUNTU that was installed in my computer. About a year or 2 ago a friend install Windows XP. He recomemded Ubuntu from Linux and said that when I turn on my computer I will get the option of starting up either XP or UBUNTU. I figured hey that sound great, do that.

Everything worked fine for a while but every time, without fail, that I started UBUNTU it would freeze on me after 20minutes to an hour or working in it. So, I left it alone and only worked with XP. I never got around to have it fixed because no one is ever available to help me with it.

Recently (about 4-5 months now) I had a problem with my XP and I wanted to format my 80gig. Now it gives me a GRUB 22 error or a GRUB 21 error.

I believe he had partitioned a 10 gig and put UBUNTU there so I don't understand why it gives me the GRUB errors on my 80gig I have a second 80gig that I want to put in my computer but that one also gives me a no disk found error.

I really want to have this thing fixed. I don't know much about computers but I get by. I also do not have much cash but have decided on getting one of those barebone computers and just use my 80 gigs but if I can't even format that...

Lotsa help would be mucho appreciated.

Thanks in advance

Old 06-18-2007, 01:53 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
It sounds like GRUB was installed to the MBR as part of setting up dual-boot. If you re-formatted the drive, you may have lost the GRUB config file.

What is the current setup? i.e. what partitions, what operating systems?
Can you boot into anything?

You can get back to Windows by booting from the Windows install CD--rescue mode-- and running "fixmbr"


error, errors, grub

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB Error (wrong 'root=' format) SentralOrigin Linux - General 10 02-25-2007 03:19 PM
xen installation error: error 13: invalid or unsupported executable format Niceman2005 Linux - Software 0 01-05-2007 01:51 AM
Need a grub.conf entry format RedNovember Linux - Software 9 02-05-2006 04:37 PM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM
kernel 2.6.3 compile ends in grub error 13: unsupported executable format(?) browny_amiga Linux - General 4 03-06-2004 02:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration