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

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.

2. Fetch the sources from CVS:

  % cd /path/to
  % cvs -z3 -d :pserver:anonymous:anonymous@common-lisp.net:/project/movitz/cvsroot co movitz
  % cvs -z3 -d :pserver:anonymous:anonymous@common-lisp.net:/project/movitz/cvsroot co binary-types
  % cvs -z3 -d :pserver:anonymous:anonymous@common-lisp.net:/project/movitz/cvsroot co ia-x86

2.5 Don't you need infunix as well from  http://www.cs.uit.no/~frodef/sw/? A: not really, infunix is a mostly obsolete debugging package.

3. Load the Movitz (development) system into your lisp: (load "/path/to/movitz/load.lisp")

4. 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.

5. 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?