virtualbox-physical-ms-terminal-server-to-virtual
this method uses the network but virtualbox virtual machines can access usb drives (although it seems to be a bit tricky to get working) The key to managing your headless VM is using a remote desktop compatible client to see the "console" of your machine...
- install acronis server with uni restore on terminal server
-
backup whole disk (e.g. c:) using acronis server w/ uni restore, store the file somewhere on the network
-
create bart pe image with mustang uni restore plugin
-
install virtualbox 2.2.2 on HOST a. nano /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian hardy non-free sudo wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -sudo apt-get install linux-headers-$(uname -r) build-essential virtualbox-2.2 if you skip the "build-essential" step then your kernel module compilation will fail...
apt-get update apt-cache search virtualbox apt-cache showpkg virtualbox-2.2 apt-get install -f virtualbox-2.2 apt-get install -f //installs all the needed dependencies?
sudo adduser [your username] vboxusers
-
create a blank virtual hard disk large enough (e.g. 10GB)
-
create new virtual machine (e.g. vb-ts) with NAT or Bridged a. vboxmanage modifyvm vm-ts -nictype1 82540EM //Gigabit! b. setup a the RDP port so you can access via host redirection 192.168.1.51:33899
VBoxManage modifyvm vm-ts -vrdp on -vrdpport 33899
-
boot the VM with bartpe ISO (I find sudo renice -10 pid# to help) a. Test using command prompt that you can ping outside (e.g. ping google.com) b. use Diskpart - list disk -> ENSURE THERE ARE NO PARTITIONS! -IF ACRONIS UNI RESTORE TRIES TO REMOVE PARTITIONS IT HANGS!
-
use Acronis uni restore to restore to the virtual hard disk
- change VM settings to internal network (so we can used cached password settings) VBoxManage modifyvm vmname -nic1 intnet -intnet workgroup VBoxManage modifyvm vmname -dvd none jobs
-
boot VM (everything ok, no blue screen!) and change cpu name to prevent conflicts with the existing - probably requires demote to workgroup ENSURE you have a local machine user & password! (preferably admin rights!) shut off renamed VM-machine
-
Change VM settings to add a second Bridged Adapter for a static ip VBoxManage modifyvm vmname -nic1 bridged -bridgeadapter1 eth1 VBoxManage modifyvm vmname -nic2 bridged -bridgeadapter2 eth1
-
boot VM and rejoin domain (with new name) a. set ip address to static b. test whether clients can connect
You can also redirect other ports into TS or use your router... Maybe even make multiple VM-TS on different (or the same?) machines?