Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 2.19 KB

README.md

File metadata and controls

49 lines (34 loc) · 2.19 KB

templeos-utils

TempleOS utils

A set of basic linux utilities for running TempleOS and mounting the image locally for:

  • qemu
  • Virtual Box

To help avoid disk or file corruption don't run the virtual macine with the drives mounted:

  • unmount before starting your virtual machine.
  • Stop your virtual machine before mounting.

Once the drives are mounted you can copy files to and from their drive with standard cp i.e
cp -r /mnt/vtosee_diskd/* localcopy
Will copy every thing from the TempleOS d drive into a local folder called localcopy (which will need to exist before copying).
or
cp localcopy/Home/MyCode.HC /mnt/vtosee_diskd/Home
Will copy a local file onto the TempleOS d drive

or after running a DoDistro.HC
cp /mnt/vtosee_diskd/Tmp/MyDistro.OSO.C MyDistro.iso

For the q-backup* scripts there is no corrosponding restore (I haven't needed one yet), but it pleases me to know they are backed up.

After probing and before mounting you can reformat a partition with
sudo modprobe nbd max_part=16
sudo qemu-nbd -c /dev/nbd0 ~/tos_disk.qcow2
sudo partprobe /dev/nbd0
(be careful, make sure you have the correct /dev/ as things can go wrong if you don't) /dev/nbd0p2 is the d drive
sudo mkfs -t vfat /dev/nbd0p2

Contributions are welcome either do a pull request or an issue ticket.

Other useful utilities

TinkerOS USB Boot
redseafs
TempleOS programs in Linux user-space, part 1
TempleOS programs in Linux user-space, part 2
TempleOS programs in Linux user-space, part 3
HolyC-for-Linux
HolyC Port to Windows, Linux, BSD

These are companion utilities for TempleOS and should be usable far any flavour

See the main TempleOS-EE main project