Bare-Metal Installation Kit - Easily install TempleOS on bare-metal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alec Murphy 58eda26f4b Update README.md 4 days ago
Src Add files to repository 4 days ago
.gitignore Add .gitignore 4 days ago
Install.HC Add files to repository 4 days ago
LICENSE Initial commit 4 days ago
README.md Update README.md 4 days ago

README.md

bmik

Bare-Metal Installation Kit - Easily install TempleOS on bare-metal

Details

The goal for this project is to provide an easy way to create a hard disk image that can be booted on bare-metal hardware and QEMU seamlessly, to allow for transfer of files between PCs while developing software projects.

The intended usage is to create a disk image that can be copied to a hard disk mounted in a removable enclosure, and the hard disk transferred between the virtual environment and a bare-metal machine.

Usage

  • Create a raw disk image, at least large enough to hold 2*1G TempleOS RedSea partitions + partition table qemu-img create -f raw disk_img.raw 4G

  • qemu-system-x86_64 -drive format=raw,file=disk_img.raw -m 1024 -cdrom TempleOS.ISO -boot d

  • Run the VM install wizard, then re-run install wizard w/o VM option from each partition and choose RedSea format for each install

OR

  • Use the provided disk image disk_img.raw.xz which skips these steps for you.

THEN

  • Clone the repo, add files to bmik.ISO.C

  • qemu-system-x86_64 -drive format=raw,file=disk_img.raw -m 1024 -cdrom bmik.ISO.C

FINALLY, for each partition:

  • Mount the CDROM, if it is not mounted already Mount; - drive letter 'T', 'p' for probe, number '2' for Secondary IDE

  • Cd("T:"); #include "Install";

  • Enter your Primary/Secondary base0, base1 I/O ports from lspci -v

  • Reboot

Done

dd the resulting disk_img.raw to your target HDD, and you now have a TempleOS RedSea installation with 2 partitions, bootable on bare-metal and QEMU.