7Alternative
3.Create a virtual hard disk for the VM (in this case, 10GB in size) and register it with VirtualBox:
VBoxManage createhd | filename "WinXP.vdi" | remember |
4. Set this newly created VDI file as the first virtual hard disk of the new VM:
VBoxManage modifyvm "Windows XP"
5.Register the ISO file that contains the operating system installation that you want to install later:
VBoxManage openmedium dvd /full/path/to/iso.iso
6. Attach this ISO to the virtual machine, so it can boot from it:
VBoxManage modifyvm "Windows XP"
(Alternatively, you can use VBoxManage controlvm dvdattach directly, without having to register the image first; see chapter 8.9, VBoxManage con- trolvm, page 115 for details.)
7. Start the virtual machine using VBoxHeadless:
VBoxHeadless
If everything worked, you should see a copyright notice. If, instead, you are returned to the command line, then something went wrong.
8.On the client machine, fire up the RDP viewer and try to connect to the server. Assuming a Linux client, try the following:
rdesktop
(With rdesktop, the
You should now be seeing the installation routine of your guest operating system.
96