User Tools

Site Tools


os:windows:virtualbox:start

This is an old revision of the document!


Virtualbox

Raw disk access to partition

# @Elevated command prompt
.\VBoxManage internalcommands listpartitions -rawdisk "\\.\PhysicalDrive0"
.\VBoxManage internalcommands createrawvmdk -filename D:\Virtualbox\raw_disk.vmdk -rawdisk "\\.\PhysicalDrive0" -partitions 7

VirtualKD

.\VBoxManage.exe setextradata "win7_x64_2" VBoxInternal/Devices/VirtualKD/0/Config/Path "D:\Titannet\Projekte\Windows\Kernel\Software\VirtualKD-3.0\kdclient64.dll"

Paravirtualized debugging

 .\vboxmanage showvminfo "VM name" | select-string paravirt
kdvm.dll

VBoxManage modifyvm "VM name" --paravirtdebug "enabled=1"


VBoxManage modifyvm "VM name" --paravirtdebug "enabled=1,address=10.22.6.40,port=50001"

netsh int ip set address "local area connection" static 10.22.6.41 255.255.255.0

bcdedit /set loadoptions host_ip=5.5.5.5,host_port=50000,encryption_key=5.6.7.8
bcdedit /set dbgtransport kdvm.dll

bcdedit /set debug on
# bcdedit /set bootdebug on ##win8+
# bcdedit /set {bootmgr} bootdebug on
os/windows/virtualbox/start.1551436589.txt.gz · Last modified: 2019/03/01 11:36 by ebaer

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki