hn-classics/_stories/2003/11009558.md

24 KiB

created_at title url author points story_text comment_text num_comments story_id story_title story_url parent_id created_at_i _tags objectID year
2016-02-01T03:34:11.000Z Turn your PC upside down to boot into Linux (2003) http://www.mini-itx.com/projects/windowsxpbox/?page=4 PascLeRasc 176 67 1454297651
story
author_PascLeRasc
story_11009558
11009558 2003

Source

mini-itx.com - projects - windows xp box.. so good they slashdotted it twice...

| ----- | |

| | | | | | | | | | | | | | | | Enter the Mini-ITX.com online store |
|

|

|

|

| Project Browser |

| | | |

|

September 05, 2017
Choosing the right DC-DC PSU

August 27, 2015
AMD's Project Quantum

August 13, 2015
The Redstone PC is the ultimate Mini-ITX Minecraft Machine

October 09, 2014
The "Restomod TV"

April 09, 2013
Installing NAS4Free

February 28, 2013
Building an XBMC 12 Home Theatre PC

January 25, 2011
XBMC Guide updated to version 10.0

August 06, 2010
Building a Green PC

February 15, 2010
Building an ION powered HTPC with XBMC

October 10, 2008
The "Cambridge Autonomous Underwater Vehicle 2008"

|

|

| | |

|

Mini-ITX Online Store

|

| | | |

|

September 12, 2008
"Florian", the DVD burning robot

September 05, 2008
The "i-EPIA"

May 22, 2008
The "GTA-PC"

April 14, 2007
The "Digg" Case

January 19, 2007
The "ITX-Laptop"

December 07, 2006
The "Tortoise Beetle"

October 02, 2006
The "DOS Head Unit"

August 31, 2006
The "Janus Project"

August 05, 2006
The "Leela PC"

June 26, 2006
Nano-ITX in a Football

May 17, 2006
The "EPIA Alloy Mod"

April 11, 2006
Neatorama's Collection of Case Mods

February 18, 2006
The "Rundfunker"

October 24, 2005
The "ITX TV"

October 06, 2005
The K'nex-ITX

August 05, 2005
The "Waffle Iron PC"

July 21, 2005
The "Supra-Server"

July 18, 2005
The "Mega-ITX"

July 07, 2005
The "Encyclomedia"

May 25, 2005
The "Accordion ITX"

|

|

| | |

|

Mini-ITX Online Store

|

| | | |

|

May 16, 2005
The "FileServerRouterSwitch"

May 15, 2005
The "Mini Falcon"

May 13, 2005
The "Bender PC"

May 11, 2005
The "BBC ITX B"

May 10, 2005
The "Frame"

April 20, 2005
The "Jeannie"

March 09, 2005
The "Cool Cube"

January 30, 2005
First Nano-ITX Project?

January 17, 2005
The "iGrill"

January 15, 2005
The "Gumball PC"

December 15, 2004
The "Deco Box"

December 03, 2004
The "TERA-ITX"

October 06, 2004
The "Coealacanth-PC"

September 17, 2004
The "Gramaphone-ITX-HD"

August 26, 2004
The "C1541 Disk Drive ITX"

August 25, 2004
The "SEGA-ITX"

August 13, 2004
The "Quiet Cubid"

August 06, 2004
The "BMWPC"

July 14, 2004
The "Moo Cow Moo"

July 02, 2004
The "Mini Mesh Box"

Full alphabetical archive on right hand side of page...

|

|

|

|

The "Windows XP Box"

| ----- | | By Andy France
Posted on 1 December 2003 | Jump to: Introduction The Back Panel The Motherboard Finishing Touches |

And from the right to show the CPU fan and prove there are no unsightly bulges:

| ----- | |

| Click image to magnify
|

|

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.

| ----- | |

| Click image to magnify
|

|

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.

| ----- | |

| Click image to magnify
|

|

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.

| ----- | |

| Click image to magnify
|

|

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 .....

| ----- | |

| Click image to magnify
|

|

... and Red Hat Linux 9 running in a Red Hat Linux box.

| ----- | |

| Click image to magnify
|

|

| ----- | |

<-- Back to Mini-ITX.com

|

|

| ----- | | Board Finder |
| Case Finder | | | Mini PC Finder |

| ----- | |

|

| Quick Links |

| | | |

| Mini-ITX Online Store

Mailing Lists:
Mini-ITX Store

Mini-ITX 101
Mini-ITX History
Advertising

Projects:

Show Random
How to submit
your project

Most Viewed Today

ITX-Laptop

Mini-Cluster

Windows XP Box

NESPC

XBMC-ION

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

How to submit
your project

Reviews:
CF-S688 E-Note
Cubid 2677R
Cubid 2688R
Cubid 3688
GAlantic GA610i
Hush Mini-ITX
Lian Li PC-402A
Jetway B860T
VIA M 10000
VIA MII 12000
VIA Nano-ITX
VIA Pico-ITX
Sigma XCard
Travla C137

Guides & Tips:
5.1 EPIA Audio
Cubid Tips
EPIA CL Firewall
EPIA COM IR
EPIA SCART
Extra USB Ports
IPCop Gateway
Overclocking
PowerLCD

Drivers:
EPIA  EPIA V
EPIA M  EPIA MII
EPIA CL  EPIA PD
EPIA TC
.

Mini-ITX Online Store

|

| | |

|

|

| ----- | | | |

|

Contact Us

Store: +44 (0) 845 475 8 475

Store enquiries: store@mini-itx.com

Other enquiries: feedback@mini-itx.com

|

Visit the Store

Click here to enter the online store

|

Social

Follow us on Twitter!

Join our Mailing List

|

| |

Copyright: All content on this site is Copyright © 2002-2018 Mini-ITX.com and respective owners, all rights reserved.

|

|

|