[SOLVED] 8.4: "Fake" IDE drives from ISO images no longer supported?

itsthejb

New Member
Jul 26, 2024
23
5
3
Hi everyone,

I've seen a couple of posts around regarding this after the 8.4 upgrade this week and thought it was worth making a separate post to draw better attention:

Previously there was a hack-around out in the wild which was (at least) being used to boot up macOS install media; in this, ISO images were inserted as IDE media by replacing the usual media=cdrom parameter with cache=unsafe. As of 8.4 this is now no longer immediately possible; error ide0 explicit media parameter is required for iso images.

So my question is whether there is any other way to achieve this effect? Can the media parameter requirement be bypassed for certain VMs, etc?

Alternatively, I suppose another way is to create a real volume for each ISO and passes them as "normal" drives? This would be a lot less convenient, but workable.

Anyway, I hope those who are better experienced in the context will be able to help. Thanks in advance!
 
Last edited:
  • Like
Reactions: george
I'm brand new to proxmox and just ran into this myself, but it looks like it works with media=disk replacing media=cdrom (I kept cache=unsafe because I don't know what I'm doing).
 
My backup was failing due to this change as well. Since that VM is basically disposable I just removed it from the daily backups

EDIT: for those looking for a step-by-step fix, manually editing the .conf in /etc/pve/qemu-server to look like this fixed backup and boot:

ide0: local:iso/opencore-osx-proxmox-vm.iso,media=disk,cache=unsafe,size=80M
ide2: local:iso/recovery-sequoia.iso,media=disk,cache=unsafe,size=1450M
 
Last edited:
Hi! Thanks for your replies. media=disk seems to be the correct and simple solution, so I'll mark this as solved.

(I ended up doing this the complicated way of writing the install media to an LVM volume)
 
  • Like
Reactions: george
Hi,
why not just use media=cdrom? Won't the MacOS install boot then? If not, what if you attach the ISO/CD-ROM as SATA or SCSI, does it fail then too?
 
@fiona both good questions! I'm not on this topic right now, but I believe the answer to both of those questions is no. I'll try to remember to verify this exactly next time I'm on the topic, unless someone else can do sooner. It does seem unusual. Mostly guides online have had this as the solution but I don't understand the underlying reason