Posted on December 1, 2003
And from the right to show the CPU fan and prove there are no unsightly bulges:
Finally the ultra low profile memory I was waiting for arrived and so at last I had Windows XP running inside my "Windows XP Box", and one of the most compact Mini-ITX projects ever. The cooling solution with two case fans and a ducted CPU fan works like a dream and is both quiet and effective. So far it has shown no tendency to burst into flames.
Finishing Touches
Windows XP is fine, but sometimes it's nice to be able to run Linux too. A dual boot system is the obvious solution, but it could provoke attack if I had Linux running in my "Windows XP Box". The only solution was to take a Linux boxed distribution and cut it to fit the support case to make a "Linux Box". There is a definite lack of industry standardisation in software distribution boxes. I was able to find a Red Hat Linux 9 boxed distribution that was 4mm narrower than my XP box, but obviously this was not usable as I had no room to spare and needed something the same size or bigger. But not too big as it would look silly to put the tiny support case into one of the massively wide Linux boxes that comes with dozens of manuals. In the end I was given an old Linux 7.1 box that was 15mm wider than the Windows XP box but otherwise the same depth and width. I used some roughly cut bits of Wonderboard to make packing pieces that would fit inside the Linux box on either side of the support case, and then cut the box to fit the support case.
The problem now was that I ran the risk of accidentally booting Linux from the "Windows XP Box" or even worse, booting Windows from the "Linux Box". That would not be good. It needed to be fool proof.
The solution is already visible in the picture of the Linux Box. It is cut for the inner support case orientated upside down from the way it is in the "Windows XP Box" (hint: the CD drive is at the bottom instead of the top).
In order to detect which way up the box is I built a little detector module. This is made out of a tilt switch and a resistor soldered on to a 10 pin IDC plug. This fits onto the internal serial port COM2 header on the Mini-ITX board just behind the parallel port connector. The resistor connects between the serial port DTR (Data Terminal Ready) output pin and the CTS (Clear To Send) input pin. The tilt switch connects between CTS and the serial port ground pin. By programming DTR high I can read the state of the tilt switch directly from the CTS line. It's a very small assembly so this photograph doesn't help much.
The final step was to take an assembly language MBR boot loader program and modify it to read the state of the tilt switch and make it boot the partition containing Windows XP or the partition containing Linux. To those that don't know the secret of how it works it looks like magic. It boots the right O/S for the box it is in.
So here we have it, Windows XP Professional running in a Windows XP Professional box .....
... and Red Hat Linux 9 running in a Red Hat Linux box.
Quick Links
Mailing Lists:
Mini-ITX Store
Projects:
Show Random
Accordion-ITX
Aircraft Carrier
Ambulator 1
AMD Case
Ammo Box
Ammo Tux
AmmoLAN
amPC
Animal SNES
Atari 800 ITX
Attache Server
Aunt Hagar's Mini-ITX
Bantam PC
BBC ITX B
Bender PC
Biscuit Tin PC
Blue Plate
BlueBox
BMW PC
Borg Appliance
Briefcase PC
Bubbacomp
C1541 Disk Drive
C64 @ 933MHz
CardboardCube
CAUV 2008
CBM ITX-64
Coelacanth-PC
Cool Cube
Deco Box
Devilcat
DOS Head Unit
Dreamcast PC
E.T.PC
Eden VAX
EdenStation IPX
Encyclomedia
Falcon-ITX
Florian
Frame
FS-RouterSwitch
G4 Cube PC
GasCan PC
Gingerbread
Gramaphone-ITX-HD
GTA-PC
Guitar PC
Guitar Workstation
Gumball PC
Hirschmann
HTPC
HTPC2
Humidor 64
Humidor CL
Humidor II
Humidor M
Humidor PC
Humidor V
I.C.E. Unit
i64XBOX
i-EPIA
iGrill
ITX Helmet
ITX TV
ITX-Laptop
Jeannie
Jukebox ITX
KiSA 444
K'nex ITX
Leela PC
Lego 0933 PC
Legobox
Log Cabin PC
Lunchbox PC
Mac-ITX
Manga Doll
Mantle Radio
Mediabox
Mega-ITX
Micro TV
Mini Falcon
Mini Mesh Box
Mini-Cluster
Mobile-BlackBox
Moo Cow Moo
Mr OMNI
NAS4Free
NESPC
OpenELEC
Osh Kosh
Pet ITX
Pictureframe PC
Playstation 2 PC
Playstation PC
Project NFF
PSU PC
Quiet Cubid
R2D2PC
Racing The Light
RadioSphere
Restomod TV
Robotica 2003
Rundfunker
SaturnPC
S-CUBE
SEGA-ITX
SpaceCase
SpacePanel
Spartan Bluebird
Spider Case
Supra-Server
Teddybear
Telefunken 2003
TERA-ITX
The Clock
ToAsTOr
Tortoise Beetle
Tux Server
Underwood No.5
Waffle Iron PC
Windows XP Box
Wraith SE/30
XBMC-ION