Posted: 2 March 2023. At: 11:53 AM. This was 1 year 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”.

┌──[jason@11000000.10101000.00000001.00000010][~/Downloads]
└──╼  ╼ $ 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 Reply

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.