Running TempleOS on a T60 (WIP Guide)
NOTE: Reddit user /u/AssociateHealthy6071 found issues with writing the TempleOS ISO on Windows, with the final disk not being bootable. If you have this issue, please try writing the ISO on a Linux system if possible.
DISCLAIMER: I do not condone any of the statements made by Terry A. Davis. I find the operating system he created very interesting from a technical point of view, and find it fun to play with. He was very mentally ill, and must be viewed and judged with that in mind.
Pic of it running
This is going to be a basic guide to running TempleOS on real hardware, specifically a T60 ThinkPad. I've seen a video showing TempleOS running on a T60, but the video featured no details on how to get it running, which led to some frustration. I decided to make this guide to help others. I am not responsible for any damage to your machine or your data, you are doing this at your own risk. You should not use a T60 for this if you have literally anything on it that you don't want to lose, or if it's important to you.
This guide is written for the last version of TempleOS released, as of 2020-07-30. There is unlikely to ever be any changes due to Terry's death.
If you have any issues with the steps in the guide, feel free to email me at email@example.com, and I'll try my best to give you a hand. I apologize for any spelling mistakes, this was thrown together in one sitting. Feel free to email me for any major corrections.
System Requirements/System Used
- T60 type 2007 (Dell XPS M1530 found to work too with this guide)
- AHCI Enabled in the BIOS (suprisingly)
- CPU: Core 2 Duo (T7200)
- GPU: ATI Mobility Radeon X1400 (Integrated graphics should be just fine)
- Optical drive of some sort, as long as it has CD support
- RAM: 2GB (any amount should be fine, just need enough to boot into a modern Linux distro. 512MB and up should be good)
Literally everything that Terry A. Davis wrote into the OS. The graphics and sound both work beautifully (sound can be controlled with the volume buttons on the T60), and both the trackpad and TrackPoint work fine for mouse controls. There's obviously no power management, so don't throw it into a bag without powering it off fully.
- Firstly, download the latest TempleOS ISO from here. Then, burn it to a CD or DVD. On Linux, I like to use Brasero, on Windows the built-in ISO burner is fine. You might need to rename the end from .ISO to .iso in order for the software to find it.
- For installation, you're going to need to make a basic Linux install disk, Ubuntu works, but I used the Arch install medium due to quick boot time. The T60 can boot from either USB or disk, whatever is more convenient for you is fine. Not going to show how to do this, guides are aplenty online.
- In order to boot into your Linux medium, press F12 upon startup, then choose your disk (either your USB device or the optical drive).
Get to a terminal. If you use the Arch install disk, you're there, on Ubuntu just boot into the live environment and open up a terminal. At the terminal, type "lspci -v | grep "SATA" -A 7" and press enter.
You should see something similar to this:
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [AHCI mode] (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: Lenovo ThinkPad R60/T60/X60 series
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 29
I/O ports at 18c8 [size=8]
I/O ports at 18ac [size=4]
I/O ports at 18c0 [size=8]
I/O ports at 18a8 [size=4]
I/O ports at 18b0 [size=16]
Write down or take a picture of all of those I/O port values, you'll need them during the TempleOS install. You are now done with Linux.
Reboot the machine, and insert your TempleOS CD. Press F12 same as before to boot from the CD. It should immediately boot into the TempleOS live CD.
At the prompt asking to install it on the HD, press y and press enter.
When asked if installing in a virtual machine, press n and enter.
When asked to continue with the wizard, y and enter. Then press a key when asked.
Now, pull out those I/O port numbers from earlier. This is the most frustrating part of the install. You're going to have to try them somewhat randomly. You're going to specifically need the hex number (18c8 for example). For my machine, the 2 I needed were the two size=8 numbers, 18c8, and 18c0. Your machine will probably differ unless you have very similar specs.
At the prompt for "Hard Drive I/O Port Base0:", enter your first number, preceded by "0x". The 0x is very important.
At the prompt for "Hard Drive I/O Port Base1:", enter your second number, also preceded by 0x.
At the master slave prompt, enter 0 for master.
At the prompt for "Destination Partition Letter:", enter C.
When asked to format, hit y. (ALL DATA ON YOUR HARD DRIVE WILL BE LOST!!!)
When asked for what file system to use, enter 2, for the RedSea file system.
Here, it'll either say "Zeroing" and have a big bar across the screen, or you'll be dropped to a T:/Home> prompt. If you get the Zeroing message, congrats, your IO port configuration was correct. If not, you'll need to try again. To do this, at the T:/Home> prompt, enter "#include "Once"; " and press enter. This will restart the install program. Do the same as before, up until step 10. For steps 10 and 11, try a different number grouping. I would first try grouping the different sizes together (the two size=8s, the two size=4s, etc.). For my machine, the 2 size=8 addresses were correct.
Assuming you found a working pair of addresses, it'll begin installing, and it will ask "Install Master Boot loader?". Enter y.
When asked to reboot, press y, and as it's restarting eject your CD. At the "TempleOS Boot Loader" screen, go ahead and type 1.
Congratulations! You've now installed and booted TempleOS on real hardware. Once the desktop fully compiles, it'll ask you if you want to take a tour, and there you go. All done.