virt-install : ubuntu 16.04 image will not boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
In Progress
|
Medium
|
Frank Kloeker |
Bug Description
Hello there,
Im a newbie in virsh and i want to report a problem. I need, for a part of my BScthesis to deploy a vm so i can create a custom image to upload it to openstack later.I follow the basic steps to create a vm with virt-install from CLI(https:/
- qemu-img create -f qcow2 /var/lib/
- virt-install --virt-type kvm --name imagevm --ram 2048 --vcpus 2 --disk /var/lib/
- after this, i did the complete installation of the ubuntu 16.04 ( + OpenSSH Server) without any problem
- but after the detach of the boot disk commands :
-virsh start imagevm --paused
-virsh attach-disk --type cdrom --mode readonly imagevm "" hda
-virsh resume imagevm
- the VNCviewer was stuck in the boot screen (screenshot uploaded)
Extras: I tried many ways and changes to the virt-install command + different isos of 16.04 version but i had the same problem. The only time that it works, was with the trusty 14.04 version.
Thank for your time ,
Anastasios
tags: | added: image-guide |
Changed in openstack-manuals: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in openstack-manuals: | |
status: | Triaged → In Progress |
this page is completly outdated and needs a refresh: https:/ /docs.openstack .org/image- guide/ubuntu- image.html