Fix INACCESSIBLE_BOOT_DEVICE with Boot Camp Windows Systems

Like any self-respecting computer geek, I like everything. I typically run-up Windows on my Macs by installing it via Boot Camp, and then booting it as a VM. This lets me run everything in parallel, but also go full native mode when needed.

Recently, I found I couldn’t boot my Windows natively any more, though it would still work fine in my VMware Fusion. When booting natively, my Windows install with BSOD on an INACCESSIBLE_BOOT_DEVICE exception. After a bit of googling, I found that this was likely related to storage drivers. I ultimately managed to fix my Windows environment (without a reinstall), here are the steps:

Read more “Fix INACCESSIBLE_BOOT_DEVICE with Boot Camp Windows Systems”

Trash Talker for Windows Launches

I’ve finally managed to get a version of Trash Talker published in to the Microsoft Store. This was based on the old STP code, but I made a number of improvements that make the app much better.

This app is a remake of a remake. The original app be the classic Shit Talker, by Jaundice. I enjoyed Shit Talker as a kid. I used to it call my friends and annoy them. (Given I’m a youngest sibling, it has been my classic duty to find creative ways of annoying others.) Trash Talker is a modernization of Shit Talker that tries to be a little cleaner, but stays quite true to the original. I have a few plans for things I’d like to add to this app, so check back every so often for updates.

Check out Trash Talker on the Microsoft Store.

Also – Trash Talker for macOS has been out for a while now too, so macOS users can grab it from the App Store.

World, meet STP 1.0 for Windows

STP For Windows

Well, after a craptacular number of requests via email and youtube, I’ve finally finished tossing together a Windows version to help out all my anonymous totally random friends.

I should point out, THIS WORKS on Windows 7 (and quite probably Windows Vista). But I should confess the lame situation with the Text-to-Speech engine in Windows is the lack of voice profile options. Apparently there’s a way to install voice packs. I’ve written STP for Windows to take advantage of such options on systems they exist on. But… If anyone actually finds a voice profile pack that ‘clicks’, be sure to let me know and I’ll see about hooking that in to the installer.

blah blah blah, making post text round out…

Also… Blah.

Now, with out further verbosity, go grab STP for Windows now!

The Anti-Epic Tale of Making IIS Play Nice with Apache

Matt Damon
"Genius"

The Mission

To run an Apache server (on Windows) on the same machine that was already hosting IIS.

The Strategy

The plan was to alter each virtual host defined in IIS to not bind to the typical HTTP/HTTPS ports (80 & 443), but instead have it use arbitrary ports (was to be 8080 & 4433). With that in place, I could then run Apache normally. In order to get traffic to hit the right sites as hosted by IIS, the apache server would have it’s own virtual host definitions for each IIS site. In those definitions, there would be a Reverse Proxy config to get Apache to pass the traffic internally over to the arbitrary ports.

False Sense of Security

Just to be on the safe side, I setup a Windows 2003 Server Virtual Machine to simulate the windows environment I was dealing with. I then installed Apache (via WAMP Server), configured IIS and tested. Everything worked according to plan. After some other minor testing I decided I was ready to make the actual switch.

It hit the fan

So, I RDPed in to the Windows Webserver and installed Apache, of course, at first there was a conflict in ports as the IIS service was already bound to 80/443 that Apache was after. I turned off IIS, let Apache take the ports and reconfigured IIS to use the arbitrary ports I had specified. When I tried to restart IIS it complained about it’s ports being used. I checked and re-checked the config to find that there was no reference to the old ports (now used by Apache). Nevertheless, IIS insisted on using those ports.

I then decided that since someone awhile ago had setup several IPs for the same one network interface on the machine, that I could just as easily get IIS to use one IP and Apache on the other. I’d just get my Apache Reverse Proxy to connect to the other IP rather than obsecure ports. To make that work, I’d have to edit the hosts file to make sure the machine resolved the hostnames to the IP I wanted. I didn’t like the increased complexity, but it didn’t matter…. I found that IIS was still complaining when I told it to only use one specific IP (that wasn’t touched by Apache). WTF.

After some digging, I found this very helpful article that relieved that Microsoft seems to have a cruel sense of humor when it comes to interfaces. It would seem that inspite of the GUI for IIS showing that the virtual hosts on the machine are configured to use whatever ports & IPs I had picked, the IIS service was still trying to grab ports 80/443 on ALL NICs on the machine when it started.

Me: Microsoft, why would you bother making a UI like that?
Imaginary Microsoft Response: We develop software that “works” as fast/cheap as possible. And if you try to USE it in some regard that we don’t get hounded to patch until it works, then you’re SOL. Not that we care, the harder it is for you to migrate away from our shit products, the longer you’ll pay us to use them.

The Resolution

The jist of that article is that in order to actually configure IIS to bind ONLY to a given list of IPs, you need to manually declare what those IPs are through a command line utility called httpcfg.exe. I found this wonderful little application included with this package.

Balki: God of the Sheep Herders
Balki: God of the Sheep Herders

To get things working properly I learned first that shutting down the IIS service and reconfiguring it at the command line with the GUI for IIS still open will lead you down a road of pain.

After that all I had to do was add the right IPs that I wanted IIS to use, and run that little line:
cscript adsutil.vbs set /smtpsvc/1/DisableSocketPooling true

A swift reboot sealed the deal and all appears well now.

Next time

I think if I ran in to this sort of project in the future, I’d push to run with a Linode or something. The way I’ve got it going now works fine and we’ll continue on from there. But my suggestion is avoid running IIS period. If you have to use it, then try to keep it on it’s own machine. If you must run Apache with it, you can, just expect a Windows Update to eventually break everything and make you go become a sheep herder.

OpenMoko Emulator

Hey gang, for those interested, I found on the openmoko website this awesome little file you can download, extract and quickly use to get the OpenMoko firmware to boot up in QEMU. So those who are interested in checking this phone out can get a slight sample of it this way. What I like about it is that I can begin developing for the project without having to own one!

The Emulator package is here

The Wiki page with more info on this is here

Have fun!!