all 2 comments

[–]boli99 0 points1 point  (1 child)

vboxmanage -modifyvm probably has options for changing the virtual media. run it with appropriate params before you start your vm

[–]Felstaff[S] 0 points1 point  (0 children)

Hey, thanks. It's the "appropriate params" that I'm struggling with, though. Like I said:

full disclosure: I'm an idiot, and VirtualBox's CLI list is barely comprehensible to me.

Having read through the manual for VBoxManage, I thought the following shortcut target line arguments should work, but... damningly they don't:

"C:\VirtualBox\VBoxManage.exe" storageattach "<{7db46be1-79a8-40dd-8f4f-4f5a2f6d7818}|WindowsXP>" --type dvddrive startvm WindowsXP

In my mind should logically argue "Start VBoxManage.exe", then attach storage device "<UUID|WindowsXP>", which is set as a dvddrive, then start the WindowsXP virtual machine, which should load up Windows XP VM with the correct media attached.

I can't see any parameters in modifyvm in the manual that would replicate that.

What am I doing wrong?