FS#25442 - grub-install fails with: Error 6: Mismatched or corrupt version of stage1/stage2
Attached to Project:
Arch Linux
Opened by kachelaqa (kachelaqa) - Monday, 08 August 2011, 00:13 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 10 August 2011, 06:49 GMT
Opened by kachelaqa (kachelaqa) - Monday, 08 August 2011, 00:13 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 10 August 2011, 06:49 GMT
|
Details
Description:
after updating to the linux 3 kernel, grub-install fails with the following output: grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup --stage2=/boot/grub/stage2 --prefix=/grub (hd0) Checking if "/grub/stage1" exists... yes Checking if "/grub/stage2" exists... yes Checking if "/grub/e2fs_stage1_5" exists... yes Running "embed /grub/e2fs_stage1_5 (hd0)"... 20 sectors are embedded. succeeded Running "install --stage2=/boot/grub/stage2 /grub/stage1 (hd0) (hd0)1+20 p (hd0,0)/grub/stage2 /grub/menu.lst"... failed Error 6: Mismatched or corrupt version of stage1/stage2 grub> quit Additional info: * package version(s) linux-3.0.1-1 grub-0.97-19 * other /boot is on a separate ext2 partition (all other partitions are ext3) |
This task depends upon
Closed by Ronald van Haren (pressh)
Wednesday, 10 August 2011, 06:49 GMT
Reason for closing: Fixed
Additional comments about closing: grub 0.97-20. If it still doesn't work for you, check the comments in this bug report for guidelines.
Wednesday, 10 August 2011, 06:49 GMT
Reason for closing: Fixed
Additional comments about closing: grub 0.97-20. If it still doesn't work for you, check the comments in this bug report for guidelines.
Maybe I'm reading this wrong, but
Running "install --stage2=/boot/grub/stage2 /grub/stage1 (hd0) (hd0)1+20 p (hd0,0)/grub/stage2 /grub/menu.lst"... failed
it is looking for the stage1 file in a different location than the stage2 file?
but whatever - if i downgrade grub to 0.97-17, the problem goes away.
(nb: duplicate of this bug:
FS#25449)sorry, ARM doesn't have grub 0.97-18. do you still need me test it?
@all: Are you all running a separate /boot partition or should I also be able to reproduce this with /boot on the root partition?
Also I did test -18 last week before I pushed it and it installed just fine (but I don't have a separate /boot partition), so that's why I asked.
Did you copy /usr/lib/grub/i386-pc/* to /boot/grub/ when you were testing?
I'll release an update with the fix when I'm home from work.
Can someone please test (most notably the i686 package) before I push it to testing:
http://dev.archlinux.org/~ronald/packages/grub-0.97-20-i686.pkg.tar.xz
http://dev.archlinux.org/~ronald/packages/grub-0.97-20-x86_64.pkg.tar.xz
This is with a netinstall, /boot is ext4.
i686 and x86_64 packages provided in your links and in [testing] are working for me.
Is there anyway to push this too a fresh i686 netinstall i'm attempting via virtualbox?
Or will I have to wait to install; when it's out of testing and in main?
2011-08-08 12:29 for menu.lst
ls -l /boot/grub : 2011-08-08 11:08
ls -l /usr/lib/grub/i386-pc : 2011-08-08 12:29
cp -a /usr/lib/grub/i386-pc/* /boot/grub/
after one more confirmation, try to move this to core asap. someone might need this.
basically, I just uninstall and reinstall grub.
The filesystem on the vbox is set up w/ auto configure. / & /home are ext4 but i'm sure it autoconfigures /boot as ext2? The vbox install can wait until it's all ironed out so no worries, as my main install is fine.