LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-18-2004, 09:50 AM   #1
mikmok
LQ Newbie
 
Registered: Dec 2003
Posts: 28

Rep: Reputation: 15
grub Error 6:Mismatched o corrupt version of stage1/stage 2


Hi all,

after cloning an ide hdd (reiser + grub on a suse 9)
i've booted from the suse install cdrom
entered the rescue subsys
and issued
mount /dev/hda /mnt/hda
chroot /mnt/hda
grub-install --recheck /dev/hda

the result is
Error 6:Mismatched o corrupt version of stage1/stage 2

i issue the same comand once again and i had no errors

anyway i've restarted the system but

after the reboot terribly the problem is that it flash one second and then it beeps for some second
then the screen remain black with the prompt blinking about 20 chars from the left.

don't laugh please.

thank you
Mik
 
Old 03-01-2004, 03:56 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,827

Rep: Reputation: Disabled
umm when you say clone do you mean you put a new drive in to replace the old one, and if so did it occur you may have different drive geometries?

just a wild thought.

heres the grub manual

http://www.gnu.org/software/grub/manual/grub.html

stage 2 error 6 is from source above
6 : Mismatched or corrupt version of stage1/stage2
This error is returned if the install command points to incompatible or corrupt versions of the stage1 or stage2. It can't detect corruption in general, but this is a sanity check on the version numbers, which should be correct.

stage 1 error 6 is from source above
allegedly the same error but I like this one

Geom Error
The location of the stage2 or stage1.5 is not in the portion of the disk supported directly by the BIOS read calls. This could occur because the BIOS translated geometry has been changed by the user or the disk is moved to another machine or controller after installation, or GRUB was not installed using itself (if it was, the Stage 2 version of this error would have been seen during that process and it would not have completed the install).

Resolution I assume you just want to use images on a new drive?

so re-run grub but not with a recheck command

eg use grub-install /dev/hda

if that fails open a terminal and type su to get root password
once prompt changes to root
type grub and you enter the (bash like) grub editor
type each line and press enter

assume you want mbr install

grub> root (hd0)
grub > setup (hd0)
grub > boot

The last command does NOT cause reboot then you close the terminal and test.

If all works make a new boot floppy please

Last edited by aus9; 03-01-2004 at 03:59 AM.
 
Old 03-02-2004, 11:52 AM   #3
mikmok
LQ Newbie
 
Registered: Dec 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Thank you for your kind reply, i read it only today. I'll try asap what you've suggested.
Thanx
Mik
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
help ! grub stage 2 read error bschiett Linux - Newbie 4 09-21-2005 01:27 AM
grub error 21 stage1.5 wxman2 SUSE / openSUSE 2 08-27-2005 10:45 AM
HD Grub Stage 2 Read Error jmw83 Linux - Newbie 13 06-07-2004 06:51 PM
GRUB error when trying to install stage 1 Leenuks Linux - Newbie 5 02-16-2004 05:15 AM
GRUB Loading stage 1.5 ...... Error 25 sean21 Linux - Newbie 2 11-08-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:40 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