Public bug reported: This is with Karmic and vm-builder 0.11.3-0ubuntu1
I've set up a kvm host using an LVM logical volume as --raw device. The vm building didn't show any problems. But the vm doesn't boot at all. Using VNC I've found out that it halts after 'Booting from Hard Disk...'. Looks like grub hasn't been installed on the correct place. Mounting the vm root partition in the host, I was able to locate the vmbuilder-install.log The IMHO interesting snipplets are: [...] 2010-03-03 22:15 DEBUG : Setting up linux-firmware (1.26) ... 2010-03-03 22:15 DEBUG : Setting up linux-image-virtual (2.6.31.19.32) ... 2010-03-03 22:15 DEBUG : Creating device.map 2010-03-03 22:15 DEBUG : Output from template '/etc/vmbuilder/ubuntu/devicemap.tmpl': (hd0) /dev/sda 2010-03-03 22:15 DEBUG : Installing extra packages [...] 2010-03-03 22:16 INFO : Installing bootloader 2010-03-03 22:16 DEBUG : ['mount', '--bind', '/dev/mapper/leo01-pimension--disk', '/tmp/vmbuildercrLky2/root/tmp/vmbuilder-grub/leo01-pimension--disk'] 2010-03-03 22:16 DEBUG : ['chroot', '/tmp/vmbuildercrLky2/root', 'grub', '--device-map=/tmp/vmbuilder-grub/device.map', '--batch'] 2010-03-03 22:16 DEBUG : stdin was set and it was a string: root (hd0,0) setup (hd0) EOT 2010-03-03 22:17 DEBUG : 2010-03-03 22:17 DEBUG : [ Minimal BASH-like line editing is supported. For 2010-03-03 22:17 DEBUG : the first word, TAB lists possible command 2010-03-03 22:17 DEBUG : completions. Anywhere else TAB lists the possible 2010-03-03 22:17 DEBUG : completions of a device/filename. ] 2010-03-03 22:17 DEBUG : grub> root (hd0,0) 2010-03-03 22:17 DEBUG : grub> setup (hd0) 2010-03-03 22:17 DEBUG : Checking if "/boot/grub/stage1" exists... no 2010-03-03 22:17 DEBUG : Checking if "/grub/stage1" exists... no 2010-03-03 22:17 DEBUG : 2010-03-03 22:17 DEBUG : Error 15: File not found 2010-03-03 22:17 DEBUG : grub> EOT 2010-03-03 22:17 DEBUG : ['umount', '/tmp/vmbuildercrLky2/root/tmp/vmbuilder-grub/leo01-pimension--disk'] Not sure if hd0 => /dev/sda is a valid idea... Will try to manually install grub now... ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- vm build using --raw and LVM logical volume doesn't boot because of Grub install error https://bugs.launchpad.net/bugs/531646 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs