close Warning: Can't synchronize with repository "(default)" (/project/movitz/svn does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 6 (modified by rpgoldman@…, 10 years ago) (diff)

Added a question about how to boot Movitz without a floppy

How to create a kernel image

These are instructions on the basic steps required to build a bootable kernel image file.

  1. You need a working implementation of ANSI Common Lisp, and basic knowledge of how to operate it. Implementations known to work well are SBCL, Allegro, and (less frequently tested) CMUCL and CLisp. But in theory any ANSI CL should suffice.
  1. Fetch the sources from CVS:
      % cd /path/to
      % cvs -z3 -d co movitz
      % cvs -z3 -d co binary-types
      % cvs -z3 -d co ia-x86

2.5 Don't you need infunix as well from A: not really, infunix is a mostly obsolete debugging package.

  1. Load the Movitz (development) system into your lisp: (load "/path/to/movitz/load.lisp")
  1. Create a SymbolicImage: (movitz:create-image :init-file "/path/to/movitz/losp/los0.lisp")

Note: Using SBCL some users have found that ":init-file" was not recognized. If in the movitz directory they found that (movitz:create-image) worked.

  1. Create a BootableFileImage: (movitz:dump-image :path "foo.img")

Now, if all goes well, "foo.img" should be a freshly minted bootable image. For example, you can dump it to a floppy and have your PC boot from that.

Does anyone have instructions for installing the Movitz image into LILO or grub? Or, better yet, how we could use Movitz in an emulator like qemu?