Comment 6 for bug 279754

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 279754] Re: Intrepid fails to install onto virtio block device

On Tue, Oct 07, 2008 at 10:12:41PM -0000, Dustin Kirkland wrote:
> On Tue, Oct 7, 2008 at 4:15 PM, Blinkiz <email address hidden> wrote:
> > Using a simple image file as block device and the installation will also
> > fail. No need for LVM to reproduce this. I used the default "raw" as
> > file format for the image file.
>
> Can you give me step-by-step instructions?
>
> I'm starting with:
> $ qemu-img create -f qcow2 foo.img 2G
>
> Then kvm ..... something.
> $ kvm -m 256 -hda foo.img

Try:

 kvm -m 256 -drive file=foo.img,if=virtio

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com