karmic vmbuilder with separate boot partition doesn't boot

Bug #518742 reported by Stephan Rügamer
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
VMBuilder
Fix Released
Low
Unassigned

Bug Description

I'm trying to create a KVM VM with two disk images.

I'm using a cfg file which looks like this:

[DEFAULT]
arch = i386
part = /home/shermann/bin/vmbuilder-cfg/ubuntu-karmic.part
user = shermann

[ubuntu]
mirror = ftp://mirror.hetzner.de/ubuntu/packages
suite = karmic
flavour = server
addpkg = openssh-server, vim-nox

[kvm]
libvirt = qemu:///system

the ubuntu-karmic.part file looks like this:

root 5000
/boot 100
swap 1000
---
/var/log 2000
/home 1900

vmbuilder creates two diskimages, but doesn't boot properly.
Using only one simple disk image, where /boot is on the root fs it works.

Please see the attached screenshot

Related branches

Revision history for this message
Stephan Rügamer (sruegamer) wrote :
Soren Hansen (soren)
Changed in vmbuilder:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
David Kerrawn (david-kerrawn) wrote :

With vm-builder 0.11.3-0ubuntu1 change line 236 of
  /usr/share/pyshared/VMBuilder/plugins/ubuntu/distro.py
so that the grub line reads what you need it to read eg change (hd0,0) to (hd0,1) in this case.

Then recreate your VM.

Soren Hansen (soren)
Changed in vmbuilder:
status: Confirmed → Fix Committed
Soren Hansen (soren)
Changed in vmbuilder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.