VM failed to initiate installation from ISO Image

sexpixel

New Member
Feb 15, 2025
6
1
3
Hi
After configuring the setup for the VM, and clicking finish, the ISO failed to begin installation.

How can I begin installation of the ISO to the VM?

If this has already been answered, just paste a link, and apologise and thanks in advance.
 
Could you provide just a bit more detail, like what type of ISO, Linux, Windoze, ?? and maybe provide the output to
Code:
qm config <vm_id>
of the VM you are working with, so we can help you.

- Make sure the VM machine type matches the requirements for the guest OS.
- Check the boot order, make sure it is set to boot from the cd/iso
 
Could you provide just a bit more detail, like what type of ISO, Linux, Windoze, ?? and maybe provide the output to
Code:
qm config <vm_id>
of the VM you are working with, so we can help you.

- Make sure the VM machine type matches the requirements for the guest OS.
- Check the boot order, make sure it is set to boot from the cd/iso

Thanks for yor reply.
I'll try to be as co-operative as I can, but this is all very new to me.
Here are my config setup below.



1739633071039.png

I launched a shelll to execute the command you pasted
qm config <vm_id>

That didn't execute as expeced.
1739633286535.png
 
Looks like your boot order is set to boot from the scsi, change that to ide2,scsi0 so it will boot from the CD. You can do this from the GUI in the VM config, under options. I don't have any VM's in the provisioning stage to share for comparison, but just make sure it is booting off the cd -> ide2 in your case.

Also an odd amount of memory, but assuming your hosts had that available it should boot.

Once the VM is fully provisioned, change it back to boot from scsi0 so it will boot off the OS drive. FYI
 
Last edited:
For comparison, here is a generic Rocky 9.x instance that boots/runs fine:


Code:
root@pve2:~# qm config 107
agent: enabled=1,fstrim_cloned_disks=1
boot: order=scsi0
cicustom: vendor=local:snippets/vendor-data.yaml
cipassword: **********
ciuser: someuser
cores: 2
cpu: x86-64-v2
description: # Rocky Linux 9.5%0A%0A- PXE Server (TFTP, HTTPD)
ipconfig0: ip=192.168.0.91/24,gw=192.168.0.1
memory: 2048
meta: creation-qemu=9.0.2,ctime=1735050538
name: pxe-server
net0: virtio=BC:24:19:5F:EE:A7,bridge=vmbr1,tag=99
numa: 0
scsi0: pve-nas:107/vm-107-disk-0.qcow2,size=30G
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=23a4dfc7-898e-4e51-a015-0959f0d53e0c
sockets: 2
sshkeys: ssh-ed25519%xxxxxxxxx XX-ed25519-ansible%0A
vmgenid: fb8d35dd-3f2b-46d1-aa4e-9106d1a1c9ba
 
I reconfigured most of what you said:
- changed boot order
- changed proc type from v2 to v3
-
1739635572720.png

1739635632826.png
 
Last edited:
Any luck?

Couple things to confirm I can think of off my head,

- Is the Rocky ISO tested to work?
- Does your pve host have enough ram to accommodate your memory size?
- Have you tried spinning up smaller VM's with known good ISO to sort of 'dry-run' the process?

I know stupid questions, but we are all noobies here.

FWIW: I must have tested over 200 VM instances, doing what you are, just testing VM's, networking, different storage, etc, before I really felt confident enough to even consider moving prod VM instances over. So take your time is my point lol Keep us posted.
 
Last edited:
  • Like
Reactions: sexpixel
I’m super new to all of this Less than 24 hrs exposure so far.

The FB forum are calling me stupid for thinking the ISO install will begin all by itself. So the question therefore is,
‘How do I start the install process for the ISO via the console’?
 
  • Like
Reactions: dj423
‘How do I start the install process for the ISO via the console’?
No worries. Kind of a more advanced platform to learn on, so take your time. Since you have the boot order to boot off the cd, just starting the VM from the console should boot into the setup process. So nothing fancy, just boot it up with the start button. If it doesn't boot, I would check the ISO, or download a new one, and try on a new VM, with similar settings.
 
Looks like you have some issues with the pve install itself, notice that vncproxy is not running, hence the connection error. I would suggest to retrace your steps with the install, and make sure pve is running/stable at least. Maybe reboot it, and start the process over. If you see errors in the log like that, you will need to sort those out.
 
Last edited:
Hi,
you can double click on a failed VM 101 - Start task to get the task log that should contain the error. Otherwise please check the system logs/journal.

Looks like you have some issues with the pve install itself, notice that vncproxy is not running, hence the connection error.
That error can happen if the VM fails to start too. There wouldn't be a failed VM start task if it was an issue with the VNC proxy failing.
 
  • Like
Reactions: dj423