VirtualBox 3.1 – Install Windows XP Guest on Ubuntu 9.04 Host
VirtualBox 3.1 significantly changed the way that harddisks, dvd/cd drives and floppies are mounted. The following steps are to install Windows XP as a guest on an Ubuntu 9.04 host with a IntelAhci SATA controller.
Make sure you download the Windows XP Intel SATA Drivers and unzip to extract “F32.IMA”.
[ Read more » ]
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 » ]
FTP 7.5 using virtual host names in IIS7
With regards to creating an FTP publishing site in IIS7, I was initially confused by the term “virtual host names”. My intuitive but incorrect assumption was that the FTP server would be able to look at the host name used to contact the server, and redirect the authorized user accordingly.
The Virtual Host Name is not at all similar to the website’s Host Header Name. Instead of acting on the FTP host, it acts on the FTP user. [ Read more » ]
How to install ASP.NET v1.1 with IIS7 on Windows 2008 x64
We are migrating from Windows 2003 running IIS6 to Windows 2008 running IIS7. Unfortunately, we have a lot of websites running on the .NET 1.1 framework. The following article has great step-by-step instructions for getting 1.1 running on IIS7:
What has been extremely frustrating is the fact that I could not create an application pool and assign it (via the IIS7 manager) to run the 1.1 framework. There was no v1.1 option in the drop-down menu. [ Read more » ]
Migrate DNS from Windows 2003 to Windows 2008
I needed to move 50+ domains from a Windows 2003 DNS server to a newly requisitioned Windows 2008 Server. The following are instructions for moving all the domains at once.
Note: these steps would also work for migrating domains from 2003 to 2003 or 2008 to 2008. [ Read more » ]