Page 1 of 1

error: Invalid boot device 'DVD'

Posted: 29. Jun 2010, 02:41
by $roman
I thought I did this before and it worked, but now it doesn't. I'm stumped. I think it might have been before I had a floppy drive enabled. So... I used the following command:
& "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyvm WS2003R2-DC1 --boot1 "DVD"
and got the error
error: Invalid boot device 'DVD'

showvminfo shows:
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
IDE Controller (1, 0): C:\blablabla path to iso file (UUID: blablalba)

I need the command to issue while creating my virtual machine with vboxmanage to make it boot from CD/DVD with a virtual floppy in the virtual drive.

My host machine is Windows 7.
Can someone tell me how this is supposed to work if that isn't it? Thanks in advance.

Re: error: Invalid boot device 'DVD'

Posted: 29. Jun 2010, 02:48
by Perryg
Try this

Code: Select all

C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm WS2003R2-DC1 --boot1 dvd
All commands are in section 8.2. Commands overview in your VirtualBox users manual
VirtualBox online users manual

Re: error: Invalid boot device 'DVD'

Posted: 29. Jun 2010, 03:23
by $roman
Perryg wrote:Try this

Code: Select all

C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm WS2003R2-DC1 --boot1 dvd
All commands are in section 8.2. Commands overview in your VirtualBox users manual
VirtualBox online users manual
Ah yes. Thank you. It was the old case sensitive thing that threw me off. I keep forgetting that stuff like that is case sensitive with VBoxManage or oops, should that be vboxmanage.

Re: error: Invalid boot device 'DVD'

Posted: 29. Jun 2010, 03:34
by Perryg
The executable part in Windows is not case sensitive, but better to keep it the same way in case you want to use both Windows and *NIX
So it would be VBoxManage
If you use the command line a lot you may want to add the directory that has the VirtualBox files to the Windows environmental varible.
That way you can just type VBoxManage from anywhere and it will work.