<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="generator" content="TempleOS V5.03"> <link rel="stylesheet" href="/style/templeos.css"> <script src="/script/templeos.js"></script> <style type="text/css"> .cF0{color:#000000;background-color:#ffffff;} .cF1{color:#0000aa;background-color:#ffffff;} .cF2{color:#00aa00;background-color:#ffffff;} .cF3{color:#00aaaa;background-color:#ffffff;} .cF4{color:#aa0000;background-color:#ffffff;} .cF5{color:#aa00aa;background-color:#ffffff;} .cF6{color:#aa5500;background-color:#ffffff;} .cF7{color:#aaaaaa;background-color:#ffffff;} .cF8{color:#555555;background-color:#ffffff;} .cF9{color:#5555ff;background-color:#ffffff;} .cFA{color:#55ff55;background-color:#ffffff;} .cFB{color:#55ffff;background-color:#ffffff;} .cFC{color:#ff5555;background-color:#ffffff;} .cFD{color:#ff55ff;background-color:#ffffff;} .cFE{color:#ffff55;background-color:#ffffff;} .cFF{color:#ffffff;background-color:#ffffff;} </style> </head> <body> <pre style="font-family:courier;font-size:10pt"> <a name="l1"></a><span class=cF5> Installing TempleOS</span><span class=cF0> <a name="l2"></a> <a name="l3"></a>Burn a CD with software that supports ISO files. Then, boot it. It's a live <a name="l4"></a>CD, so you can look around with or without installing. <a name="l5"></a> <a name="l6"></a>Dual booting with another operating system is the best way to use TempleOS. I <a name="l7"></a>only use it in a virtual machine because it won't boot natively on my machine, <a name="l8"></a>though. For native dual booting, you need a partition for TempleOS. Windows <a name="l9"></a>often comes with a restore disk that does not allow repartitioning. I recommend <a name="l10"></a>connecting a spare additional hard drive and using the </span><span class=cF2>BIOS</span><span class=cF0> to select which <a name="l11"></a>drive to boot. <a name="l12"></a> <a name="l13"></a>The </span><a href="/src/Misc/OSInstall.HC#l1"><span class=cF4>::/Misc/OSInstall.HC</span></a><span class=cF0> script will automate much of this. It runs if you boot <a name="l14"></a>the CD/DVD-ROM. <a name="l15"></a> <a name="l16"></a>See </span><a href="/src/Doc/Boot.DD.HTML#l1"><span class=cF4>Boot.DD</span></a><span class=cF0> for an overview of booting. See </span><a href="/src/Doc/Requirements.DD.HTML#l1"><span class=cF4>Requirements</span></a><span class=cF0> for supported <a name="l17"></a>hardware. <a name="l18"></a> <a name="l19"></a>Two TempleOS partitions are highly recommended, so you can boot to a back-up and <a name="l20"></a>fix the primary when you work on it. Odds are, you only need a couple gigabytes <a name="l21"></a>for your TempleOS partitions. <a name="l22"></a> <a name="l23"></a>1) <a name="l24"></a></span><span class=cF4> </span><a href="/src/Adam/ABlkDev/Mount.HC#l138"><span class=cF4>Mount</span></a><span class=cF0>() use if the drive is partitioned. <a name="l25"></a> This command mounts a drive making it accessible. For simplicity, sel </span><span class=cF2>'C'</span><span class=cF0> <a name="l26"></a> as the first drive letter for your hard drive. The first partition will be </span><span class=cF2> <a name="l27"></a> 'C'</span><span class=cF0>, second, </span><span class=cF2>'D'</span><span class=cF0>, etc. TempleOS needs 3 numbers to utilize a hard drive -- <a name="l28"></a> base0, base1, and unit. When you enter a hexadecimal number, do it like in </span><span class=cF2> <a name="l29"></a> C</span><span class=cF0> with a </span><span class=cF2>0x</span><span class=cF0> prefix. If the probe was successful, you can just enter the <a name="l30"></a> number in the probe box instead of base0. <a name="l31"></a> </span><span class=cF4> <a name="l32"></a> </span><a href="/src/Adam/ABlkDev/DskPrt.HC#l13"><span class=cF4>DskPrt</span></a><span class=cF0>(</span><span class=cF2>'C'</span><span class=cF0>) use if drive is not partitioned <a name="l33"></a> <a name="l34"></a> This will perform a special </span><a href="/src/Adam/ABlkDev/Mount.HC#l138"><span class=cF4>Mount</span></a><span class=cF0>() automatically. <a name="l35"></a> <a name="l36"></a> <blink>WARNING:</blink> This command erases everything on a hard drive. It repartitions a <a name="l37"></a> whole drive and formats the partitions. This command should be skipped if <a name="l38"></a> you already have your hard drive partitioned. <a name="l39"></a> <a name="l40"></a> <a name="l41"></a> <blink>WARNING:</blink> This command doesn't play well with other operating systems. <a name="l42"></a> You'll need to do a </span><a href="/src/Adam/Opt/Boot/BootMHDIns.HC#l52"><span class=cF4>BootMHDZero</span></a><span class=cF0>() to restore your drive to a state where <a name="l43"></a> other operating systems can partition it. <a name="l44"></a> <a name="l45"></a>2) </span><a href="/src/Kernel/BlkDev/DskFmt.HC#l55"><span class=cF4>Fmt</span></a><span class=cF0>(</span><span class=cF2>'D'</span><span class=cF0>,</span><span class=cF2>TRUE,FALSE,FSt_FAT32</span><span class=cF0>) <a name="l46"></a> This command formats a drive with </span><span class=cF2>FAT32</span><span class=cF0> or the </span><a href="/src/Doc/RedSea.DD.HTML#l1"><span class=cF4>RedSea</span></a><span class=cF0> file system type. Use <a name="l47"></a> the drive letter of the partition in place of </span><span class=cF2>'D'</span><span class=cF0>. <a name="l48"></a> <a name="l49"></a> <blink>WARNING:</blink> If you are upgrading, be sure not to lose the file, </span><span class=cF2>/0000Boot/OldMBR <a name="l50"></a> .BIN.C</span><span class=cF0>. <a name="l51"></a> <a name="l52"></a>3) </span><a href="/src/Adam/ABlkDev/ADskA.HC#l122"><span class=cF4>CopyTree</span></a><span class=cF0>(</span><span class=cF2>"T:/"</span><span class=cF0>,</span><span class=cF2>"D:/"</span><span class=cF0>) <a name="l53"></a> This command is used to copy files onto a hard drive partition from the <a name="l54"></a> CD/DVD. Use the drive letter of the partition in place of </span><span class=cF2>'D'</span><span class=cF0>. <a name="l55"></a> <a name="l56"></a>4) </span><a href="/src/Adam/Opt/Boot/BootHDIns.HC#l18"><span class=cF4>BootHDIns</span></a><span class=cF0>(</span><span class=cF2>'D'</span><span class=cF0>) <a name="l57"></a> This command recompiles the source code on a drive and writes to the <u>drive's</u> <a name="l58"></a> boot record. You'll need to reenter the </span><a href="/src/Adam/ABlkDev/Mount.HC#l138"><span class=cF4>Mount</span></a><span class=cF0> information so it can be stored <a name="l59"></a> in the kernel. <a name="l60"></a> <a name="l61"></a>5) Use Linux's Grub or TempleOS' </span><a href="/src/Adam/Opt/Boot/BootMHDIns.HC#l69"><span class=cF4>BootMHDIns</span></a><span class=cF0>(</span><span class=cF2>'D'</span><span class=cF0>) <a name="l62"></a> <a name="l63"></a> The </span><a href="/src/Adam/Opt/Boot/BootMHDIns.HC#l69"><span class=cF4>BootMHDIns</span></a><span class=cF0>() command places a boot loader on a drive. It saves the old <a name="l64"></a> master boot record to </span><span class=cF2>/0000Boot/OldMBR.BIN.C</span><span class=cF0> and replaces it. When you boot, <a name="l65"></a> you will have the option of booting the old master boot record. This command <a name="l66"></a> can be skipped if you already have a boot loader. Be sure not to lose the <a name="l67"></a> copy of the old boot record, like if you reformat the drive. <a name="l68"></a> <a name="l69"></a> Delete </span><span class=cF2>/0000Boot/OldMBR.BIN.C</span><span class=cF0> if you want to get a fresh copy of a mbr, like <a name="l70"></a> if installing from your own custom CD containing it's own </span><span class=cF2>/0000Boot/OldMBR.BIN <a name="l71"></a> .C</span><span class=cF0> onto a system with a non-TempleOS boot loader. <a name="l72"></a> <a name="l73"></a> If you have anti-virus software, it might object to having a different master <a name="l74"></a> boot record. <a name="l75"></a> <a name="l76"></a></span><span class=cF8> <a name="l77"></a>* "Windows" is a trademark owned by MicroSoft Corp. <a name="l78"></a>* "Linux" is a trademark owned by Linus Torvalds. <a name="l79"></a></span></pre></body> </html>