Page 1 of 1

How to Insert new CD while vm is running

Posted: 13. May 2011, 11:56
by xiheasas
Hi all,

I have built a virutalbox with only command line. Then I try to install FEDORA in the VBOX vm. After installing packages from DISK #1, I was informed to insert a new CD DISK. I used VBoxManger to change the CDROM content, but it did work.

Code: Select all

VBoxHeadless --startvm linux_test &
VBoxManger storageattach linux_test --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /disk2.iso
(the console hangs with no output)
Do you have any suggestions? Thank you in advance.

Re: How to Insert new CD while vm is running

Posted: 13. May 2011, 18:55
by Sasquatch
If it's an ISO, then you have to 'unmount' the loaded ISO first. So first run this, then your command:

Code: Select all

VBoxManage storageattach linux_test --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium none