Installation under KVM fails at first boot, "No Bootable Device"



  • Hey guys,

    I'm using virt-install under ubuntu 14.04 LTS:

    sudo virt-install –name=bifrost-slave --arch=x86_64 --vcpus=2 --ram=2048 --connect qemu:///system --virt-type kvm --hvm --accelerate --vnc --noautoconsole --keymap=us --disk path=/var/lib/libvirt/images/bifrost-slave.qcow2,bus=virtio --network=bridge:wan0,model=virtio --network=bridge:wan1,model=virtio --network=bridge:lan0,model=virtio --network=bridge:sync0,model=virtio --boot cdrom --cdrom /var/lib/libvirt/iso/pfSense-LiveCD-2.2.2-RELEASE-amd64.iso --os-variant freebsd8

    The install proceeds magically. Once the machine is restarted, iPXE reports that no bootable device could be found. It's like the pfsense install isn't marked as the active boot partition. Is there a way to do that by hand? What's funny is if I "put the cdrom back in" the live CD will recognize the disk and ask me if I want to enter recovery mode.



  • So I figured out a hilarious workaround for this and I'll post it here so maybe I can help a brotha out…

    I downloaded VirtualBox on my Mac and installed pfsense to a qcow image and immediately powered it off. Then I copied the qcow image to my host, converted it to qcow2, then re-ran my virt install command. It boots now :)


Log in to reply