Help answer threads with 0 replies.
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 01-26-2009, 09:14 AM   #1
Registered: Jul 2005
Location: Oklahoma
Distribution: Ubuntu
Posts: 79

Rep: Reputation: 15
Ubuntu 8.04 grub Error22: found solution - but same error

Yesterday I was working on my computer tonight when it started getting very slow. I clicked on Home on the toolbar and it said it could not be found and was not associated with ... something. I saved my data and then rebooted. I had Grub Error 22 on my screen. I did some searching and found a few posts in the ubuntu forums so I followed these instructions:

Booted to LiveCD,
sudo grub,
find /grub/stage1

It is located at hd0,0.

I found some other posts about this and followed these instructions:

sudo grub
find /grub/stage1

sudo grub
grub> root (hd0,0)

the result:
checking if "/boot/grub/stage1" exists
checking if "/grub/stage1" exists... yes
checking if "/grub/stage2" exists... yes
checking if "/grub/e2fs stage1_5 (hd0)"... 16 sectors are embedded
running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
/grub/menu.lst" ... secceed

grub> setup (hd0)
grub> quit

Next I rebooted... same message .. .Error 22.

I started live cd again and and did a search and it says hd0,0 for
stage1 and stage 2. I have to assume that whatever caused this problem to begin with is persistent. Any help would be much appreciated.

Old 01-26-2009, 01:32 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,864

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Error 22 means that grub cannot find a partition. The partition that it cannot find may not be hd0,0. Check /boot/grub/menu.lst to see what partition grub expects the kernel and the initrd to be on.

Also run fdisk -l from the liveCD to find out what partitions still exist. You may have a damaged partition table.

Steve Stites


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
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 04:54 AM
grub Error 15: File not found lowbrow Debian 2 11-10-2007 07:52 PM
Boot hangs with the 'GRUB' message - no solution found alxp Linux - Newbie 7 09-20-2004 02:23 AM
Solution to Grub memory error 768 bencpht Linux - Newbie 0 03-08-2003 11:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 AM.

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