I am seeing the same problem on Karmic with ubuntu-vm-builder and grub not finding the stage1 grub file.
I converted the qcow2 image created by vmbuilder to raw and then mounted the image to inspect the grub directory. It seems that the grub stage files are actually in /boot/grub/i386-pc.
I am seeing the same problem on Karmic with ubuntu-vm-builder and grub not finding the stage1 grub file.
I converted the qcow2 image created by vmbuilder to raw and then mounted the image to inspect the grub directory. It seems that the grub stage files are actually in /boot/grub/i386-pc.
ubuntu- kvm/mnt/ boot/ map-2.6. 31-14-generic- pae 2.6.31- 14-generic- pae img-2.6. 31-14-generic- pae 2.6.31- 14-generic- pae
|-- System.
|-- config-
|-- grub
| |-- default
| |-- device.map
| |-- grubenv
| |-- i386-pc
| | |-- e2fs_stage1_5
| | |-- fat_stage1_5
| | |-- jfs_stage1_5
| | |-- minix_stage1_5
| | |-- reiserfs_stage1_5
| | |-- stage1
| | |-- stage2
| | |-- stage2_eltorito
| | `-- xfs_stage1_5
| |-- menu.lst
| |-- menu.lste
| `-- menu.lst~
|-- initrd.
`-- vmlinuz-
If you copy the stage files from boot/grub you can then manually install grub and get the KVM image to boot.
# cd ubuntu-kvm ; mkdir mnt grub/i386- pc/stage* mnt/boot/grub map=/dev/ null grub/e2fs_ stage1_ 5" exists... no
# qemu-img convert -O raw disk0.qcow2 disk0.img
# mount -oloop,offset=16384 -t ext3 disk0.img mnt
# cp mnt/boot/
# grub --device-
grub> device (hd0) ../disk0.img
device (hd0) ../disk0.img
grub> root (hd0,0)
root (hd0,0)
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.
# qemu-img convert -O qcow2 disk0.img disk0.qcow2