Posted: . At: 11:53 AM. This was 6 months ago. Post ID: 17692. Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

How to attach an ISO image to a Virt manager virtual machine.

Attaching an ISO to a Virtual Machine as a CDROM drive can be tricky, but I have managed to get this working on Ubuntu. The command below will attach the ~/Downloads/virtio-win-0.1.185.iso file to the Virt Manager Virtual Machine named “winxp”.

└──╼  ╼ $ virsh attach-disk winxp --source ~/Downloads/virtio-win-0.1.185.iso --type cdrom hdb --mode readonly
Disk attached successfully

This works very well to attach the ISO as a virtual CD drive.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.