LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-12-2009, 01:05 PM   #1
snow-templar
LQ Newbie
 
Registered: Oct 2009
Location: Mystic, CT
Distribution: Debian and Ubuntu
Posts: 4

Rep: Reputation: 0
Question GRUB Error 22 occurance after no modifications to OS's or partitions


So on my desktop, I dual boot Windows 7 and Debian Lenny. I managed to install both OS's perfectly fine, let GRUB handle the OS loading and what not, it was a good thing.

I left my computer on Windows 7 when I went to class. I can only assume some update occurred because when I returned, my computer had gone idle, pressed the space bar to wake it up, and although the desktop did wake up, the monitors never came back up nor did any of my USB devices power up. So I did a hard reset. Computer boots, passes BIOS but only after pausing to warn me the that last time BIOS ran that something failed. I hit F1 to continue into GRUB where I got my Error 22.

Now, I know error 22 occurs often after changing partitions without updating GRUB to know about the changes but here I did nothing other than let my computer idle while I went to class. I have the Debian Live CD to try to rescue anything I can. How can I update GRUB to see the correct locations without having to reinstall Debian?
 
Old 10-12-2009, 01:32 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
You can boot with the live CD and then chroot into Debian and reinstall grub. See B5 of the "Grub Booting Tips" in my signature.
 
Old 10-13-2009, 10:33 AM   #3
snow-templar
LQ Newbie
 
Registered: Oct 2009
Location: Mystic, CT
Distribution: Debian and Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Well, I tried what you said and ran into one big problem... the Live CD can't find my Debian partition anymore. It can see all my ntfs partitions fine. Let me add more detail...

I have two hard drives. One is a 500 GB Seagate Barracuda while the second one is a 74 GB Western Digital Raptor. I had it configured so the entire raptor and half of the barracuda is ntfs. The second half of the barracuda was my debian partition.

So, when I put in my Live CD, it sees my ntfs partitions, but for some reason thinks the barracuda is only as big as the ntfs partition. It doesn't see anything after that. It thinks my hard drive is only as big as the ntfs partition. What do I do?
 
Old 10-13-2009, 11:39 AM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
My only other suggestion would be to try running testdisk from a live CD and see if it can recover the old partition table.
 
Old 10-13-2009, 11:48 AM   #5
ssaha
Member
 
Registered: Feb 2009
Location: Kolkata,India
Distribution: Fedora 8,Ubuntu 8.04, 8.10, 9.04, 9.10
Posts: 108

Rep: Reputation: 18
http://softwareroxer.blogspot.com/20...der-after.html

see if it works...
 
  


Reply


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
How to do a proper lilo.config with multiple partitions/OS's? linus72 Slackware 11 03-18-2009 05:44 AM
Random sound error occurance at startup? cudmore Linux - Software 1 10-10-2006 06:40 AM
Error on Fedora core 4 installation - Error informing the kernal about modifications monolegis Fedora 2 02-15-2006 07:11 PM
Booting 4 OS's with three primary partitions.. rrfish72 Linux - General 8 11-14-2004 05:10 PM
Managing Multiple Partitions and OS's Echo Kilo Linux - Software 0 10-22-2004 12:28 PM


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

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