|Version 6 (modified by rpgoldman@…, 9 years ago) (diff)|
How to create a kernel image
These are instructions on the basic steps required to build a bootable kernel image file.
- 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.
- Fetch the sources from CVS:
% cd /path/to % cvs -z3 -d :pserver:anonymous:email@example.com:/project/movitz/cvsroot co movitz % cvs -z3 -d :pserver:anonymous:firstname.lastname@example.org:/project/movitz/cvsroot co binary-types % cvs -z3 -d :pserver:anonymous:email@example.com:/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.
- Load the Movitz (development) system into your lisp: (load "/path/to/movitz/load.lisp")
- 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.
- 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?