Manage and run multiple BasiliskII VMs.
Go to file
Morgan Aldridge 6e2f14b40f Added PayPal donation button to README 2019-01-31 03:29:01 -05:00
man Added initial manual in ronn, roff, and html formats (the latter two generated by ronn) 2019-01-29 23:58:52 -05:00
.ruby-gemset Add ronn & guard tools to automate building manuals 2019-01-29 23:57:40 -05:00
.ruby-version Add ronn & guard tools to automate building manuals 2019-01-29 23:57:40 -05:00
Gemfile Add ronn & guard tools to automate building manuals 2019-01-29 23:57:40 -05:00
Gemfile.lock Add ronn & guard tools to automate building manuals 2019-01-29 23:57:40 -05:00
Guardfile Add ronn & guard tools to automate building manuals 2019-01-29 23:57:40 -05:00
Makefile Added Makefile to install binary & man page 2019-01-30 00:23:14 -05:00
README.md Added PayPal donation button to README 2019-01-31 03:29:01 -05:00
basiliskiivm Fixed minor typos in usage instructions 2019-01-29 23:55:45 -05:00

README.md

basiliskiivm

by Morgan T. Aldridge morgant@makkintosshu.com

basiliskiivm on OpenHub Donate

OVERVIEW

basiliskiivm is a utility I tossed together to package up BasiliskII emulator (see Emaculation's wiki for further details) preferences & disk images into a single .BasiliskIIVM directory for each configuration to make it easier to manage, move, launch, and maintain multiple VMs. Think of it as the equivalent to VirtuaBox's VBoxManage, VMware Fusion's vmrun, or Parallels Desktop's prlctl.

USAGE

If you have already have a .BasiliskIIVM generated, you can launch it by running basiliskiivm start <vm_name>.BasiliskIIVM (replacing "<vm_name>" with the name of your BasiliskII VM name).

You can check whether a VM is already/still running by running basiliskiivm status <vm_name>.BasiliskIIVM. While there is a stop command, it currently just reminds you to safely shut the OS down using Special > Shutdown.

You can create snapshots of a VM by running basiliskiivm snapshot <vm_name>.BasiliskIIVM. This currently just creates date-stamped copies of all the disks in the VM, so it's not particularly efficient. You can view all snapshots by running basiliskiivm snapshots <vm_name>.BasiliskIIVM.

While not yet implemented, you will be able to package your existing BasiliskII configuration (for example, one you've configured & tested with BasiliskIIGUI) into a .BasiliskIIVM directory by running basiliskiivm package <vm_name>.BasiliskIIVM. This will take your ~/.basilisk_ii_prefs file, the ROM file, and disk images that are specified in it, and move them into the specified .BasiliskIIVM directory.

Run basiliskiivm -h for further usage instructions.

.BasiliskIIVM Structure

Each .BasiliskIIVM directory contains all the configuration settings & data (including disk images) needed to run BasiliskII. This makes it very easy to move, backup, or run multiple individual VMs. Each directory contains:

  • The BasiliskII .basilisk_ii_prefs preferences/configuration file.
  • A .basiliskii.pid file which exists & contains the PID of the active instance, when running.
  • The ROM file.
  • Any number of disk images.
  • If there are any snapshots, a Snapshots directory containing one folder per snapshot (named in the 'YYYYmmdd-HHMMSS' format). Inside each individual snapshot folder will be a copy of all the disk images at the time of the snapshot.

LICENSE

Copyright (c) 2016-2019, Morgan T. Aldridge. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.