How to install OS in KVM (qemu)

Spiritus

New Member
Apr 13, 2017
2
0
1
52
Hi guys,

I try to install an OS to one of my KVM (made with qm) but i don't know how should i do that.

I tryed to link the cdrom (ide2) of my first kvm with the iso but it didn't work :

qm set 100 -cdrom debian-8.7.1-amd64-netinst.iso

400 Parameter verification failed.
cdrom: invalid format - format error
cdrom.file: invalid format - unable to parse volume ID 'debian-8.7.1-amd64-netinst.iso'

My main idea was to bind the iso on the cdrom and then boot on the cdrom.

Do you have an idea ?

Thank you for your futur answer

Ps : I only use cli
 
I don't the think the problem is why i use CLI and not web interface, but i will answer, i like understand what i'm doing and i configure my server on a serial port without GUI.
 
Hi guys,

I try to install an OS to one of my KVM (made with qm) but i don't know how should i do that.

I tryed to link the cdrom (ide2) of my first kvm with the iso but it didn't work :

qm set 100 -cdrom debian-8.7.1-amd64-netinst.iso

400 Parameter verification failed.
cdrom: invalid format - format error
cdrom.file: invalid format - unable to parse volume ID 'debian-8.7.1-amd64-netinst.iso'

My main idea was to bind the iso on the cdrom and then boot on the cdrom.

Do you have an idea ?

Thank you for your futur answer

Ps : I only use cli
Hi,
you missed the storage and iso-part:
Code:
qm set 100 -cdrom local:iso/debian-8.7.1-amd64-netinst.iso
should work. (local is the storage-name, which is used in /etc/pve/storage.cfg).

Udo
 
sorry, Is
I don't the think the problem is why i use CLI and not web interface, but i will answer, i like understand what i'm doing and i configure my server on a serial port without GUI.
sorry, I should have said I did not know what the problem is but was just curious on why use CLI when a nice Web interface is there for you. if you want to use CLI than you can easily just run any Linux distro like Debian, ReadHat or CentOS
with KVM installed. without any overhead or extra service.
use of CLI does not truly say you know what you are doing. just show that you know the commands to use. IMHO.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!