Hi.

I can confirm that is working fine in this way.

Thank you


Da: "Nathaniel Roach" <nroach44@nroach44.id.au>
A: "edp" <edp@maddalena.it>, users@ovirt.org
Inviato: Venerdì, 16 luglio 2021 16:21:07
Oggetto: Re: [ovirt-users] boot from cdrom & error code 0005

On 16/7/21 5:59 pm, edp@maddalena.it wrote:
> Hi.
>
> I have created a new storage domain (data domain, storage type nfs) to use it to upload iso images.
>
> I have so uploaded a new iso and then attach the iso to a new vm.
>
> But when I try to boot the vm I obtain this error:
>
> booting from dvd/cd...
> boot failed: could not read from cdrom (code 0005)
> no bootable device
>
> The iso file has been uploaded with success in the data storage domain and so the vm lets my attach the iso to the vm in the boot settings.
>
> Can you help me?

I've been meaning to report this myself.


Find the location of the ISO image in the storage domain (search for the
UUID in the file system) and re-copy the ISO over the top of the file.
Just be 100% sure it's the ISO and not a VM disk (reference modification
time, size etc). Once you replace the "uploaded" file with the ISO
directly, everything works as expected.


The cause I've found is that when uploading through the UI, the *ISO
gets converted to a qcow2 image*, but *gets attached to the VM as an
ISO*. You can confirm this by using qemu-img info <ISO disk path in
filesystem>

> Thank you
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement:  https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.ovirt.org%2Fprivacy-policy.html&e=eb736440&h=4fae6e88&f=y&p=n
> oVirt Code of Conduct:  https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&e=eb736440&h=e334e516&f=y&p=n
> List Archives:  https://urlsand.esvalabs.com/?u=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FGBCBZ2EP7HSNWGR5OJXBSGWGYANO3X2D%2F&e=eb736440&h=bcfb6338&f=y&p=n
--

*Nathaniel Roach*


--
Questo messaggio e' stato analizzato ed e' risultato non infetto.
This message was scanned and is believed to be clean.