LinuxQuestions.org
Help answer threads with 0 replies.
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 02-18-2008, 06:49 AM   #1
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 95

Rep: Reputation: 23
Question GRUB Stage 1.5, Error 22


Hi,

I have openSUSE 10.3 installed. That went all right, and from time to time I start it up to learn more about Linux.

I helped a friend with a broken disk - meaning I had to remove the power and data cable from one of my disks to attach my friends disk.

Now when I reattach my disk GRUB complains with error 22.

Note: Linux is installed on disk 3, and the boot disk points to GRUB on disk3 - when I remove it's power I get error 21

A very few times I have gotten the system to reboot. Just in case the SATA cables were the problem I replaced both of those - it worked twice after that.

How I can just get rid of the GRUB as it seems to be getting in the way.
I may have reinstall windows XP. The Windows "repair" option seems to have wasted my Windows as well - but I am hoping that is not the case.

btw: booting from a Knoppix CD does let me see all the disks and all the partitions.

Help is appreciated!

Last edited by Michael AM; 02-18-2008 at 06:51 AM.
 
Old 02-18-2008, 06:52 AM   #2
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 95

Original Poster
Rep: Reputation: 23
Oh yes, if I do not have my second windows disk attached - I dont get error 22.
 
Old 02-18-2008, 07:25 AM   #3
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 95

Original Poster
Rep: Reputation: 23
Question is now academic, Windows "repair" mode just trashed my disk. C'est la vie, now to see if knoppix can help me out.

Last edited by Michael AM; 02-18-2008 at 07:27 AM. Reason: spelling error.
 
Old 02-18-2008, 07:43 AM   #4
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
First try: get http://www.ultimatebootcd.com/, supposedly you can fix everything with it. You can give command "fdisk /mbr" to get everything working.

----- Another guess
Here is what I think your problem is. It seems that now when you attach your disk, the disk number is different than it was when you did the installation of GRUB.

If I am right, there is a really very simple solution (albeit non-graphical). Attach all the disks you want to attach while booting. Then boot through any livecd (Knoppix etc.).

Now you will have to recognize which drive is the one your linux is installed (or for that matter, windows). As far as I remember, Knoppix will have already mounted every disk. Just type "mount" and see for yourself.

All you have to do now is to modify the grub menu.1st file so that it refers to the current directory.
----- Another guess
You can always reinstall

Last edited by anupamsr; 02-19-2008 at 08:06 AM.
 
Old 02-18-2008, 12:39 PM   #5
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 95

Original Poster
Rep: Reputation: 23
Other than download the ultimatebootcd you suggested I had done all that - and even used the knoppix CD to make a backup of the C disk once it showed up again.

I am just new to the current (last 6 years) of Linux. I have worked with UNIX for almost 30 years and am very glad that there are Linux distros aka Live CD's that boot nearly anything.

Short answer - I reinstalled Linux (openSuse 10.3) and I could now reboot (openSuse also would not boot, even thru the CD because it always wante some extra GRUB it seemed, same with the windows Repair that is running to it's end now.

The other happy moment is that I remembered the XP admin password. I had given up and just entered on of my older passwords - and it gave me a prompt.

After FIXMBR from the emergency recovery, or whatever Windows calls it, FIXMBR erased the GRUB links - and finally windows repair got to repairing - warning to the windows unaware - windows repair is reinstall windows. I'll find out later if it has saved anything of the previous installation.

Lastly, many thanks for your suggestions. If I had not done them already :P they would have fixed me up nicely.

Last edited by Michael AM; 02-18-2008 at 12:39 PM. Reason: really need to learn to type!
 
Old 02-19-2008, 08:16 AM   #6
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
Glad that you were able to solve the problem. It has been a really long time since I installed Windows.

Also, as far as I remember, it should not delete anything.

I have a nice story regarding this. Once I was "troubleshooting" my friends computer - some problem with Windows XP, and he wanted a reinstall because the computer won't boot (nothing related to Linux). He had very important data in his "Desktop". Unfortunately, he told me this while I was in the middle of installation. Fortunately, the installation CD couldn't find some driver, so it prompted for specifying its location.

At that point, I saw that all the drives were already mounted, and right-clicking any file would give you all the options available while running Windows normally! Naturally, it means I had copy/paste available So I copied his Desktop to some other drive.
 
  


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
GRUB stage 1.5 error 17 Makosgaming Linux - General 2 08-23-2007 03:14 AM
Grub error 16 in stage 1.5 corkypa Linux - Software 5 04-18-2006 02:18 AM
new harddisk - grub error 22 at stage 1.5 oskar Linux - Hardware 2 03-05-2006 02:32 PM
help ! grub stage 2 read error bschiett Linux - General 1 09-20-2005 06:45 PM
HD Grub Stage 2 Read Error jmw83 Linux - Newbie 13 06-07-2004 07:51 PM


All times are GMT -5. The time now is 10:13 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration