LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2006, 04:23 PM   #1
ti479
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
corrupted grub loader


hello,

this is my first post here. i am having a huge problem with my open suse 10.1.
i have a 80g hard drive with 40 for linux and 40 for my windows . i upgraded my motherboard and used the same hard drive. the windows app worked fine but the linux did not. now through an act of god or bad choices on my part the grb loader only displays Error 22. and i cannot acess either windows or linux. is there any way to fix this without wiping it or starting over. i really dont want to have to re-install the entire hard drive if it is recoverable.



any help will be appreciated.

ti
 
Old 11-28-2006, 04:39 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Do you have access to a Knoppix disk? If not you could build a grub boot disk, see "info grub". Let me know if you have Knoppix.
 
Old 11-28-2006, 05:52 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Grub err 22 : No such partition
This error is returned if a partition is requested in the device
part of a device- or full file name which isn't on the selected
disk.

The error is probably in /boot/grub/menu.lst. It's either looking for the /boot folder or the / (root of the filesystem) in the wrong place.

We need to see the contents of /boot/grub/menu.lst and /etc/fstab to determine the fix.

Be assured that both OSs are still there, you just can't access them right now.

If you have a liveCD, boot from that and run 'fdisk -l' to get a list of all partitions. Mount the Suse partitions one at a time and inspect the contents. Look for /boot (then cd into grub and copy menu.lst). If /etc is in the same partition, copy fstab.

Then post them here.

You may be able to boot fron the Suse install cd1 (choose boot from hard drive) and get the information.

As I stated above, the fix is probably as easy as just editing /boot/grub/menu.lst to get the partitions stated correctly.
 
  


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
Boot Loader (Grub) Corrupted parveengar Red Hat 1 10-03-2006 10:07 PM
corrupted NTFS partition. could it be GRUB? alesz Linux - General 7 03-24-2006 09:46 AM
Grub loader corrupted reply2vinay Linux - Software 3 09-20-2005 05:07 PM
Windows XP corrupted after RH-Linux9 Grub install sajkumar Linux - Software 4 08-29-2003 01:30 PM
Help! Grub Loader! djsktbrd Linux - Newbie 5 12-27-2002 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 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
Open Source Consulting | Domain Registration