VirtualBox BSOD p3.sys
After converting a physical machine to .vmdk via VMWare Converter, I got a BSOD indicating that there was a problem with p3.sys when trying to boot. The Windows XP system was running on a PII 600mHz Dell Optiplex from the year 2000.
To fix, boot in Safe Mode and run the following at a command prompt:
sc config p3 start= disabled
Install Windows XP Guest on Ubuntu 9.04 Host
Create a Windows XP VirtualBox guest from scratch using a SATA harddrive.
- Download the Windows XP Intel SATA Drivers and unzip to extract F32.IMA
- Hit F6 during setup to select the Intel(R) 82801HEM/HBM SATA AHCI Controller (Mobile ICH8M-E/M)
sudo -i
VBoxManage createhd --filename /srv/virtualbox/harddisks/CHANGEME.vdi --size 20480 \
--variant Standard
VBoxManage createvm --name CHANGEME --ostype "WindowsXP" --register \
--basefolder /srv/virtualbox/machines
VBoxManage modifyvm CHANGEME --memory 1024 \
--boot1 dvd --boot2 disk --boot3 none --boot4 none \
--sata on --sataportcount 1 \
--sataport1 /srv/virtualbox/harddisks/CHANGEME.vdi \
--dvd /srv/virtualbox/iso/WindowsXP_sp3.iso \
--floppy /srv/virtualbox/floppy/F32.IMA \
--nic1 bridged --bridgeadapter1 eth0Limiting network file transfer throughput with rsync
To transfer a large amount of data (200GB) across a 100mbps network without saturating the connection, I used rsync with the –bwlimit=KBps flag.
Transferring from Windows to Ubuntu 9.04, I first mounted the windows share:
sudo mkdir /mnt/winshare sudo mount -t smbfs -o username=user,password=pass //winserver/share /mnt/winshare
Next, run rsync with a specified bwlimit. Optionally, unmount the share
sudo rsync -vrR --delete --delete-excluded --bwlimit=6144 /mnt/winshare/* /destination/ sudo umount /mnt/winshare
Ubuntu 9.04 Server Install with Software RAID1 and LVM
For the sake of reliability and flexability, I wanted to install Ubuntu 9.04 Server on a Dell PowerEdge using Software RAID1 (reliability) and LVM (flexability). Software RAID1 was also considerably cheaper (except for the time it took to figure this out) than adding in the $200 Dell SATA RAID contoller. [ Read more » ]
Windows XP Change HTTPS Port Binding
On Windows XP, to change the HTTPS secure port binding (e.g. to port 444 instead of 443), run the following adsutil script at the command prompt:
C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/1/securebindings ":444:"
Return:
Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved. securebindings : (LIST) ":444:"
IIS7 ErrorMode DetailedLocalOnly
IIS7 injects a generic error page for all non-Asp.NET errors (e.g. asp, php, etc.). [ Read more » ]