hschumann2/TempleOS-Source-Code
0838
1 2 Installing TempleOS3 4Burn a CD with software that supports ISO files. Then, boot it. It's a live5CD, so you can look around with or without installing.6 7Dual booting with another operating system is the best way to use TempleOS. I8only use it in a virtual machine because it won't boot natively on my machine,9though. For native dual booting, you need a partition for TempleOS. Windows10often comes with a restore disk that does not allow repartitioning. I recommend11connecting a spare additional hard drive and using the BIOS to select which12drive to boot.13 14The ::/Misc/OSInstall.HC script will automate much of this. It runs if you boot15the CD/DVD-ROM.16 17See Boot.DD for an overview of booting. See Requirements for supported18hardware. See Upgrading if you are upgrading.19 20Two TempleOS partitions are highly recommended, so you can boot to a back-up and21fix the primary when you work on it. Odds are, you only need a couple gigabytes22for your TempleOS partitions.23 241)25 Mount() use if the drive is partitioned.26 This command mounts a drive making it accessible. For simplicity, sel 'C'27 as the first drive letter for your hard drive. The first partition will be28 'C', second, 'D', etc. TempleOS needs 3 numbers to utilize a hard drive --29 base0, base1, and unit. When you enter a hexadecimal number, do it like in30 C with a 0x prefix. If the probe was successful, you can just enter the31 number in the probe box instead of base0.32 33 DskPrt('C') use if drive is not partitioned34 35 This will perform a special Mount() automatically.36 37 WARNING: This command erases everything on a hard drive. It repartitions a38 whole drive and formats the partitions. This command should be skipped if39 you already have your hard drive partitioned.40 41 42 WARNING: This command doesn't play well with other operating systems.43 You'll need to do a BootMHDZero() to restore your drive to a state where44 other operating systems can partition it.45 462) Fmt('D',TRUE,FALSE,FSt_FAT32)47 This command formats a drive with FAT32 or the RedSea file system type. Use48 the drive letter of the partition in place of 'D'.49 50 WARNING: If you are upgrading, be sure not to lose the file, /0000Boot/OldMBR51 .BIN.C.52 533) CopyTree("T:/","D:/")54 This command is used to copy files onto a hard drive partition from the55 CD/DVD. Use the drive letter of the partition in place of 'D'.56 574) BootHDIns('D')58 This command recompiles the source code on a drive and writes to the drive's59 boot record. You'll need to reenter the Mount information so it can be stored60 in the kernel.61 625) Use Linux's Grub or TempleOS' BootMHDIns('D')63 64 The BootMHDIns() command places a boot loader on a drive. It saves the old65 master boot record to /0000Boot/OldMBR.BIN.C and replaces it. When you boot,66 you will have the option of booting the old master boot record. This command67 can be skipped if you already have a boot loader. Be sure not to lose the68 copy of the old boot record, like if you reformat the drive.69 70 Delete /0000Boot/OldMBR.BIN.C if you want to get a fresh copy of a mbr, like71 if installing from your own custom CD containing it's own /0000Boot/OldMBR.BIN72 .C onto a system with a non-TempleOS boot loader.73 74 If you have anti-virus software, it might object to having a different master75 boot record.76 77 78* "Windows" is a trademark owned by MicroSoft Corp.79* "Linux" is a trademark owned by Linus Torvalds.80 