wubi installer’s pyrun.exe says “no disk”

Ever since Ubuntu 9.04 came out I have been trying to figure out how to do an install inside Windows. For this task I typically just use wubi, which has always worked wondefully in the past. Unfortunately, this time it did not go so smoothly.

Apparently, for 9.04 they decided to do a rewrite of wubi from the ground up. Normally these refactoring excercises result in a better program. Unfortunately there appears to be a rather nasty bug in this version. Whenever I tried to run the installed I would get “Windows – No Disk” error, with a really nasty message in the dialog. I tried everything short of reformating the machine to get it to work. But, today I finally found the answer.

It appears that the new wubi installer gets confused if you have a bunch of drives. Many people who had more than one cd-rom drive had to burn two copies and have the disk in both drives for it to work. In my case, it was the built in card reader that was the problem. After stopping it, and ejecting the drives I was finally able to get the installer going. Hurray.