I also experienced this bug when trying to use vmbuilder to create an oneiric VM. During the bootloader step (grub 0.97-29ubuntu62) I get the following:
2011-09-09 16:38:03,944 DEBUG : ['chroot', '/tmp/tmphxwuJ8', 'grub', '--device-map=/tmp/vmbuilder-grub/device.map', '--batch'] 2011-09-09 16:38:03,945 DEBUG : stdin was set and it was a string: root (hd0,0) setup (hd0) EOT 2011-09-09 16:38:07,981 DEBUG : 2011-09-09 16:38:07,981 DEBUG : [ Minimal BASH-like line editing is supported. For 2011-09-09 16:38:07,982 DEBUG : the first word, TAB lists possible command 2011-09-09 16:38:07,982 DEBUG : completions. Anywhere else TAB lists the possible 2011-09-09 16:38:07,982 DEBUG : completions of a device/filename. ] 2011-09-09 16:38:07,982 DEBUG : grub> root (hd0,0) 2011-09-09 16:38:07,983 DEBUG : grub> setup (hd0) 2011-09-09 16:38:07,983 DEBUG : Checking if "/boot/grub/stage1" exists... yes 2011-09-09 16:38:07,983 DEBUG : Checking if "/boot/grub/stage2" exists... yes 2011-09-09 16:38:07,984 DEBUG : Checking if "/boot/grub/e2fs_stage1_5" exists... yes 2011-09-09 16:38:07,984 DEBUG : Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 21 sectors are embedded. 2011-09-09 16:38:07,984 DEBUG : succeeded 2011-09-09 16:38:07,984 DEBUG : Running "install /boot/grub/stage1 (hd0) (hd0)1+21 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed 2011-09-09 16:38:07,985 DEBUG : 2011-09-09 16:38:07,985 DEBUG : Error 6: Mismatched or corrupt version of stage1/stage2 2011-09-09 16:38:07,985 DEBUG : grub> EOT When using the same vmbuilder config but natty (grub 0.97-29ubuntu61) it works correctly: 2011-09-09 17:23:27,158 DEBUG : ['chroot', '/tmp/tmpqBagP3', 'grub', '--device-map=/tmp/vmbuilder-grub/device.map', '--batch'] 2011-09-09 17:23:27,158 DEBUG : stdin was set and it was a string: root (hd0,0) setup (hd0) EOT 2011-09-09 17:23:29,191 DEBUG : 2011-09-09 17:23:29,192 DEBUG : [ Minimal BASH-like line editing is supported. For 2011-09-09 17:23:29,192 DEBUG : the first word, TAB lists possible command 2011-09-09 17:23:29,193 DEBUG : completions. Anywhere else TAB lists the possible 2011-09-09 17:23:29,193 DEBUG : completions of a device/filename. ] 2011-09-09 17:23:29,193 DEBUG : grub> root (hd0,0) 2011-09-09 17:23:29,194 DEBUG : grub> setup (hd0) 2011-09-09 17:23:29,194 DEBUG : Checking if "/boot/grub/stage1" exists... yes 2011-09-09 17:23:29,194 DEBUG : Checking if "/boot/grub/stage2" exists... yes 2011-09-09 17:23:29,194 DEBUG : Checking if "/boot/grub/e2fs_stage1_5" exists... yes 2011-09-09 17:23:29,195 DEBUG : Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded. 2011-09-09 17:23:29,195 DEBUG : succeeded 2011-09-09 17:23:29,196 DEBUG : Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded 2011-09-09 17:23:29,196 DEBUG : Done. 2011-09-09 17:23:29,196 DEBUG : grub> EOT -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/837815 Title: Grub 0.97-29ubuntu62 gives error "Error 6: Mismatched or corrupt version of stage1/stage2" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub/+bug/837815/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
