Information Technology Reference
In-Depth Information
8.5.5 Configuring the Windows Guest Machine
Once the Container is running, the next step is to create the guest machine. Log in
to the Container as vboxuser and perform the guest configuration. This is nearly
identical to the process described in Chapter 5.
% VBoxManage createvm --name "Windows XP" --ostype WindowsXP_64 --register
Virtual machine 'Windows XP' is created and registered.
UUID: 57c72be5-a466-416b-aea1-03968f84b6a8
Settings file: '/export/home/vboxuser/.VirtualBox/Machines/Windows XP/Windows XP.xml'
% VBoxManage modifyvm "Windows XP" --memory 512 --vram 32 --accelerate3d on \
--audio oss
% VBoxManage storagectl "Windows XP" --name "SATA Controller" \
--add sata --controller AHCI
% VBoxManage createhd --filename "Windows XP.vdi" \
--size 10240 --format VDI --remember
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: 388311ed-b303-4405-8689-3dee5abc8f68
% VBoxManage storageattach "Windows XP" --storagectl \
"SATA Controller" --port 0 --device 0 --type hdd --medium \
"Windows XP.vdi"
% VBoxManage storagectl "Windows XP" --name "IDE Controller" \
--add ide --controller ICH6
% VBoxManage openmedium dvd /iso/windows/winxp_sp3_x86.iso
% VBoxManage storageattach "Windows XP" --storagectl "IDE Controller" --port 1
\--device 0 --type dvddrive --medium "/export/iso/windows/winxp_sp3_x86.iso"
% VBoxManage modifyvm "Windows XP" --boot1 dvd --boot2 disk
% VBoxHeadless --startvm "Windows XP"
At this point, the guest machine will be booting off the Windows XP installation
media. From a remote system, start rdesktop and connect to the Container to
finish the guest OS installation.
 
 
Search WWH ::




Custom Search