headless Windows-7 installation (not only running)?
Posted: 29. Sep 2010, 15:00
hi all,
I searched long time the web, found multiple messages about the possibility to run a Windows guest inside Virtualbox in headless mode (which seams no problem) but I am not at that stage yet :
I try to have a A-Z procedure to create a VBox VM for Windows-7 guest O/S. These are the commands I run so far :
VBoxManage createvm -name "Win7guest" -register -ostype "Windows7"
VBoxManage modifyvm "Win7guest" --memory "512" --acpi on --boot1 dvd --vrdpport 3389
VBoxManage modifyvm "Win7guest" --cableconnected1 on --nic1 bridged --nictype1 82543GC --bridgeadapter1 bge0
VBoxManage createhd --filename /virtualbox/Win7guest.vdi --size 10000 --format VDI --variant Standard --remember
VBoxManage storagectl Win7guest --name "IDE Controller" --add ide
VBoxManage storageattach Win7guest --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium /virtualbox/Win7guest.vdi
VBoxManage openmedium dvd /tmp/Windows7ProfX86-32bit.iso
VBoxManage storageattach Win7guest --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /tmp/Windows7ProfX86-32bit.iso
So far so good, the resulting VM is as follows :
Name: Win7guest
Guest OS: Windows 7
UUID: 2c3b0245-9e9c-4d20-b17c-b4c4d6f16ad2
Config file: /.VirtualBox/Machines/Win7guest/Win7guest.xml
Hardware UUID: 2c3b0245-9e9c-4d20-b17c-b4c4d6f16ad2
Memory size: 512MB
Page Fusion: off
VRAM size: 8MB
HPET: off
Number of CPUs: 1
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: on
Time offset: 0 ms
RTC: local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
State: powered off (since 2010-09-27T23:28:35.000000000)
Monitor count: 1
3D Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0): IDE Controller
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
IDE Controller (0, 0): /virtualbox/Win7guest.vdi (UUID: 2143faff-55e4-49ad-a38b-5e23da642b9e)
IDE Controller (0, 1): /tmp/Windows7ProfX86-32bit.iso (UUID: e1263dba-37a6-4d01-9a25-50d8e5b20f56)
NIC 1: MAC: 080027B62BBA, Attachment: Bridged Interface 'bge0', Cable connected: on, Trace: off (file: none), Type: 82543GC, Reported speed: 0 Mbps, Boot priority: 0
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
VRDP: disabled
USB: disabled
USB Device Filters:
<none>
Shared folders: <none>
Guest:
Configured memory balloon size: 0 MB
=> The weird thing spotted is the line
VRDP: disabled
My questions:
a) I now was hoping to get Windows-7 installed in a CLI/script based way, similar to Solaris 'Jumpstart' or Linux 'kickstart'. Is this possible ?
b) when I startup the (not yet installed) VM with
# VBoxHeadless -startvm "$vmname"
then it says that it is now started and listening for RDP on port 3389
I can open a Remote desktop session from my laptop to the server on that port 3389, but see a black screen (where I would have expected some kind of Windows or BIOS startup messages).
-> ???
thx all in advance for any feedbacks
Rob
I searched long time the web, found multiple messages about the possibility to run a Windows guest inside Virtualbox in headless mode (which seams no problem) but I am not at that stage yet :
I try to have a A-Z procedure to create a VBox VM for Windows-7 guest O/S. These are the commands I run so far :
VBoxManage createvm -name "Win7guest" -register -ostype "Windows7"
VBoxManage modifyvm "Win7guest" --memory "512" --acpi on --boot1 dvd --vrdpport 3389
VBoxManage modifyvm "Win7guest" --cableconnected1 on --nic1 bridged --nictype1 82543GC --bridgeadapter1 bge0
VBoxManage createhd --filename /virtualbox/Win7guest.vdi --size 10000 --format VDI --variant Standard --remember
VBoxManage storagectl Win7guest --name "IDE Controller" --add ide
VBoxManage storageattach Win7guest --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium /virtualbox/Win7guest.vdi
VBoxManage openmedium dvd /tmp/Windows7ProfX86-32bit.iso
VBoxManage storageattach Win7guest --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /tmp/Windows7ProfX86-32bit.iso
So far so good, the resulting VM is as follows :
Name: Win7guest
Guest OS: Windows 7
UUID: 2c3b0245-9e9c-4d20-b17c-b4c4d6f16ad2
Config file: /.VirtualBox/Machines/Win7guest/Win7guest.xml
Hardware UUID: 2c3b0245-9e9c-4d20-b17c-b4c4d6f16ad2
Memory size: 512MB
Page Fusion: off
VRAM size: 8MB
HPET: off
Number of CPUs: 1
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: on
Time offset: 0 ms
RTC: local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
State: powered off (since 2010-09-27T23:28:35.000000000)
Monitor count: 1
3D Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0): IDE Controller
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
IDE Controller (0, 0): /virtualbox/Win7guest.vdi (UUID: 2143faff-55e4-49ad-a38b-5e23da642b9e)
IDE Controller (0, 1): /tmp/Windows7ProfX86-32bit.iso (UUID: e1263dba-37a6-4d01-9a25-50d8e5b20f56)
NIC 1: MAC: 080027B62BBA, Attachment: Bridged Interface 'bge0', Cable connected: on, Trace: off (file: none), Type: 82543GC, Reported speed: 0 Mbps, Boot priority: 0
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
VRDP: disabled
USB: disabled
USB Device Filters:
<none>
Shared folders: <none>
Guest:
Configured memory balloon size: 0 MB
=> The weird thing spotted is the line
VRDP: disabled
My questions:
a) I now was hoping to get Windows-7 installed in a CLI/script based way, similar to Solaris 'Jumpstart' or Linux 'kickstart'. Is this possible ?
b) when I startup the (not yet installed) VM with
# VBoxHeadless -startvm "$vmname"
then it says that it is now started and listening for RDP on port 3389
I can open a Remote desktop session from my laptop to the server on that port 3389, but see a black screen (where I would have expected some kind of Windows or BIOS startup messages).
-> ???
thx all in advance for any feedbacks
Rob