new VM can't boot from host cdrom

mgabriel

Renowned Member
Jul 28, 2011
143
28
93
Saarbrücken, Germany
www.inett.de
Hi,

I discovered a problem on at least three separate servers: I cannot access the physical cdrom in the hardware node from a VM. This applies to new VMs where I try to install a VM from a disc directly and it applies to data discs, that I want to insert into an existing VM.

The cdrom is visible, but cannot be accessed from the VM. The same disc is accessible from any other computer when inserted into the cdrom drive.

cdrom_fails.png

Any hints?

Best regards,
Marco
 
Last edited:
Can you access this from the Proxmox host?

As a workaround, rip the CD-ROM to an ISO and point the guest to it.
 
yes, I can access it from the host.

Code:
root@proxmox02:~# ls -la /dev/cdrom
cdrom   cdrom1  cdrom2  cdrom3  cdrom4

root@proxmox02:~# ls -la /dev/cdrom
lrwxrwxrwx 1 root root 3 Nov 26 08:33 /dev/cdrom -> sr1

root@proxmox02:~# mount /dev/cdrom /mnt/cdrom/
mount: /dev/sr1: unknown device

root@proxmox02:~# mount /dev/sr0 /mnt/cdrom/
mount: block device /dev/sr0 is write-protected, mounting read-only

root@proxmox02:~# ls -la /mnt/cdrom/
total 1164
dr-xr-xr-x  7 4294967295 4294967295    548 Jul 14  2009 .
drwxr-xr-x  6 root       root         4096 Nov 27 14:36 ..
-r-xr-xr-x  1 4294967295 4294967295    122 Jul 14  2009 autorun.inf
dr-xr-xr-x  4 4294967295 4294967295    568 Jul 14  2009 boot
-r-xr-xr-x  1 4294967295 4294967295 383562 Jul 14  2009 bootmgr
-r-xr-xr-x  1 4294967295 4294967295 667712 Jul 14  2009 bootmgr.efi
dr-xr-xr-x  3 4294967295 4294967295    100 Jul 14  2009 efi
-r-xr-xr-x  1 4294967295 4294967295 106760 Jul 14  2009 setup.exe
dr-xr-xr-x 10 4294967295 4294967295  10944 Jul 14  2009 sources
dr-xr-xr-x  5 4294967295 4294967295    200 Jul 14  2009 support
dr-xr-xr-x  3 4294967295 4294967295     92 Jul 14  2009 upgrade


The server has only one cdrom, and this is accessible on /dev/sr0, while /dev/cdrom links to /dev/sr1. Is this a Bug?

Best regards,
Marco
 
The server has only one cdrom, and this is accessible on /dev/sr0, while /dev/cdrom links to /dev/sr1. Is this a Bug?

I've now run into this as well. I saw the fact that there were cdrom, cdrom1, cdrom2 in /dev, so I tried mounting each until I found that cdrom2 was what I wanted. Is there a configuration setting in proxmox I need to set to Proxmox knows to use cdrom2 instead of cdrom?

Thanks for any help!
 

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!