Installing ZealOS
Burn a CD with software that supports ISO files. Then, boot it. It's a live CD, so you can look around with or without
installing.
Dual booting with another operating system is the best way to use ZealOS. It is often used in a virtual machine because it
won't boot natively on some machines, though. For native dual booting, you need a partition for ZealOS. Windows often
comes with a restore disk that does not allow repartitioning. It's recommended to connect a spare additional hard drive and
use the BIOS to select which drive to boot.
The ::/Misc/OSInstall.ZC script will automate much of this. It runs if you boot the CD/DVD-ROM.
See Boot.DD for an overview of booting. See Requirements for supported hardware.
Two ZealOS partitions are highly recommended, so you can boot to a back-up and fix the primary when you work on it. Odds are,
you only need a couple gigabytes for your ZealOS partitions.
1)
Mount() use if the drive is partitioned.
This command mounts a drive making it accessible. For simplicity, sel 'C' as the first drive letter for your hard drive.
The first partition will be 'C', second, 'D', etc. ZealOS needs only 1 number to utilize a hard drive -- port.
DiskPart('C') use if drive is not partitioned
This will perform a special Mount() automatically.
This command erases everything on a hard drive. It repartitions a whole drive and formats the partitions. Th
is command should be skipped if you already have your hard drive partitioned.
This command doesn't play well with other operating systems. You'll need to do a BootMHDZero() to restore
your drive to a state where other operating systems can partition it.
2) Format('D', TRUE, FALSE, FSt_FAT32)
This command formats a drive with FAT32 or the RedSea file system type. Use the drive letter of the partition in place of
'D'.
If you are upgrading, be sure not to lose the file, /Boot/OldMBR.BIN.
3) CopyTree("T:/", "D:/")
This command is used to copy files onto a hard drive partition from the CD/DVD. Use the drive letter of the partition in
place of 'D'.
4) BootHDIns('D')
This command recompiles the source code on a drive and writes to the drive's boot record. You'll need to reenter the Mount
information so it can be stored in the kernel.
5) Use Linux's Grub or ZealOS' BootMHDIns('D')
The BootMHDIns() command places a boot loader on a drive. It saves the old master boot record to /Boot/OldMBR.BIN and
replaces it. When you boot, you will have the option of booting the old master boot record. This command can be skipped if
you already have a boot loader. Be sure not to lose the copy of the old boot record, like if you reformat the drive.
Delete /Boot/OldMBR.BIN if you want to get a fresh copy of a mbr, like if installing from your own custom CD containing it's
own /Boot/OldMBR.BIN onto a system with a non-ZealOS boot loader.
If you have anti-virus software, it might object to having a different master boot record.
* "Windows" is a trademark owned by MicroSoft Corp.
* "Linux" is a trademark owned by Linus Torvalds.