New Question

Issues building on Trusty and missing virtio drivers

asked 2014-08-05 04:16:04 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi there,

Thanks for sharing your scripts - very useful! I also like the wsman stuff.

I'm attempting to do this build on an Ubuntu Trusty host (actually nested on an Ubuntu Precise cloud ;-), but I've run into a couple of issues...

For one, when you create the qcow2 file, because Trusty is using Qemu 2.0 we end up with a compat=1.1 qcow2 file (default since 1.7), that won't work with, e.g., an Ubuntu Precise cloud (or probably any cloud out there are the moment as I doubt any are on Qemu > 1.5). Fix for that is to just add the following to the qemu-img create command: -o compat="0.10".

The other is that I seem to end up with an image that is missing the virtio drivers, despite attaching the ISO at boot. It looks like your specialize script is supposed to perform this install? But is it necessary to do the install in a guest environment that has virtio devices present (the example kvm command line does not).


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-08-06 17:24:53 +0300

I had the exact same problem with the virtio drivers. So after the initial installation I had to attach 1 virtio disk and 1 virtio nic and installed the driver manually from windows itself. The weirdest thing is that I only did that for 2012R2, with a 2008 image I didn't have this problem. The installation finished and windows installed the drivers during his first boot sequence.

This is weird...

Anyway I believe that we can automate everything with the Autounattend floopy and then use another floopy drive to store the driver files.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-08-05 04:16:04 +0300

Seen: 851 times

Last updated: Aug 06 '14