So I recently switched my main tower PC from Debian GNU/Linux to Ubuntu. As part of this move, I decided to move my Windows XP virtual machine (required for work software) from VMWare Player to a VirtualBox instance. I've experimented with a lot of virtualization software, including the above two, Microsoft's Virtual PC, and QEMU, and come to like VirtualBox best, and it's already packaged for Ubuntu 9.
VirtualBox can read VMWare-style virtual hard disks (vmdk files), so the move should have been transparent. Well ... not quite.
It turns out that while VMWare can handle virtual AGP hardware, VirtualBox can't. So when I started the XP session in VirtualBox, it froze. Starting it again in Safe Mode still froze, but told me that the problem was a file called gagp30kx.sys. Google told me that this was a known problem with the current VB, and all I had to do was rename the file to fix the problem.
Except I couldn't boot Windows, so I couldn't rename the file that way. There is a script to mount vmdk files in Linux, but it's only available as part of VMWare Server. I didn't want to spend the time and create a new account at VMWare's web site to install the Server just to run one script, once, then delete it again.
So I had a brainstorm: I downloaded DamnSmallLinux and mounted the ISO file as the virtual machine's CD drive. The VM booted Linux successfully. I mounted the virtual hard disk, located the file, and ... couldn't rename it. It turns out that DSL will only mount NTFS partitions read only.
Brainstorm 2: the Ubuntu install CD is also a LiveCD. I put the CD in my physical CD drive, told VirtualBox to attach that to the virtual session, and rebooted. Now the VM booted into Ubuntu Linux, which can modify a Windows drive. Renamed the file, rebooted, and there's Windows in VirtualBox. Mission accomplished!
Almost. Turns out I had no network access.
Well, duh, I thought to myself. All the virtualizers have helper apps that you install in the virtual PC to handle networking, mouse control, etc. VMWare calls them "VMWare Tools" and VirtualBox "Guest Additions". Obviously I had to uninstall the VMWare Tools and install the VirtualBox Guest Additions.
You can't. The VMWare Tools won't uninstall unless you run the VM within VMWare. Yes, you can't remove the VMWare tools without using VMWare itself. Frustrating.
Even worse, the VMWare virtual AMD network driver can't be uninstalled, which means the default network driver for VirtualBox won't install. You can set VirtualBox to use the Intel PRO/1000 series virtual network card, but the driver for that isn't installed by default in Windows XP. And of course, I had no way to get it into the Windows session, because shared drives depend on networking ...
I could have rebooted into Ubuntu using the same trick as above and downloaded the driver that way, but to save time I downloaded the driver in my "real" OS, then used genisoimage to make a tiny CD image of it and mount that on the VM. Once the driver was installed, networking worked flawlessly.
So not a transparent change, but not incredibly difficult. Given the bizarre "use our software to remove our software" policy of VMWare, I'm not likely to switch back from VirtualBox any time soon.
29 April 2009
18 April 2009
Stay out of British Columbia
The Canadian province of British Columbia has just given naturopaths the legal right to prescribe drugs. Let's be clear: naturopath" means someone who is not a doctor and does not practice medicine. Naturopaths recommend nonsense like boosting your immune system and acupuncture and "straight" chiropractic.
So, especially if you are ill or have kids, stay out of British Columbia. If you're sick or injured, or someone you love is, you do NOT want to be treated by a crackpot herbalist/manipulator/superstition-monger.
So, especially if you are ill or have kids, stay out of British Columbia. If you're sick or injured, or someone you love is, you do NOT want to be treated by a crackpot herbalist/manipulator/superstition-monger.
02 April 2009
Maybe not EVERY Picture, but I hope this one
I created this image for work:
I like to think it tells a short story.
I'll be at I-CON 28 all weekend. If you'd like to say "Hi" stop by the Marriott hotel.
I like to think it tells a short story.I'll be at I-CON 28 all weekend. If you'd like to say "Hi" stop by the Marriott hotel.
Subscribe to:
Posts (Atom)
Blog Archive
- March (1)
- January (2)
- December (3)
- November (2)
- October (2)
- September (3)
- June (1)
- April (3)
- January (1)
- December (2)
- November (1)
- October (1)
- September (3)
- August (1)
- June (4)
- May (4)
- April (8)
- March (2)
- February (3)
- January (4)
- December (1)
- November (3)
- October (1)
- September (2)
- August (1)
- July (1)
- June (3)
- May (1)
- April (3)
- March (1)
- January (3)
- December (1)
- November (1)
- October (2)
- September (1)
- August (1)
- July (1)
- June (2)
- April (1)
- January (4)
- December (1)
- November (4)
- October (2)
- September (3)