GRUB Solution to error "Error 6: Mismatched or corrupt version of stage1/stage2"
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd1,0)/boot/grub/stage2 /boot/grub/grub.conf"... failed
Error 6: Mismatched or corrupt version of stage1/stage2
In my case this problem happened because hd1 is a newly added drive in a mdadm RAID 1 array and was still syncing at the time. I imagine you could also run into this error with a partition/filesystem that is still being formatted.
This is the only way/scenario that I've ever received that error and the solution is to wait for the RAID array to finish syncing.